Hatch

Send new form responses to an address

On this page

PUT/api/sites/{id}/webhook

Authorization

  • session: Authorization: Bearer <token>. The session token from signing in (or the session cookie in a browser on the same origin).

Path parameters

  • id string (required)

Request body

  • url string: At most 500 characters

Response

200: It worked

  • webhook Webhook (required): Signs each delivery: X-Hatch-Signature is sha256=<HMAC-SHA256 of ".">

    • url string (required): At most 500 characters
    • secret string (required): At most 200 characters

Other answers:

  • 4XX: Refused, with a message to show the person