Enable trigger

PATCH/v1/triggers/{triggerId}/enable

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
triggerIdpathstringYesTrigger ID
Query parameters
None.

Body schema

This endpoint does not require a request body.

None.

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Trigger enabledapplication/json
FieldTypeRequiredDescription
triggerobjectNo—
trigger.idstringNoUnique identifier.
trigger.userIdstringNoUser ID.
trigger.organizationIdstringNo—
trigger.createdByUserIdstringNo—
trigger.namestringNoHuman-readable name.
trigger.environmentIdstringNoComputer ID.
trigger.agentIdstringNoAgent ID.
trigger.sourcegithub | gitlab | slack | email | webhook | cron | customNo—
trigger.eventstringNo—
trigger.filtersobjectNo—
trigger.actionobjectNo—
trigger.action.typesend_messageYes—
trigger.action.destinationsworkflows | databases | knowledge | tests | projects | threads[]NoProduct surfaces allowed to consume this webhook. Existing actions without this field default to `threads`.
trigger.action.promptstringNoPrompt passed into the trigger execution thread.
trigger.action.messagestringNoBackward-compatible alias for `prompt`.
trigger.action.templatestringNoLegacy template field. Use `prompt` for new integrations.
trigger.action.projectIdstringNoOptional project context attached to the thread created by this webhook.
trigger.destinationsworkflows | databases | knowledge | tests | projects | threads[]NoNormalized destinations resolved from the action.
trigger.enabledbooleanNo—
trigger.webhookSecretstringNo—
trigger.webhookUrlstringNo—
trigger.lastTriggeredAtstringNo—
trigger.createdAtstringNoISO 8601 timestamp.
trigger.updatedAtstringNoISO 8601 timestamp.
Enable trigger
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow