PUT
/
v0
/
action
cURL
curl --request PUT \
  --url 'https://api-(organization).gable.ai/v0/action' \
  --header 'Content-Type: application/json' \
  --data '{
  "actionId": "<string>",
  "name": "email on pricing asset change",
  "triggers": [
    {
      "triggerType": "source",
      "triggerValues": [
        "<string>"
      ]
    }
  ],
  "destinations": [
    {
      "destinationType": "slack",
      "slackChannelIds": [
        "<string>"
      ]
    }
  ],
  "isActive": true
}'
{
  "actionId": "<string>"
}

Body

application/json

Response

200
application/json

Successful operation

The response is of type object.