webhooks

Send events to an HTTPS URL, signed with HMAC-SHA256; up to 50 per org. Returns the signing secret once. Reference: https://daybooked.io/docs/api#webhooks_create

post/webhooks

Request

  • Base URL: https://daybag.io/api/v1
  • URL: https://daybag.io/api/v1/webhooks
  • Auth: HTTP bearer

Request body

urlstring uri required
eventsstring[]

Event types, or ["*"] for all (default)

Response

Success

idstring required
urlstring required
eventsstring[] required

Event types it receives; ["*"] means all

activeboolean required

false once its endpoint answered 410 Gone, or the API key that made it was revoked: it gets no more events and doesn't count toward the 50

api_key_idstring nullable required

The API key that made it, whose revoking switches it off; null when no key did (the dashboard, an OAuth sign-in)

last_statusinteger nullable required

HTTP status of the last delivery; 0 = unreachable

last_errorstring nullable

Why the last delivery failed, or why the webhook was switched off

last_attempt_atstring nullable required

ISO 8601 timestamp (UTC)

created_atstring required

ISO 8601 timestamp (UTC)

secretstring required

Verifies the Daybooked-Signature header. Shown once.

Changes

No recorded changes to this operation across all 1 revision of this API.