curl --request POST \
--url https://api.kadoa.com/v5/notifications/settings \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"eventType": "workflow_started",
"eventConfiguration": {},
"workflowId": "<string>",
"enabled": true,
"channelIds": [
"<string>"
]
}
'{
"data": {
"settings": {
"id": "<string>",
"workflowId": "<string>",
"eventType": "<string>",
"eventConfiguration": {},
"enabled": true,
"channels": [
{
"id": "<string>",
"name": "<string>",
"channelType": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>"
}
},
"status": "<string>",
"message": "<string>"
}curl --request POST \
--url https://api.kadoa.com/v5/notifications/settings \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"eventType": "workflow_started",
"eventConfiguration": {},
"workflowId": "<string>",
"enabled": true,
"channelIds": [
"<string>"
]
}
'{
"data": {
"settings": {
"id": "<string>",
"workflowId": "<string>",
"eventType": "<string>",
"eventConfiguration": {},
"enabled": true,
"channels": [
{
"id": "<string>",
"name": "<string>",
"channelType": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>"
}
},
"status": "<string>",
"message": "<string>"
}API key for authentication
workflow_started, workflow_finished, workflow_failed, workflow_sample_finished, workflow_data_change, system_maintenance, service_degradation, credits_low, free_trial_ending Settings specific to the event type. Currently accepts an empty object {}. This object will be extended in future releases to support event-specific configuration options.
Workflow ID (optional, if not provided creates workspace-level settings)
Array of channel IDs to link to this Settings