POST Clay sends once results are ready.
Register a webhook
Create a webhook with the CLI — runclay webhooks --help for the full command surface (create, list, test, delete):
create returns the signing secret exactly once — store it immediately, it can’t be retrieved later:
Trigger a delivery
Pass the webhook id aswebhook_id when you start a routine run (see Routines). Clay sends a signed POST to the webhook URL when the run is ready to read.
Delivery payload
data is {}. The routine_run_id can identify an inline or a bulk run. If one webhook handles both, store the run mode when you start the run, or use clay routines runs get, which fetches results for either mode.
Verify and fetch results
Clay signs the exact request body with your webhook signing secret and sends it in theX-Clay-Signature header. Verify the signature before trusting a delivery, then fetch the run’s results.

