curl --request POST \
--url https://{hostname}.gable.ai/v0/action \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"name": "email on pricing asset change",
"triggers": [
{
"triggerType": "source",
"triggerValues": [
"<string>"
]
}
],
"destinations": [
{
"destinationType": "slack",
"slackChannelIds": [
"<string>"
]
}
]
}'