Authorizations
API key required for all endpoints
Path Parameters
Body
application/json
Response
Flow trigger updated successfully
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
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"
}
}API key required for all endpoints
Show child attributes
Flow trigger updated successfully
Show child attributes
Was this page helpful?