Skip to main content
POST
Create function triggers

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

functionId
string
required

Zavu Function ID.

Body

application/json
eventTypes
string[]
required

Event types to subscribe to.

senderIds
(string | null)[]
required

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

Response

Triggers created.

added
integer
required
skipped
integer
required

Number of triggers that already existed.

triggers
object[]
required