Skip to main content
PATCH
Update a trigger

Authorizations

x-api-key
string
header
default:your-project-api-key
required

Your Composio project API key. Create or copy it from the Composio dashboard.

Path Parameters

triggerId
string<triggerInstanceId>
required

The ID of the trigger instance to update

Body

application/json
status
enum<string>

Enable or disable the trigger instance.

Available options:
enable,
disable
user_id
string

The user id acting on the connected account behind this trigger. On a shared connection it must be allowed by the connection ACL, and it is required to enable the trigger or set egress_url. On a private connection it must be the owner when the project has 2FA enabled, and is ignored when 2FA is disabled. Required to set egress_url when 2FA is enabled.

Minimum string length: 1
egress_url
string<uri> | null

Overrides the delivery URL for this trigger instance only: its events are sent to this HTTPS URL instead of the project webhook URL. Your project webhook subscription is still required and still controls signing (the webhook secret), the payload version and which events are enabled; only the destination changes for this instance. Omit to leave the current value unchanged; pass null to remove the override and deliver to the project webhook URL again.

Maximum string length: 2048

Response

Successfully updated trigger status

status
enum<string>
required

Status of the operation

Available options:
success