Skip to main content
POST
/
contact
/
send
/
email
Send Email to Contact
curl --request POST \
  --url https://api.getoutbox.ai/contact/send/email/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contact_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "subject": "<string>",
  "html": "<string>",
  "text": "<string>",
  "sender_identity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "reply_to": "jsmith@example.com",
  "in_reply_to_message_log_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "reply_to_thread_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

contact_id
string<uuid>
required
subject
string

Subject line. Supports variables.

html
string

HTML body. Supports variables.

text
string

Plaintext body. Supports variables. Used as a fallback if html is omitted.

sender_identity_id
string<uuid>

EmailSenderIdentity to send from. Defaults to the company default.

reply_to
string<email>

Override Reply-To address.

Minimum string length: 1
in_reply_to_message_log_id
string<uuid>

Thread under a previous EmailMessageLog. Auto-prefixes the subject with Re:.

reply_to_thread_message_id
string<uuid>

Conversation ThreadMessage id; must be an email message that has an email_message_log_id reference.

Response

Email sent. Body includes the message log + provider IDs.

{key}
any