List Workflows
Lists the project's workflows. Supports paging and an optional sort.
Authorization
Authorization In: header
Path Parameters
ID of the project to list workflows from.
Query Parameters
Field to sort by. Omit to keep the default ordering.
Sort direction. Defaults to desc. Ignored unless orderBy is set.
Number of workflows to skip before collecting results.
Maximum number of workflows to return.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://www.saasco.com/api/v2/projects/string/workflows"[
{
"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
}
]
}
]{
"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": []
}Get Sender Status
Reports whether the project is currently allowed to send email. Saasco blocks sending for projects with poor deliverability or abuse signals; when blocked, `canSend` is false and `statusReason` explains why. Send Email Campaign and Send Test Email both enforce this, so check it before offering a send action in your own UI.
Get Workflow
Fetches a single workflow by ID. Returns 404 if no workflow matches.