Authorizations
You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
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.
draft
, live
Response
Successfully retrieved workflow
Schema URL for workflow validation
"https://schema.suprsend.com/workflow/v1/schema.json"
Unique identifier for the workflow
1 - 255
"welcome-sequence"
Whether the workflow is enabled
true
When the workflow was created
When the workflow was last executed
Human-readable name of the workflow
"Welcome Sequence"
Description explaining the usecase of the workflow
When the workflow was last updated
Last commit message
Git-like hash for version tracking
Current status of the workflow
active
, inactive
, draft
Notification category of the workflow. Used to apply category-specific settings and preferences.
"transactional"
Tags for organizing and filtering workflows in API.
Trigger Conditions for workflow execution. Workflow will only be executed if trigger conditions evaluate to true.
Events that trigger this workflow. This will be set for trigger_type = event
.
Type of recipient override. Define whether to override and run this workflow for user, list of users or a single object.
user
, single_object_fields
Expression for overriding recipients when override_recipients_type = user
.
Expression for overriding recipients when override_recipients_type = single_object_fields
.
Expression for overriding actor
Expression for overriding tenant
When the workflow's live version became active. Will be null
for draft version.
User who last updated the workflow
Node tree structure of the workflow. Shows the list of all nodes used in the workflow along with their configuration.
Validation status of the workflow