Download OpenAPI specification:Download
Contains functionality around Workflows.
For endpoints that support localization the language can be passed either as a query string parameter (using the name 'language') or in the 'accept-language' header.
If no language is passed to such endpoints then the default configured language will be used.
Retrieves the most up-to-date information of the status of a workflow instance (e.g. the state of the workflow if applicable and other data useful to the consumer in relation to the workflow type).
workflowName required | string The name of the workflow. |
workflowInstanceId required | string <uuid> The workflow instance ID to get the status for. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "data": null
}
Retrieves the full payload JSON schema of a workflow type (workflowName). It includes the aggregated payload structure that supports various calls and use-cases (e.g. workflow/start, workflow/update, etc.). Refer to the documentation for the exact payload per use-case.
workflowName required | string The name of the workflow. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
null
Retrieves information of all inactive workflows based on the input of the entityType and entityId (e.g. entityType = contact and entityId = x). The information includes the workflow instance id and name.
entityType required | string Type of the Entity. |
entityId required | string Id of the Entity. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "workflowEntityHistory": [
- {
- "workflowName": "string",
- "workflowInstanceId": "string",
- "parentWorkflowInstanceId": "string",
- "status": "string",
- "startTime": "2025-05-09T12:06:30Z",
- "endTime": "2025-05-09T12:06:30Z",
- "data": null
}
]
}
Updates a workflow instance by reaching the next milestone. The payload varies depending on the workflow type. Use the /schema api to find out the payload structure, and refer to the documentation for the exact payload per use-case
workflowName required | string The name of the workflow. |
workflowInstanceId required | string <uuid> The workflow instance ID to update. |
milestoneName required | string The name of the milestone. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
The request payload.
payload required | any |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "payload": null
}
{- "data": null
}
Starts a new workflow instance of a specified workflow type (workflowName). The payload varies depending on the workflow type. Use the /schema api to find out the payload structure, and refer to the documentation for the exact payload per use-case.
workflowName required | string The name of the workflow. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
The request payload.
payload required | any |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "payload": null
}
{- "workflowInstanceId": "string",
- "data": null
}
This endpoint has a multi-functional purpose. Depending on the workflow type (workflowName) it offers methods to retrieve workflow-related data, as well as generic workflow-specific calculations. Refer to the documentation for the list of available query types, request and response bodies.
workflowName required | string The name of the workflow. |
queryName required | string The name of the query. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
The request payload.
payload | any Nullable |
workflowInstanceId | string <uuid> Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "payload": null,
- "workflowInstanceId": "string"
}
{- "data": null
}
Creates a new workflow entity in the system. This functionality is an internal method to keep track of a new workflow and store all the relevant data and it is not meant to be used by a consumer.
workflowInstanceId required | string <uuid> The workflowInstanceId of the workflow. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
The request payload.
entityType | string Nullable |
entityId | string Nullable |
workflowName | string Nullable |
parentWorkflowInstanceId | string <uuid> Nullable |
Created
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "entityType": "string",
- "entityId": "string",
- "workflowName": "string",
- "parentWorkflowInstanceId": "string"
}
{- "code": "General",
- "subCode": "string",
- "message": "string",
- "correlationId": "string",
- "properties": {
- "property1": null,
- "property2": null
}
}
Completes an active workflow entity. This functionality is an internal method to clean-up all the relevant data and the system, and it is not meant to be used by a consumer.
workflowName required | string Name of the workflow |
workflowInstanceId required | string <uuid> The workflowInstanceId of the workflow. |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
The request payload.
status | string (WorkflowStatus) Enum: "Completed" "Abandoned" "Rejected" "Failed" |
data | any Nullable |
No Content
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "status": "Completed",
- "data": null
}
{- "code": "General",
- "subCode": "string",
- "message": "string",
- "correlationId": "string",
- "properties": {
- "property1": null,
- "property2": null
}
}
Retrieves information of one or more active workflows based on the input of the entityType and entityId(s) (e.g. entityType = contact and entityId = x). The information includes the workflow instance id and name.
entityType required | string Type of the Entity |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
List of EntityIds
entityIds | Array of strings Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "entityIds": [
- "string"
]
}
{- "activeWorkflowEntities": [
- {
- "workflowInstanceId": "string",
- "parentWorkflowInstanceId": "string",
- "entityType": "string",
- "entityId": "string",
- "workflowName": "string",
- "startTime": "2025-05-09T12:06:30Z"
}
]
}
Cancels an active workflow instance. Depending on the workflow type (workflowName) this functionality may be limited (e.g. only available in certain state or states)
workflowName required | string Name of the workflow |
workflowInstanceId required | string <uuid> The workflowInstanceId of the workflow |
Accept-Language | string The ISO 639-1 language to use for localizable data. |
The request payload
cancellationReason | string Nullable |
OK
Bad Request
Unauthorized
Forbidden
Not Found
UnprocessableEntity
Internal Server Error
{- "cancellationReason": "string"
}
{- "code": "General",
- "subCode": "string",
- "message": "string",
- "correlationId": "string",
- "properties": {
- "property1": null,
- "property2": null
}
}