Workflows

Get workflows based on type

get
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Query parameters
workflowTypestringOptional
Responses
200Success
application/json
get
/api/workflows-actions/workflows
200Success

Create a workflow

post
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Body
consentIdintegerOptional

ID of the consent

Example: 123
organizationIdintegerOptional

ID of the organization

Example: 456
namestringRequired

Name of the workflow

Example: Sample Workflow
versionstringOptional

Version of the workflow

Example: 1.0.0
descriptionstringRequired

Description of the workflow

Example: This is a sample workflow
createdBystringOptional

Creator of the workflow

Example: admin
attributesobjectOptional

Additional attributes of the workflow

Example: {"key":"value"}
workflowTypestring · enumOptional

Type of the workflow

Example: CONSENTPossible values:
workflowTaskanyOptional

Tasks associated with the workflow

Responses
200Success
application/json
post
/api/workflows-actions/workflows
200Success

Get workflow by ID

get
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
workflowIdnumberRequiredPattern: [^\/#\?]+?
Responses
200Success
application/json
get
/api/workflows-actions/workflows/{workflowId}
200Success