Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedAgent setupWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference
Skills for agents

REST API

Quick start
getList WorkflowsgetGet WorkflowpostCreate WorkflowputUpdate WorkflowdelDelete WorkflowpostVerify Workflow Config
Email MarketingWorkflows

Get Workflow

View as MarkdownAgent setup

Fetches a single workflow by ID. Returns 404 if no workflow matches.

GET
/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 fetch.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/projects/string/workflows/string"
{  "id": "string",  "createdAt": "string",  "updatedAt": "string",  "name": "string",  "projectId": "string",  "triggerEvent": "string",  "maxRuns": -9007199254740991,  "minDelayAmount": 5,  "minDelayUnit": "MINUTES",  "frequency": "ONCE",  "status": "INACTIVE",  "contactsFilterGroups": [    {      "filters": [        {          "attributeDistinctId": "string",          "attributeType": "string",          "operator": "equals",          "value": "string"        }      ],      "oneDayEventFilters": [        {          "eventName": "string",          "operator": "performed"        }      ],      "groupType": "AND",      "requireSubscribed": true    }  ]}

List Workflows

Lists the project's workflows with name and status. Audience filters and trigger settings are omitted — fetch a workflow by id for those. Supports paging and an optional sort.

Create Workflow

Creates a workflow definition: the trigger event, audience filters, frequency, and delay between runs. Creating one never starts a run and never sends anything. Steps and edges are added separately.