Skip to main content
GET
/
workflows
/
definitions
[Beta] List available action and trigger types
curl --request GET \
  --url https://api.open.cx/workflows/definitions \
  --header 'Authorization: Bearer <token>'
{
  "action_types": [
    {
      "type": "<string>",
      "name": "<string>",
      "description": "<string>",
      "category": "<string>",
      "icon": "<string>",
      "input_fields": [
        {
          "name": "<string>",
          "type": "<string>",
          "display_name": "<string>",
          "required": true,
          "description": "<string>"
        }
      ],
      "output_fields": [
        {
          "name": "<string>",
          "type": "<string>",
          "display_name": "<string>",
          "required": true,
          "description": "<string>"
        }
      ]
    }
  ],
  "trigger_types": [
    {
      "type": "<string>",
      "name": "<string>",
      "description": "<string>",
      "icon": "<string>"
    }
  ],
  "block_types": [
    {
      "type": "<string>",
      "name": "<string>",
      "description": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Default Response

action_types
object[]
required

Available action types with their input/output schemas

trigger_types
object[]
required

Available trigger types

block_types
object[]
required

Available control-flow block types (if-else, switch)