Webhooks
Send a test event
POST
Sends a test event to the endpoint and reports how your URL answered. Free.
bearerAuthheader
AuthorizationBearer <API key>Create a key in the app under Developers. Keys start with dcd_live_.
id*stringWebhook endpoint id. Starts with wh_.
Match
^wh_Success.
application/json- response
Result of sending a test event to the endpoint.
delivered*booleanWhether your URL answered with a 2xx status.
status_code*|HTTP status your URL returned. Null if it could not be reached.
error*|What went wrong, if the delivery failed.
request_id*stringId of the request that produced this response. A replayed idempotent response keeps the original id.
curl -X POST 'https://api.diced.si/v1/webhooks/wh_2BnM4vCx6ZlK8jHg1FdS3aQw/test' \ -H 'Authorization: Bearer dcd_live_your_key'Example Response
{ "delivered": true, "status_code": -9007199254740991, "error": "string", "request_id": "string"}