Skip to main content
GET
/
workflows
/
node-types
Get available node types
curl --request GET \
  --url https://v1.api.altostrat.io/workflows/node-types \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "webhook",
    "name": "Webhook",
    "category": "trigger",
    "validation_rules": {
      "data.method": [
        "required",
        "in:GET,POST,PUT,PATCH,DELETE"
      ],
      "data.url\"": [
        "required",
        "url_with_template"
      ]
    }
  }
]

Authorizations

Authorization
string
header
required

Enter the JWT token.

Response

200 - application/json

A list of available node types.

id
string

The componentId for the node.

Example:

"webhook"

name
string

A human-friendly name for the node.

Example:

"Webhook"

category
enum<string>
Available options:
trigger,
action,
condition
validation_rules
object

A map of field names to Laravel validation rules.

Example:
{
"data.method": ["required", "in:GET,POST,PUT,PATCH,DELETE"],
"data.url\"": ["required", "url_with_template"]
}
I