Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

Quick StartWhat is Saasco?

Analytics

CRM

Email Marketing

getList WorkflowsgetGet WorkflowpostCreate WorkflowputUpdate WorkflowdelDelete WorkflowpostVerify Workflow Config

Knowledge

Support

Projects

Workflows

Verify Workflow Config

Checks that each sendCampaign step has a campaign and that the campaign itself verifies. Returns isValid plus per-step errors. Does not activate the workflow or start a run.

POST
/projects/{projectId}/workflows/{workflowId}/verify

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the workflow.

workflowIdrequiredstring

ID of the workflow to verify.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://www.saasco.com/api/v2/projects/string/workflows/string/verify"
{
  "errors": [
    {
      "error": "string",
      "stepId": "string"
    }
  ],
  "isValid": true
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

Delete Workflow

Permanently deletes a workflow and everything cascading from it: steps, edges, runs, and run logs. Cannot be undone.

List Articles

Lists a project's articles for management views, covering drafts and internal articles that never appear in public search. Paginated, returning `data` alongside a `total` for the filter you applied.