Mailboxes

Reply to a message

Replies to the message's Reply-To address, or its sender, in the same thread and from the thread's endpoint.

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

Replies to the message's Reply-To address, or its sender, in the same thread and from the thread's endpoint. The server sets the recipients, subject, and threading headers. The body's channel must match the thread's.

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}$

Header Parameters

idempotency-key?|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

channel?|null
cc?array<string>|null
bcc?array<string>|null
text?string|null
html?string|null
attachments?array<>|null

Response Body

application/json

application/json

application/json

application/json

application/json

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/reply" \  -H "Content-Type: application/json" \  -d '{}'
{  "actionId": "string",  "draftId": "string",  "messageId": "string",  "threadId": "string",  "state": "approvalRequired",  "acceptedAt": "string",  "waitReason": "rate",  "reviewExpectedAt": "string",  "skippedRecipients": [    {      "address": "string",      "reason": "bounce",      "unsubscribeGroupId": "string"    }  ],  "executeUntil": "string",  "retryAt": "string",  "problem": {    "code": "string",    "message": "string",    "error": {      "_tag": "SenderNotReadyError",      "message": "string",      "sender": "string",      "retryAfterSeconds": 0    }  },  "retryEligible": true,  "decision": {    "outcome": "allow",    "reason": "string",    "policyId": "string",    "source": "grant",    "decidedAt": "string"  },  "createdAt": "string",  "updatedAt": "string"}

Related documentation