POST
/
v1
/
events
/
subscriptions
/
actions
/
bulk
curl --request POST \
  --url https://api.runtrellis.com/v1/events/subscriptions/actions/bulk \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "events_with_actions": [
    {
      "event_type": "asset_extracted",
      "proj_id": "<string>",
      "transform_id": "<string>",
      "actions": [
        {
          "type": "refresh_transform",
          "transform_id": "<string>",
          "proj_id": "<string>",
          "webhook_id": "<string>"
        }
      ]
    }
  ]
}'
{
  "message": "<string>",
  "data": [
    {
      "event_subscription_id": "<string>",
      "action_ids": [
        "<string>"
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Body

application/json
events_with_actions
object[]
required

Response

200
application/json
Successful Response
message
string
required
data
object[]
required