Workflows
Get Workflow
Fetches a single workflow by ID. Returns 404 if no workflow matches.
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://www.saasco.com/api/v2/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
}
]
}{
"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": []
}