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

Delete Workflow

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

DELETE
/projects/{projectId}/workflows/{workflowId}

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the workflow.

workflowIdrequiredstring

ID of the workflow to delete.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://www.saasco.com/api/v2/projects/string/workflows/string"
{
  "message": "string"
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "NOT_FOUND",
  "message": "Not found",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

Update Workflow

Updates a workflow. Only the fields present in changes are written, so omitted keys stay as they are.

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.