Mailboxes

Release a quarantined message

Delivers a quarantined message into the thread it would have joined and publishes one `mailbox.message.released` event.

POST
/v1/mailboxes/{id}/messages/{messageId}/release

Delivers a quarantined message into the thread it would have joined and publishes one mailbox.message.released event. Releasing it again returns the same result and publishes nothing. Only a person can release; API keys never hold quarantine.release. Isolated (malware) messages and discarded messages cannot be released: 409.

x-api-key<token>

In: header

Path Parameters

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

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/mailboxes/string/messages/string/release"
{  "id": "string",  "disposition": "quarantined",  "reason": "spam",  "source": "receipt",  "from": {    "address": "string",    "name": "string"  },  "subject": "string",  "receivedAt": "string",  "heldAt": "string",  "releasedAt": "string",  "threadId": "string",  "discardedAt": "string"}

Related documentation