Mailboxes

Get a mailbox policy

Returns one send policy. Use this endpoint to get a mailbox policy through the Samva email API.

GET
/v1/mailboxes/{id}/policies/{policyId}

Returns one send policy.

x-api-key<token>

In: header

Path Parameters

id*string
Match^mbx_[0-9a-hjkmnp-tv-z]{16,24}$
policyId*string
Match^mbxpol_[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/string"
{  "id": "string",  "name": "string",  "outcome": "requireApproval",  "reason": "string",  "enabled": true,  "createdAt": "string",  "updatedAt": "string"}

Related documentation