Skip to main content
POST
/
email
/
drafts
/
{draft_id}
/
send
Send Draft
curl --request POST \
  --url https://api.decodahealth.com/email/drafts/{draft_id}/send \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "success": true,
  "messageId": "<string>",
  "threadId": "<string>",
  "error": "<string>"
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

draft_id
string
required

Response

Successful Response

Response after sending an email.

success
boolean
required
messageId
string | null
threadId
string | null
error
string | null