Skip to main content
PATCH
Pause or resume a workflow's app event
{"enabled": false} pauses it: new events start no runs. {"enabled": true} resumes it with its saved settings. 404 when the workflow has no app event. Needs workflows:write, plus workflows:invoke to resume. MCP tool: update_workflow with app_trigger: {"enabled": false}.

Authorizations

Authorization
string
header
required

API key with the vd_sk_ prefix, as Authorization: Bearer vd_sk_.... Create keys in Settings → API Keys.

Headers

Idempotency-Key
string

Any unique string (such as your order id). Resending the same request with the same key within 24 hours returns the first answer (with Idempotent-Replayed: true) and does nothing twice; the same key with a different request is a 422 idempotency_key_reused.

Required string length: 1 - 255

Path Parameters

slug
string
required

Body

application/json
enabled
boolean
required

Response

Successful Response

id
string
required
workflow_id
string
required
app
string
required

The app's id, e.g. gmail.

trigger
string
required

The event's id, e.g. GMAIL_NEW_GMAIL_MESSAGE.

enabled
boolean
required
trigger_name
string | null
config
Config · object

The event's settings.

last_event_at
string | null
last_error
string | null
created_at
string | null
updated_at
string | null