Triggers
Create or update a trigger
Changed onCreates a new trigger instance or updates an existing one with the same configuration. Triggers listen for events from external services (webhooks or polling) and can invoke your workflows. If a matching trigger already exists and is disabled, it will be re-enabled. Provide either a connected_account_id to pin a specific user connection, or a user_id to auto-resolve the first active connection for that user and the trigger's toolkit.
post/api/v3/trigger_instances/{slug}/upsert
Request
- Base URLhttps://backend.composio.dev
- URLhttps://backend.composio.dev/api/v3/trigger_instances/{slug}/upsert
- Auth
- API key in header x-api-key
- or API key in header x-user-api-key
Path parameters
slugstring required
The slug of the trigger instance. Case-insensitive (internally normalized to uppercase).
Request body
Example request
{
"version": "latest"
}Response
Successfully upserted trigger instance
Changes
- info
added the new optional request property
- info
- info
added the non-success response with the status
- info