POST
/
email
/
transactional
curl --request POST \
  --url https://api.indiepitcher.com/v1/email/transactional \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "to": "john@acme.com",
  "subject": "You'\''ve been invited to IndiePitcher",
  "body": "You can use **markdown** to generate the email. Plain HTML is also supported.",
  "bodyFormat": "markdown",
  "trackEmailOpens": null,
  "trackEmailLinkClicks": null
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200 - application/json
An empty response

The response is of type object.