Send email inbox message

POST
/email/inboxes/{inbox_id}/messages

Authorization

headerAuthorizationBearer <Relevate API key>

Relevate API key scoped to the operation's product and environment.

Path Parameters

inbox_id*string

Inbox ID.

Request Body

application/json
  1. body
attachments?array<>

Up to 10 files, 10 MB in total.

format?BodyFormat

How text_body is read. markdown makes both parts from it.

Value in"text""markdown"
html_body?string|null
request_key*string

Idempotency key: retrying with the same key returns the first send.

scheduled_at?|

Send at this time instead of now, up to 30 days ahead. Move it with PATCH /email/emails/{email_id}; cancel it with DELETE.

Formatdate-time
subject*string
text_body*string
to*array<string>

Response Body

The message was accepted and starts a new thread. The response includes thread_id.

Example Request
curl -X POST 'https://api.relevate.app/email/inboxes/string/messages' \
  -H 'Content-Type: application/json' \
  -d '{
  "request_key": "string",
  "subject": "string",
  "text_body": "string",
  "to": [
    "string"
  ]
}'
Example Response
Empty