GET
https://api.octopush.com/v1/public/campaign/parametersEncodage : UTF-8
Authentification
Vos identifiants « api-key » et « api-login » doivent être ajoutés dans les headers.
Définition
Permet de récupérer votre configuration par défaut pour vos campagnes de SMS.
Paramètres particuliers
Nom | Type | Description |
---|
Exemple Curl
curl -X GET \ 'https://api.octopush.com/v1/public/user/campaign-parameters' \ -H 'Content-Type: application/json' \ -H 'api-login: ******@email.org' \ -H 'api-key: ************' \ -H 'cache-control: no-cache' \
Code à copier-coller
curl -X GET 'https://api.octopush.com/v1/public/user/campaign-parameters' -H 'Content-Type: application/json' -H 'api-login: ******@email.org' -H 'api-key: ************' -H 'cache-control: no-cache'
Retour Server en json
Si succès : Status : 200 OK
{ "sms_campaign_alert_parameters": { "alert_type": "sms_premium", "alert_bound": 150, "alert_email_to": "[email protected]", "alert_phone_number_to": "+33611121314" }, "campaign_parameters": { "sender_for_sms_premium": "12345", "sender_for_voice_sms": "12345", "phone_number_for_test_sms": "+33611121314" }, "callbacks": { "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]" } }