Daybook DocsDaybook Docs
Browse

Send a test event

POST/v1/webhook-endpoints/{id}/test

Send one signed webhook.test event to the endpoint now, and record the delivery.

Call this with AIA brief with this endpoint's request, response and auth, ready for a typed client in your language.

Path parameters

  • idstringrequired
Try itEdit the fields and copy the request. Nothing is sent from this page.
curl -X POST https://api.daybookhealthcare.com/v1/webhook-endpoints/{id}/test \
  -H "Authorization: Bearer $DAYBOOK_API_KEY"

Response

  • deliveryobject
    The delivery, as it shows in the endpoint's delivery log.
  • delivery.event_idstring
    The event's id, evt_ and a ULID, sent as the webhook-id header.
  • delivery.statusstring
    succeeded when your endpoint answered 2xx within 10 seconds, otherwise failed.
  • delivery.response_statusinteger
    Your endpoint's HTTP status, or null when it did not answer.
curl -X POST https://api.daybookhealthcare.com/v1/webhook-endpoints/{id}/test \
  -H "Authorization: Bearer $DAYBOOK_API_KEY"
Response 200
{
  "delivery": {
    "id": "whd_01JBXK9C3V5N8Q2R4T6W8Y0A1B",
    "endpoint_id": "whe_01JBXK4R7T2M9P5W3Y6A8C0D1E",
    "event_id": "evt_01JBXK8N3QZ7V2C4D5E6F7G8HJ",
    "event_type": "webhook.test",
    "attempt": 1,
    "status": "succeeded",
    "response_status": 200,
    "duration_ms": 142,
    "created_at": "2026-10-29T14:31:40Z"
  }
}