Made in 10Docs
GuidesAPI
ReferenceWebhooks

Send a test event

Sends a `webhook.test` event to this endpoint now, also while it is turned off, and answers what it said (this waits up to 10 seconds for your receiver).

POST
/webhooks/{webhook_id}/test

Authorization

secretKey
headerAuthorizationBearer <sk_live_… or sk_test_… (a prefix and 40 base62 characters)>

A secret key from the dashboard, sent as Authorization: Bearer sk_live_…. Live keys run real, charged calls; test keys (sk_test_…) run calls of at most 60 seconds, 20 a day per organization, never charged. Each key sees only its own env's calls, meetings, webhooks, memories and analytics. Publishable keys (pk_…) are refused.

Path Parameters

webhook_id*string

The webhook endpoint's id.

Match^whe_[0-9A-Za-z]{20}$
Example"whe_6Tn1Vb8XcK3mPq9LsD2f"

Response Body

What the endpoint answered.

application/json
  1. response
Example
{  "delivered": false,  "status_code": 500,  "error": "it answered 500",  "event_id": "evt_7Rc2Yj5LmT9pQw3NdF6k",  "delivery_id": "whd_5Hs9Fk2PvX7nCb1QzW4r"}
delivered*boolean

Whether it answered 2xx.

status_code*|

What it answered; null when it didn't (a timeout, a refused connection, an address refused).

error*|

What went wrong, in a few words.

event_id*EventId
Match^evt_[0-9A-Za-z]{20}$
Example"evt_3Kp8Zr1WqN6xBv4MhS9a"
delivery_id*DeliveryId
Match^whd_[0-9A-Za-z]{20}$
Example"whd_5Hs9Fk2PvX7nCb1QzW4r"
Example Request
curl -X POST 'https://api.daxov.com/v1/webhooks/whe_6Tn1Vb8XcK3mPq9LsD2f/test'
Example Response
{  "delivered": false,  "status_code": 500,  "error": "it answered 500",  "event_id": "evt_7Rc2Yj5LmT9pQw3NdF6k",  "delivery_id": "whd_5Hs9Fk2PvX7nCb1QzW4r"}