Send email inbox message
POST
header
AuthorizationBearer <Relevate API key>Relevate API key scoped to the operation's product and environment.
inbox_id*stringInbox ID.
application/json- body
attachments?array<>Up to 10 files, 10 MB in total.
format?BodyFormatHow text_body is read. markdown makes both parts from it.
Value in
"text""markdown"html_body?string|nullrequest_key*stringIdempotency 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.
Format
date-timesubject*stringtext_body*stringto*array<string>The message was accepted and starts a new thread. The response includes thread_id.
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