Skip to main content
POST
/
api
/
public
/
v1
/
email-templates
/
test
Send test email
curl --request POST \
  --url http://app.localhost:3000/api/public/v1/email-templates/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "templateId": "<string>",
  "to": "jsmith@example.com",
  "locale": "<string>"
}
'
{
  "message": "<string>",
  "code": "<string>",
  "issues": [
    {
      "message": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Body

application/json
templateId
string
required
to
string<email>
required
locale
string

Response

Successful response