POST
/
emails
/
send
curl --request POST \
  --url https://api.spellbound.io/v1/emails/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "templateId": "<string>",
  "to": {
    "email": "<string>",
    "name": "<string>"
  },
  "from": {
    "email": "<string>",
    "name": "<string>"
  },
  "replyTo": {
    "email": "<string>",
    "name": "<string>"
  },
  "subject": "<string>",
  "templateData": {},
  "sendAt": 123,
  "html": "<string>",
  "amp": "<string>",
  "text": "<string>"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

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

Body

application/json

Email to send

The body is of type object.

Response

202

Success!