Skip to main content
GET
/
applications
/
{applicationId}
/
actions
Get a list of Actions from an application
curl --request GET \
  --url https://local.withsutro.com/applications/{applicationId}/actions \
  --header 'Authorization: Bearer <token>' \
  --header 'x-sutro-api-client: <api-key>'
[
  {
    "id": "<string>",
    "effects": [
      {
        "actionEffectId": "<string>",
        "effect": "<string>",
        "params": {},
        "bindParams": {},
        "next": "<string>",
        "onError": {
          "nextId": "<string>",
          "continueOriginalFlow": true
        }
      }
    ],
    "startEffectId": "<string>",
    "bindReturnValue": "<string>",
    "onError": {
      "nextId": "<string>",
      "continueOriginalFlow": 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

200 - application/json

List of actions for the application

id
string
required

A unique identifier for the action

effects
object[]
required
startEffectId
string
required

The ID of the first effect to execute

bindReturnValue
string
onError
object