Reply All Message

**CLI:** ```bash agentmail inboxes:messages reply-all --inbox-id <inbox_id> --message-id <message_id> --text "Reply text" ```

Authentication

AuthorizationBearer

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

Path parameters

inbox_idstringRequired
The ID of the inbox.
message_idstringRequired
ID of message.

Request

This endpoint expects an object.
labelslist of stringsOptional
Labels of message.
reply_tostring or list of stringsOptional

Reply-to address or addresses.

textstringOptional
Plain text body of message.
htmlstringOptional
HTML body of message.
attachmentslist of objectsOptional
Attachments to include in message.
headersmap from strings to stringsOptional
Headers to include in message.
track_opensbooleanOptional

Track when this message is first opened. Requires a custom domain with tracking enabled and an HTML body. Opens surface as the opened label on the message and as a message.opened event. One pixel is injected per message, not per recipient, so a message with several recipients fires once when any of them opens it, and the event does not identify which one.

Response

This endpoint returns an object.
message_idstring
ID of message.
thread_idstring
ID of thread.

Errors

400
Validation Error
403
Message Rejected Error
404
Not Found Error
409
Conflict Error