Hatch

A site’s form webhook, with its secret

On this page

GET/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)

Response

200: It worked

  • webhook Webhook | null (required)

    • One of: Webhook

      • 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