SnozeDevelopers
API referenceAutomations

List the trigger types an automation can use

Returns the trigger catalog for the workspace, including the provider triggers contributed by its integration connections. Connections that are switched off are excluded, since a trigger from a disabled connection would publish and then never fire. Requires the `automations:read` permission in the workspace.

GET
/v1/workspaces/{workspaceId}/automation-triggers
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/workspaces/string/automation-triggers"
{  "data": {    "triggers": [      {        "id": "string",        "source": "string",        "sourceLabel": "string",        "subject": "string",        "verb": "string",        "description": "string",        "latency": "instant",        "scope": [          {            "key": "string",            "label": "string",            "resourceType": "string",            "dependsOn": "string",            "required": true,            "payloadPath": [              "string"            ],            "description": "string"          }        ],        "refinements": [          {            "key": "string",            "label": "string",            "field": "string",            "kind": "text",            "multiple": true,            "resourceType": "string",            "description": "string"          }        ],        "produces": {          "label": "string",          "fields": [            {              "key": "string",              "label": "string",              "kind": "text",              "shape": {},              "description": "string"            }          ]        },        "keywords": [          "string"        ]      }    ],    "prerequisites": [      {        "source": "string",        "sourceLabel": "string",        "reason": "string",        "href": "string"      }    ]  }}