Webhooks

Set the account webhook URL (signing secret shown once)

Events response.submitted and query.completed are POSTed as JSON with X-GAB-Signature (HMAC-SHA256 hex of the raw body, keyed with the webhook secret), X-GAB-Event, and X-GAB-Timestamp headers. 10s timeout; non-2xx retried ~every minute up to 5 attempts. Public https URLs only.

put/requestor/webhook

Request

  • Base URL: https://www.getabrain.ai/api/v1
  • URL: https://www.getabrain.ai/api/v1/requestor/webhook
  • Auth: one of:
    • API key in header X-API-Key and API key in header X-API-Secret
    • HTTP bearer

Request body

webhook_urlstring uri required

Response

Saved

webhook_urlstring
webhook_secretstring

Only present when freshly generated — save it now

secret_last_fourstring
messagestring
eventsstring[]

Changes

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