Edit default parameters (POST)
documentedEdit default campaign parameters (POST).
POST /v1/public/campaign/parameters/editCampaign Parametersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.octopush.com/v1/public/user/campaign-parameters/edit" \
-X PATCH \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "api-key: {{OCTOPUSH_API_KEY}}" \
-H "api-login: {{OCTOPUSH_API_LOGIN}}" \
-d '{"sms_campaign_alert_parameters": {"alert_type": "{{$alert_type}}", "alert_bound": {{$alert_bound}}, "alert_email_to": "{{$alert_email_to}}", "alert_phone_number_to": "{{$alert_phone_number_to}}"}, "campaign_parameters": {"sender_for_sms_premium": "{{$sender_for_sms_premium}}", "sender_for_voice_sms": "{{$sender_for_voice_sms}}", "phone_number_for_test_sms": "{{$phone_number_for_test_sms}}"}, "callbacks": {"callback_url_for_inbounds": "{{$callback_url_for_inbounds}}", "callback_url_for_deliveries": "{{$callback_url_for_deliveries}}", "callback_url_for_blacklisted_numbers": "{{$callback_url_for_blacklisted_numbers}}", "callback_url_for_visits": "{{$callback_url_for_visits}}", "email_for_inbounds": "{{$email_for_inbounds}}"} }'