GET
https://api.octopush.com/v1/public/user/campaign-parametersEncoding : UTF-8
Authentication
Your “api-key” and “api-login” must be added in the headers.
Definition
Allows you to recover your default configuration for your SMS campaigns.
Special parameters
Name | Type | Description |
---|
Curl Example
curl -X GET \ 'https://api.octopush.com/v1/public/user/campaign-parameters' \ -H 'Content-Type: application/json' \ -H 'api-key: ************' \ -H 'api-login: ******@email.org' \ -H 'cache-control: no-cache' \
JSON Response
Success : 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]" ββ} }