Update variables, data_mappings (replaces all), description, or activation. activate:true activates (registers webhooks); false pauses.
Request
Add parameter in header Authorization
Example:Authorization: ********************
Body Params application/json
{
"variables": {
"property1": "string",
"property2": "string"
},
"data_mappings": [
{
"mapping_for": "recipient",
"value": {
"property1": "string",
"property2": "string"
}
}
],
"description": "string",
"activate": true
}
Request Code Samples
curl --location --request PATCH '/api/v1/triggers/trig_1234abcd' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"variables": {
"property1": "string",
"property2": "string"
},
"data_mappings": [
{
"mapping_for": "recipient",
"value": {
"property1": "string",
"property2": "string"
}
}
],
"description": "string",
"activate": true
}'
Responses
application/json
{
"id": "string",
"stream_id": "string",
"status": "draft",
"description": "string",
"condition": {
"expression_id": "string",
"topic": "string",
"variables": {}
},
"data_mappings": [
{
"mapping_for": "recipient",
"value": {
"property1": "string",
"property2": "string"
}
}
]
}
Modified at 2026-06-03 12:30:45