Webhooks

Subscribe an https address to events

Scope webhooks:write. The secret is shown once. Deliveries carry x-preflight-event, x-preflight-id, x-preflight-timestamp and x-preflight-signature-v2 (t=…,v2=hex HMAC-SHA256 of ${t}.${body}); answer 2xx within 10 seconds or it is retried five times.

post/workspace/webhooks

Request

  • Base URL: https://preflight.social/v1
  • URL: https://preflight.social/v1/workspace/webhooks
  • Auth: HTTP bearer

Request body

urlstring uri required

https and public.

eventsstring[]

Defaults to both.

Response

Created, with the secret.

idstring uuid
urlstring uri
eventsstring[]
secretstring

whsec_…, shown once, on creation only.

createdAtstring date-time

Changes

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