Skip to content

Send a test event

POST/v1/webhooks/{id}/test

Send a webhook.test event to the endpoint, whatever event types it subscribes to. It is signed like any other event but sent only once, without retries.

Authorization
header · required
Bearer <Extralt API key>
id
path · string · required

Webhook ID

Response

202 Accepted · application/json

Test event queued

event_id
string

The id of the webhook.test event, as sent in its body and in the webhook-id header.

Errors

ErrorResponse

Errors that read the same on every endpoint are in Error codes.

400

The request is invalid

402

An active subscription is required for this operation

404

Webhook not found

409

The webhook is disabled

Request · cURL
curl -X POST 'https://api.extralt.com/v1/webhooks/pn74h2q9x8c3v1m6z5t0r7wbk2f8djsa/test' \
  -H "Authorization: Bearer $EXTRALT_API_KEY"
Response · 202
{
  "event_id": "evt_jh71x4q9c2v8m3z6t5r0n9wbf2p7akdq"
}