Send Message

POST/v0/inboxes/{inbox_id}/messages/send

VerifiedReliablePublished by AgentMail
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

Send an email message from an inbox. At least one recipient (to, cc, or bcc) is required. Returns the message_id and thread_id. Replace {inbox_id} directly in the path with the full inbox email (e.g., /v0/inboxes/myagent@agentmail.to/messages/send).

Path parameters

Body parameters

Response types

More from AgentMail

  1. Get InboxGET/v0/inboxes/{inbox_id}Free
  2. Reply To MessagePOST/v0/inboxes/{inbox_id}/messages/{message_id}/reply$0.01 per callFixed
  3. Get MessageGET/v0/inboxes/{inbox_id}/messages/{message_id}Free
  4. Reply All MessagePOST/v0/inboxes/{inbox_id}/messages/{message_id}/reply-all$0.01 per callFixed
  5. Get DraftGET/v0/inboxes/{inbox_id}/drafts/{draft_id}Free
  6. Update MessagePATCH/v0/inboxes/{inbox_id}/messages/{message_id}Free
  7. Create DraftPOST/v0/inboxes/{inbox_id}/drafts$0.01 per callFixed
  8. List ThreadsGET/v0/inboxes/{inbox_id}/threadsFree
  9. List DraftsGET/v0/inboxes/{inbox_id}/draftsFree
  10. Update InboxPATCH/v0/inboxes/{inbox_id}Free
  11. Get ThreadGET/v0/inboxes/{inbox_id}/threads/{thread_id}Free
  12. Get Raw MessageGET/v0/inboxes/{inbox_id}/messages/{message_id}/rawFree
All 21 AgentMail endpoints