cURL
curl --request PATCH \ --url https://app.kapso.ai/api/v1/triggers/{id} \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "trigger": { "active": false } }'
{ "data": { "id": "trigger-123abc", "flow_id": "flow-456def", "trigger_type": "inbound_message", "active": true, "display_name": "Customer Support Trigger", "triggerable": { "id": "inbound-trigger-123", "whatsapp_config_id": "config-789ghi" }, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Updates a flow trigger’s active status
API key required for all endpoints
Show child attributes
Flow trigger updated successfully
Was this page helpful?