List Workflows
Changed onRetrieve a list of workflows in a workspace.
Request
- Base URLhttps://management-api.suprsend.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Workspace slug (staging, production, etc.)
Query parameters
Mode to filter workflows (draft or live). By default, draft workflows are returned.
Comma-separated list of workflow slugs to filter. This can be used to filter workflows by slug.
Number of workflows to return per page (max 50).
Number of workflows to skip before starting to return results.
Response
Successfully retrieved list of workflows
Example response
{
"meta": {
"count": 92,
"limit": 10
},
"results": [
{
"$schema": "https://schema.suprsend.com/workflow/v1/schema.json",
"slug": "welcome-sequence",
"is_enabled": true,
"name": "Welcome Sequence",
"category": "transactional"
}
]
}Changes
- breaking
response property
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response401 - breaking
response property
detaillist-of-types was widened by adding typesarray and objectto media typeapplication/jsonof response404 - breaking
the
//response property's maxLength was increased from255to500for the response status - breaking
the
//response's property type changed fromstringtoobjectfor status - info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parameteroffset - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
the
//response's property pattern was changed from^[a-z0-9-_]+$to^[a-zA-Z0-9_-]+$for the status
- breaking