Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference

REST API

Quick start
Set up Email MarketingDraft a campaign
getList WorkflowsgetGet WorkflowpostCreate WorkflowputUpdate WorkflowdelDelete WorkflowpostVerify Workflow Config
Set up a workflow
Email MarketingWorkflows

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.

Set up a workflow

What an agent needs to build an inactive workflow from the product's real events.