Mailboxes

List mailbox policies

Returns every send policy on a mailbox, oldest first.

GET
/v1/mailboxes/{id}/policies

Returns every send policy on a mailbox, oldest first. A mailbox holds at most 20 policies, so the list is never paged. Each enabled policy holds (requireApproval) or refuses (deny) every send from the mailbox; deny wins when both apply.

x-api-key<token>

In: header

Path Parameters

id*string
Match^mbx_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/mailboxes/string/policies"
{  "items": [    {      "id": "string",      "name": "string",      "outcome": "requireApproval",      "reason": "string",      "enabled": true,      "createdAt": "string",      "updatedAt": "string"    }  ]}

Related documentation