Skip to content

Test message

Request

Sends test message to slack channels with dummy data.

Security
basicAuth
Bodyapplication/jsonrequired
event_typestringrequired
channel_idsArray of strings

If omitted would be taken from the event settings

curl -i -X POST \
  -u '<username>:<password>' \
  https://api.mailgun.net/v1/alerts/slack/test \
  -H 'Content-Type: application/json' \
  -d '{
    "event_type": "some-event",
    "channel_ids": [
      "C0123",
      "C0456"
    ]
  }'

Responses

A 200 response

Bodyapplication/json
messagestringrequired

Response message

Response
{ "message": "string" }