Skip to content
Navigation

deliverWebhook

POST
/api/v1/hooks/{token}

Inbound webhook (no session or token: the URL is the secret). The request body (up to 256 KiB) becomes part of the prompt, clearly marked as untrusted. If the webhook has a signing secret, the signature header must hold the HMAC-SHA256 of the body ("sha256=<hex>" or hex).

Path parameters

  • token
    string
    required

Request body */*

Type:string

format: binary

Returns

202

The turn started.

401

Error.
JSON
  • error
    string
    required

404

Error.
JSON
  • error
    string
    required

409

Error.
JSON
  • error
    string
    required

413

Error.
JSON
  • error
    string
    required

Type to search…

↑↓ navigate↵ selectEsc close