`GET /api/workflows/{id}/triggers` — list a workflow's triggers.
GET
/api/workflows/{id}/triggers
const url = 'https://example.com/api/workflows/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/triggers';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/workflows/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/triggersParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”Media typeapplication/json
Array<object>
A trigger as returned to the client. Plaintext token is returned only on
create/rotate so receiver URLs are show-once. List/update responses return
a non-secret token_preview instead.
object
config
required
created_at
required
string format: date-time
enabled
required
boolean
id
required
string format: uuid
kind
required
Spec-only mirror of the closed workflow_triggers.kind set (TriggerKind::as_db_str).
TriggerResponse.kind narrows to this via #[schema(value_type = WorkflowTriggerKindSpec)].
string
token
string | null
token_preview
string | null
workflow_id
required
string format: uuid
Example
[ { "kind": "manual" }]