Skip to main content
POST
Validate and dry-run a single workflow node definition

Authorizations

Authorization
string
header
required

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

Path Parameters

type
string
required

Registered node type (e.g. WebhookTrigger, SendMessage, IfCondition).

Body

application/json

config is parsed against the node's configSchema. input is only consumed by trigger-category nodes; for non-trigger nodes it is ignored and a mocked outputShape is returned. Trigger nodes receive input flattened into an ExecutionContext (so fields like contactId, messageId, from/to/subject are read from the top level).

config
any

Node-specific configuration to validate.

input
any

Trigger input payload. Ignored for non-trigger nodes.

Response

Test executed (success, mocked output, or validation failure). Inspect success to disambiguate.

Always 200 OK. Inspect success to disambiguate: true → trigger executed or non-trigger returned a mocked outputShape; false → config validation failed (issues array populated) OR WebhookTrigger boundary-check failed.

success
boolean
required
durationMs
integer
required
output
object

Real trigger output, or mocked outputShape keys tagged with their declared type for side-effecting nodes.

message
string
issues
object[]