Skip to main content
GET
/
applications
/
{applicationId}
/
triggers
List triggers in the application
curl --request GET \
  --url https://local.withsutro.com/applications/{applicationId}/triggers \
  --header 'Authorization: Bearer <token>' \
  --header 'x-sutro-api-client: <api-key>'
{
  "items": [
    {
      "trigger": {
        "id": "<string>",
        "type": "<unknown>",
        "eventName": "<string>",
        "payload": {}
      },
      "actionId": "<string>",
      "initialState": {},
      "validation": [
        "<string>"
      ],
      "isPublic": true
    }
  ],
  "metadata": {
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

Builder authentication and authorization

x-sutro-api-client
string
header
required

A unique identifier for the API Client making a request

Path Parameters

applicationId
string<uuid>
required

Response

A list of triggers in the Application

items
object[]
required
metadata
object
required

Metadata for a paginated response