Webhooks
Last updated About 1 month ago
Webhooks
There are two directions — don't mix them up:
Outbound: Liza → your URL
Subscribe to one of the trigger events and receive a POST with JSON on every matching event:
curl -X POST https://api.eu.liza.app/api/v1/zapier/hooks \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"event":"block.created","target_url":"https://example.com/liza-hook"}'The body is an array containing one record. Respond with 2xx. On 410 Gone Liza removes the subscription automatically; other errors are not retried.
The currently valid event list comes from GET /v1/zapier/events.
Inbound: your service → Liza
For native providers (GitHub, Stripe, Sentry, AppSignal, Salesforce, Zapier, n8n, custom webhook) Liza provides a dedicated receiving URL per subscription and verifies the provider's signature. This is set up when connecting the integration in the client — the receiver paths are not a developer endpoint.
For services without a native provider there is Custom webhook: you get a URL whose payload lands as a block in the chat of a list or an item.
Was this helpful?
Still need help? Ask the team