Skip to main content
POST
/
comms
/
email
/
send
Send Email
curl --request POST \
  --url https://api.decodahealth.com/comms/email/send \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --header 'TENANT: <tenant>' \
  --form 'patient_id=<string>' \
  --form 'body=<string>' \
  --form 'subject=<string>' \
  --form html=false \
  --form 'attachments=<string>' \
  --form attachments.0.items='@example-file'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

multipart/form-data
patient_id
string
required
body
string
required
subject
string
required
html
boolean
default:false
attachments
file[] | null

Response

Successful Response