GUIDE

Incoming webhooks

An automation that starts on “A webhook is called” has a secret address. POST to it from any service (JSON, a form, or plain text) and the automation starts. No API token is needed: the address is the key, so keep it secret.

https://cloverr.co.uk/api/automations/hook/<secret>

What the automation gets

Each top-level JSON field becomes {webhook.<field>} in its steps, and {webhook.body} is the whole body.

Checking it's really them

  • Send the automation's signing secret as Authorization: Bearer <secret>, or
  • sign the body: X-Cloverr-Signature: sha256=<hex HMAC-SHA256 of the raw body with the secret>.
  • With “Require the secret” on, calls without either are refused (401).

Answers and limits

202Started.
400Sent as JSON, but it isn't valid JSON.
401The secret or signature doesn't match, or it's required and missing.
404No such address.
409The automation is turned off.
413Over 64 KB.
429Over 60 calls a minute to this address.

To start one from your own code with an API token instead, use Run an automation.