Skip to main content
POST
/
email-templates
/
{id}
/
send-test
Send a test email
curl --request POST \
  --url https://api.reply.io/v3/email-templates/{id}/send-test \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "email": "test@example.com",
  "emailAccountId": 100
}
'
{
  "title": "Validation Failed",
  "status": 349,
  "detail": "The scheduler with ID 'daily-9am' does not exist in your account",
  "errorCode": 1004
}

Authorizations

X-API-Key
string
header
required

API key passed in the X-API-Key header

Path Parameters

id
integer
required

Email template ID to send

Body

application/json

Request body for sending a test email using a template.

email
string<email>
required

Email address to send the test email to

emailAccountId
integer<int64>
required

ID of the email account to send the test email from

Response

Test email sent successfully