Get Workflow Details
Changed onFetch workflow corresponding to the given slug 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.)
Unique identifier of the workflow. You can get it from workflow settings.
Query parameters
Which workflow version to fetch (draft or live). By default, draft version is returned.
Response
Successfully retrieved workflow
Example response
{
"$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 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