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

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

trigger
object
required
actionId
string
required

A unique identifier for the action

initialState
object
required
validation
string[]
required

A list of validation expressions that must all resolve to true for the action to be started.

A Sutro expression

isPublic
boolean