Updating a sending account
PUT /sending-accounts changes the engagement rule, status and auto-enable flag on an existing address.
- FieldRule
team_idRequired by the schema but ignored. The team comes from your API key. Send any valid integer.engagement_rule_id0 to 4. Anything else returns 400.status_id0 to 8. 4 is Paused and 5 is Disabled.auto_enableRequired boolean. See below.
1. The auto_enable field
auto_enable is nullable in the schema but is required in practice. Sending null, or leaving the key out, returns 400 {"error": "Missing auto_enable parameter"}. Always send an explicit boolean.
auto_enable: true is only accepted on an account that is not currently active. Any status other than Paused or Disabled counts as active:
- status_idauto_enable: falseauto_enable: true
- 0, 1, 2, 3, 6, 7, 8200400 cannot turn on auto_enable on an active account
- 4 Paused, 5 Disabled200200
2. Changing a from-address
PUT /smtp-credentials is named for historical reasons. It does not store an SMTP host, username or password. What it does is remap an existing from-address to a new one, keeping the account and its history.
Returns 200 with an empty body. To test SMTP connectivity, use POST /test-smtp-configuration (section 8.3).
3. Removing an account
Returns 204. This is destructive and cannot be undone.
Was this page helpful?
