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

Headers

API-Version
string

Pass in an API version to guarantee a consistent response format.

The latest version should be used for all new API calls. Existing API calls should be updated to the latest version when possible.

Valid versions:

  • Latest API version (recommended): 2025-03

  • Previous API version (maintenance mode): 2025-02

If no API version header is included, the response format is considered unstable and could change without notice (not recommended).

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.