Create a new action
cURL
curl --request POST \ --url 'https://api-(organization).gable.ai/v0/action' \ --header 'Content-Type: application/json' \ --data '{ "name": "email on pricing asset change", "triggers": [ { "triggerType": "source", "triggerValues": [ "<string>" ] } ], "destinations": [ { "destinationType": "slack", "slackChannelIds": [ "<string>" ] } ] }'
{ "actionId": "<string>" }
Successful operation
The response is of type object.
object