Zapier

Last updated 1 day ago

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

MethodPathPurpose
GET/v1/zapier/eventsList available trigger events
POST/v1/zapier/hooksSubscribe to a REST hook (event, target_url, filters)
GET/v1/zapier/hooksList your own hook subscriptions
DELETE/v1/zapier/hooks/{id}Unsubscribe from a hook
GET/v1/zapier/triggers/{event}/sampleSample/test data for a trigger
POST/v1/messagesSend a chat message (Action) — see Messages

Trigger events

EventFires when …
list_item.createda task was created
block.createda chat block/message was created
notification.createda notification was created

GET /v1/zapier/events is always authoritative; an unknown name is rejected on subscribe with 400 unknown_event.

Subscribe to a trigger

bash

On each matching event Liza sends a POST to target_url. The body is — as Zapier expects for REST hooks — an array containing one record:

json

To stop it, remove the hook via DELETE /v1/zapier/hooks/{id}.

Delivery & cleanup

  • Delivery is fire-and-forget per hook, with a 10 second timeout. There is no retry on failure.
  • If a hook answers 410 Gone (Zapier reports this for disabled or deleted Zaps), Liza removes the subscription automatically.
  • For testing, GET /v1/zapier/triggers/{event}/sample returns real sample data from your organization.

n8n

n8n uses the same mechanics (generic outbound hooks + inbound actions).