Zapier
REST hooks for Zapier/n8n: post to a target URL when Liza events occur (Triggers) and send messages (Actions). Base path: /v1/zapier · Auth: Bearer
| Method | Path | Purpose |
|---|---|---|
GET | /v1/zapier/events | List available trigger events |
POST | /v1/zapier/hooks | Subscribe to a REST hook (event, target_url, filters) |
GET | /v1/zapier/hooks | List your own hook subscriptions |
DELETE | /v1/zapier/hooks/{id} | Unsubscribe from a hook |
GET | /v1/zapier/triggers/{event}/sample | Sample/test data for a trigger |
POST | /v1/messages | Send a chat message (Action) — see Messages |
Subscribe to a trigger
bash
curl -X POST https://api.eu.liza.app/api/v1/zapier/hooks \
-H "Authorization: Bearer DEIN_TOKEN" \
-H "Content-Type: application/json" \
-d '{"event":"list_item.updated","target_url":"https://hooks.zapier.com/…"}'On each matching event, Liza sends a POST with the event payload to target_url. To stop it, remove the hook via DELETE /v1/zapier/hooks/{id}.
n8n
n8n uses the same mechanics (generic outbound hooks + inbound actions).
