Mailboxes

Replace a sending policy

Changed on

Sender, Reply-To and recipient restrictions intersect across team, inbox and credential policies. Requires an administrative connection: team.read/team.update for team policies, mailbox.admin.read/mailbox.admin.manage for inbox policies, or key.read/key.* for credential policies. Integration and mailbox keys cannot manage these policies.

put/mailbox-send-policies/{scope}/{public_id}

Request

  • Base URL: https://app.sendmux.ai/api/v1
  • URL: https://app.sendmux.ai/api/v1/mailbox-send-policies/{scope}/{public_id}
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.sendmux.ai/oauth/authorize, token URL https://app.sendmux.ai/oauth/token, scopes: team.update)
    • OAuth 2 (authorization code, authorization URL https://app.sendmux.ai/oauth/authorize, token URL https://app.sendmux.ai/oauth/token, scopes: mailbox.admin.manage)
    • OAuth 2 (authorization code, authorization URL https://app.sendmux.ai/oauth/authorize, token URL https://app.sendmux.ai/oauth/token, scopes: key.*)

Path parameters

scope'team' | 'mailbox' | 'api_key' | 'oauth_grant' | 'agent_registration' required

Policy level to read or replace.

public_idstring required

Public ID of the team, inbox, API key, connected-app grant or agent registration.

Headers

If-Matchstring required

Required exact ETag from the current policy. Wildcards are not accepted.

Idempotency-Keystring

Reuse with the same policy and ETag to replay a successful replacement.

Request body

Response

Current sending policy.

oktrue required

Example response

{
  "meta": {
    "request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
  }
}

Changes