Mailboxes
Get a sending policy
Changed onSender, 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.
get/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.read)
- OAuth 2 (authorization code, authorization URL https://app.sendmux.ai/oauth/authorize, token URL https://app.sendmux.ai/oauth/token, scopes: mailbox.admin.read)
- OAuth 2 (authorization code, authorization URL https://app.sendmux.ai/oauth/authorize, token URL https://app.sendmux.ai/oauth/token, scopes: key.read)
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-None-Matchstring
Return 304 when this ETag still matches.
Response
Current sending policy.
Example response
{
"meta": {
"request_id": "req_clxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}Changes
- info
endpoint added
- info