Mailboxes

List quarantined messages

List quarantined messages. View request and response details for this Samva email API endpoint.

GET
/v1/mailboxes/{id}/quarantine

Returns the messages this mailbox holds instead of delivering, most recently held first: suspected spam, phishing, fraud, or prompt injection (quarantined), and malware (isolated). Each is metadata only; a held message appears in no thread, search, or mailbox.message.received event until a person releases it. after and before filter by when the message was held. Needs quarantine.read.

x-api-key<token>

In: header

Path Parameters

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

Query Parameters

limit?string|null
cursor?CursorEncoded|null
after?string|null
before?string|null

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/quarantine"
{  "items": [    {      "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"    }  ],  "nextCursor": "string"}

Related documentation