Skip to content

Test message

Request

Sends test message to emails with dummy data.

Security
basicAuth
Bodyapplication/jsonrequired
event_typestringrequired
emailsArray of stringsrequired
curl -i -X POST \
  -u '<username>:<password>' \
  https://api.mailgun.net/v1/alerts/email/test \
  -H 'Content-Type: application/json' \
  -d '{
    "event_type": "some-event",
    "emails": [
      "email1@example.com",
      "email2@example.com"
    ]
  }'

Responses

A 200 response

Bodyapplication/json
messagestringrequired

Response message

Response
{ "message": "string" }