v51

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-02172186551.1 KB
Functions

Create function triggers

Subscribe a function to one or more event types, optionally scoped to specific senders. Provide eventTypes and senderIds (use null in senderIds for all senders); a trigger is created for each event type and sender combination.

post/v1/functions/{functionId}/triggers

Path parameters

functionIdstring required

Zavu Function ID.

Request body

eventTypesstring[] required

Event types to subscribe to.

senderIdsstring[] required

Senders to scope the triggers to. Use null for all senders.

Response

Triggers created.

addedinteger required
skippedinteger required

Number of triggers that already existed.