Skip to content

List function triggers

View .md
GET

Authorization

  • Authorizationheaderrequired

    Bearer YOUR_API_KEY. Create a key in the dashboard.

Path parameters

  • functionIdstringrequired

    Zavu Function ID.

Responses

200Triggers for the function.
  • triggersobject[]required
    10 properties
    • idstringrequired
    • functionIdstringrequired
    • eventTypestringrequired

      Event type that fires the function. See GET /v1/functions/event-types for the supported list. The special type cron fires on a schedule instead of a messaging event and carries a cron expression.

    • senderIdstringnullable

      Restrict the trigger to a single sender. Null means all senders in the project.

    • activebooleanrequired
    • createdAtstring<date-time>required
    • updatedAtstring<date-time>required
    • cronstringnullable

      5-field cron expression (minute hour day-of-month month day-of-week), evaluated in UTC. Present only on cron triggers.

    • nextRunAtstring<date-time>nullable

      Next scheduled fire time. Present only on cron triggers.

    • lastRunAtstring<date-time>nullable

      Last time the schedule fired. Null until the first fire.

401Unauthorized.
  • codestringrequired
  • messagestringrequired
  • detailsobject
404Function not found.
  • codestringrequired
  • messagestringrequired
  • detailsobject