Skip to main content
POST
/
webhook
/
validate
Validate Enrolled Webhook
curl --request POST \
  --url https://api.mailchannels.net/tx/v1/webhook/validate \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "request_id": "<string>"
}
'
{
  "all_passed": true,
  "results": [
    {
      "response": {
        "status": 200,
        "body": "<string>"
      },
      "webhook": "<string>"
    }
  ]
}

Headers

X-Api-Key
string
required

Body

application/json
request_id
string

Optional identifier in the webhook payload. If not provided, a value will be automatically generated.

Maximum string length: 28

Response

Webhook validation completed

all_passed
boolean
required

Indicates whether all webhook validations passed

results
object[]
required

Detailed results for each tested webhook, including whether it returned a 2xx status code, along with its response status code and body.