
Reply To Message
POST/v0/inboxes/{inbox_id}/messages/{message_id}/reply
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "agentmail",
"path": "",
"method": "POST"
}'
{
"success": true,
"data": {
"thread_id": "{thread_id}",
"message_id": "{message_id}"
}
}
Example values, built from the documented fields.
$0.01per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 100% success · 615 ms median · 30 days
About this endpoint
Reply to a specific message. Automatically sets In-Reply-To and References headers for proper threading.
Path parameters
inbox_idrequiredstringGoes in the path: replace {inbox_id} in the request.message_idrequiredstringGoes in the path: replace {message_id} in the request.Body parameters
toarrayOverride recipient(s). Defaults to the original sender if omitted.ccarrayCC recipient address(es).bccarrayBCC recipient address(es).reply_toarrayReply-to address(es) if different from the inbox.reply_allbooleanIf true, reply to all original recipients.textstringPlain text body of the reply.htmlstringHTML body of the reply.labelsarrayLabels to tag the reply message.attachmentsarrayArray of attachment objects: {filename, content_type, content (base64)} or {filename, content_type, url}.headersobjectCustom email headers as key-value pairs.Response types
thread_idstringmessage_idstringMore from AgentMail
- Get InboxGET/v0/inboxes/{inbox_id}Free
- Get MessageGET/v0/inboxes/{inbox_id}/messages/{message_id}Free
- Reply All MessagePOST/v0/inboxes/{inbox_id}/messages/{message_id}/reply-all$0.01 per callFixed
- Get DraftGET/v0/inboxes/{inbox_id}/drafts/{draft_id}Free
- Update MessagePATCH/v0/inboxes/{inbox_id}/messages/{message_id}Free
- Create DraftPOST/v0/inboxes/{inbox_id}/drafts$0.01 per callFixed
- List ThreadsGET/v0/inboxes/{inbox_id}/threadsFree
- List DraftsGET/v0/inboxes/{inbox_id}/draftsFree
- Update InboxPATCH/v0/inboxes/{inbox_id}Free
- Get ThreadGET/v0/inboxes/{inbox_id}/threads/{thread_id}Free
- Get Raw MessageGET/v0/inboxes/{inbox_id}/messages/{message_id}/rawFree
- Send DraftPOST/v0/inboxes/{inbox_id}/drafts/{draft_id}/sendFree