Sign in

Update Account Settings

documented

Update settings for an Esendex account.

PUT /v1.0/accounts/{account_id}/settingsSMS APIno implementation yet0 runs
No 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.esendex.com/v1.0/accounts/{{$account_id}}/settings" \
  -X PUT \
  -H "Authorization: Basic {{ESENDEX_SECRET}}" \
  -H "Content-Type: application/xml" \
  -H "Accept: application/xml" \
  -d '<?xml version="1.0" encoding="utf-8"?>\n<accountsettings xmlns="http://api.esendex.com/ns/">\n  <concurrencyid>{{CONCURRENCY_ID}}</concurrencyid>\n  <outbound>\n    <defaultaliasenabled>{{DEFAULT_ALIAS_ENABLED}}</defaultaliasenabled>\n    <defaultalias>{{DEFAULT_ALIAS}}</defaultalias>\n    <defaultvalidity>{{DEFAULT_VALIDITY}}</defaultvalidity>\n  </outbound>\n  <autoresponse>\n    <enabled>{{AUTO_RESPONSE_ENABLED}}</enabled>\n    <message>{{AUTO_RESPONSE_MESSAGE}}</message>\n    <type>SMS</type>\n  </autoresponse>\n</accountsettings>'