Workflows
Validate a workflow
RankShark EnhanceScopecampaigns:read
POST
Checks a flow spec without saving anything.
header
AuthorizationBearer <token>An Enhance API key (rsen_…) or an OAuth 2.1 access token, as "Authorization: Bearer …".
taskCount?integerHow many tasks[] the campaign has (mode nodes reference them by index)
Range
1 <= valueDefault
1application/json- body
A workflow (GET /api/v1/schema/flow documents nodes, edges and subflows; mode nodes reference tasks[] by index)
nodes*array<>edges*array<>subflows?[key: string]?anyThe result (ok false with errors when it is not valid)
application/json- response
ok*booleanerrors?array<string>Blocking problems
warnings?array<string>summary?curl -X POST 'https://panel.rankshark.io/api/v1/flows/validate' \ -H 'Content-Type: application/json' \ -d '{ "nodes": [ {} ], "edges": [ {} ]}'Example Response
{ "ok": true, "errors": [ "string" ], "warnings": [ "string" ], "summary": {}}