Account information

GET
https://api.octopush.com/v1/public/subaccount/{****@sub-accounts.com}

Encoding : UTF-8

Authentication

Your “api-key” and “api-login” must be added in the headers.

Definition

This web service allows you to retrieve information from a sub-account.

Special parameters

NomTypeDescription

Curl Example

curl -X GET \ 
'https://api.octopush.com/v1/public/subaccount/{****@sub-accounts.com}' \ 
-H 'Content-Type: application/json' \ 
-H 'api-key: ************' \ 
-H 'api-login: ******@email.org' \ 
-H 'cache-control: no-cache' \ 

JSON Server Response

Success : 200 OK

{
  "first_name":"Leonardo",
  "last_name": "Da Vinci",
  "company_name": "Italy",
  "api_key": "*********************",
  "callback": {
    "url_inbound": "https://dns.com/call-back-url-1",
    "url_sms_delivery": "https://dns.com/call-back-url-2",
    "url_vocal_sms_delivery": null,
    "url_blacklisted": "https://dns.com/call-back-url-4",
    "email": "some_user@email.org"
  }
}