GET
https://api.octopush.com/v1/public/subaccount/{****@sub-accounts.com}Codificación : UTF-8
Autentificación
Su “api-key” y “api-login” deben ser añadidos en las cabeceras.
Definición
Este servicio web permite recuperar información de una subcuenta.
Parámetros especiales
ningunEjemplo Curl
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' \
Respuesta Servidor en JSON
Success : 200 OK
{ "first_name":"Leonardo", "last_name": "Da Vinci", "company_name": "Italy", "api_key": "*********************", "callback": { "callback_url_for_inbounds": "https://mywebhook.dns/webhook-1", "callback_url_for_deliveries": "https://mywebhook.dns/webhook-2", "callback_url_for_blacklisted_numbers": "https://mywebhook.dns/webhook-3", "callback_url_for_visits": "https://mywebhook.dns/webhook-4", "email_for_inbounds": "[email protected]" } }