# List Workflow Triggers

List what starts a workflow. A workflow can have several triggers: a schedule, a webhook, an app event, or another workflow calling it.

`GET https://connect.mindcloud.co/v2/workflows/:workflowId/triggers`

Permissions: `workflow:view`.

## Parameters

### Path

- `workflowId` (string, required): The workflow's id, from List Workflows.

### Headers

- `X-Company-Id` (string): Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See [Organizations](https://mindcloud.co/docs/api/rest/introduction/organizations).

### Query

- `version` (string): draft (the default), published, or a version label from List Workflow Versions.
  draft (the default, what the editor shows), published (what runs), or a version label from List Workflow Versions, such as 0.0.14.
  Default: `draft`

## Example request

```bash
curl --request GET \
  --url 'https://connect.mindcloud.co/v2/workflows/Wq3kZ8pLx2Nb/triggers?version=draft' \
  --header 'Authorization: Bearer $MINDCLOUD_API_TOKEN'
```

## Response fields

- `id` (string): The trigger's id.
- `name` (string): The trigger's display name.
- `appSlug` (string): What starts the workflow: schedule, webhook, runWorkflow (when another workflow calls it), or the app whose event does.
- `appVersion` (string): The app version the trigger is pinned to. For a built-in trigger (Schedule, Webhook, When called), the version of the built-in app it was added with, "0" or "0.0.1" (some older ones hold "draft" or null); it does not change what the trigger does.
- `actionId` (string): The app event the trigger listens for. Null for a built-in trigger.
- `isDisabled` (boolean): True when the trigger is turned off.
- `isConfigured` (boolean): Whether the trigger passed the editor's validation. Null when it was never validated.
