---
title: "List function triggers"
method: GET
path: "/v1/functions/{functionId}/triggers"
tags: ["Functions"]
---

# List function triggers

`GET /v1/functions/{functionId}/triggers`

## Path parameters

- `functionId` string, required

## Response `200`

Triggers for the function.

- object
  - `triggers` FunctionTrigger[], required
    - `id` string, required
    - `functionId` string, required
    - `eventType` string, required — 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.
    - `senderId` string, nullable — Restrict the trigger to a single sender. Null means all senders in the project.
    - `active` boolean, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `cron` string, nullable — 5-field cron expression (minute hour day-of-month month day-of-week), evaluated in UTC. Present only on `cron` triggers.
    - `nextRunAt` string, date-time, nullable — Next scheduled fire time. Present only on `cron` triggers.
    - `lastRunAt` string, date-time, nullable — Last time the schedule fired. Null until the first fire.

## Other responses

- `401` — Unauthorized.
- `404` — Function not found.

---

[API](https://skmtc.net/zavudev/apis/zavu-unified-messaging-layer-api.md) · [All operations](https://skmtc.net/zavudev/apis/zavu-unified-messaging-layer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zavudev/zavu-unified-messaging-layer-api/versions/07b87b6ae707/schema)
