Skip to main content
POST
/
campaigns
/
{id}
/
test
Send campaign test email
curl --request POST \
  --url https://api.mailrify.com/campaigns/{id}/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]"
}
'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

API Key authentication. Secret keys (sk_*) are required for all endpoints except /v1/track. Public keys (pk_*) only work with the /v1/track endpoint for client-side event tracking. The project is automatically derived from the key.

Path Parameters

id
string
required

Body

application/json
email
string<email>
required

Response

Test email sent

success
boolean
message
string