Skip to main content
POST
Reply All To Message
Replies to one message and every other recipient on it, returning message_id and thread_id. 🔴 This sends real email to everyone in the thread and it cannot be recalled. Use post_agentmail_inbox_message_reply when only the sender should receive the answer — that is the safer default and the two differ only in recipients. Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created.

Example

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required

Bearer authentication

Path Parameters

inbox_id
string
required

The ID of the inbox.

message_id
string
required

ID of message.

Body

application/json
labels
string[]

Labels of message.

reply_to

Reply-to address or addresses.

text
string

Plain text body of message.

html
string

HTML body of message.

attachments
SendAttachment · object[]

Attachments to include in message.

headers
SendMessageHeaders · object

Headers to include in message.

Response

Response with status 200

message_id
string
required

ID of message.

thread_id
string
required

ID of thread.