Skip to main content

List the workflows the caller can see.

GET/api/v1/workflowsworkflows:read

The workflows in the Inbox's view of the caller, newest first, cancelled ones left out (include_cancelled lists them too). status_filter selects open_for_me, sent or outstanding; template_id matches any of its template's versions; template_name matches the template's name; started_at_from and started_at_to bound when it started; created_by_id is who started it; document_id lists the workflows a document is in (a document you may read); action_request_type_id lists the workflows where an open request of that type is yours (addressed to you, to a group of yours, or passed on by you). sort by subject, started_at or due_at as well as workflow_id. include=total_count adds total_count, the number of workflows the filters match: status_filter=open_for_me with it is the number the Inbox badge shows (the workflows waiting on you).

Scopeworkflows:read
AsynchronousNo
MCP toollist_workflows
Pagingkeyset
Default order-workflow_id
Sort fieldsworkflow_id, subject, started_at, due_at
Filtersstatus_filter, template_id, template_name, started_at, started_at_from, started_at_to, started_at_is_null, created_by_id, document_id, action_request_type_id

Parameters​

NameInTypeRequiredDescription
searchquerystring or nullOptionalWorkflows whose subject, or the description of a document they involve that you may read, contains this text, without regard to case.
include_cancelledqueryboolean or nullOptionaltrue also lists the workflows that were cancelled (the Document Details Workflows tab does); ignored with status_filter. Default false.
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
includequeryarray of string: total_countOptionaltotal_count asks for the number of items the whole list holds for the caller under the same filters (not only this page), counted under the same access rules as the items; the answer then carries total_count. Left out, it is not counted.
status_filterqueryarray of stringOptional
template_idqueryarray of stringOptional
template_namequeryarray of stringOptional
started_atqueryarray of string (date-time)Optional
started_at_fromquerystring (date-time)Optional
started_at_toquerystring (date-time)Optional
started_at_is_nullquerybooleanOptional
created_by_idqueryarray of stringOptional
document_idqueryarray of stringOptional
action_request_type_idqueryarray of stringOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of WorkflowRequired
next_cursorstring or nullRequired
total_countintegerOptionaltotal_count asks for the number of items the whole list holds for the caller under the same filters (not only this page), counted under the same access rules as the items; the answer then carries total_count. Left out, it is not counted. ≥ 0; ≤ 2147483647
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired

Workflow​

FieldTypeRequiredDescription
due_atstring (date-time) or nullRequired
is_cancelledbooleanRequired
is_completedbooleanRequired
open_action_countintegerRequired≥ -2147483648; ≤ 2147483647
open_action_count_for_meintegerRequired≥ -2147483648; ≤ 2147483647
recipientsarray of WorkflowRecipientRequiredWho the workflow was sent to (its recipients): the people and groups it shows to, beside the requests it sends them.
started_atstring (date-time) or nullRequired
started_byUserRefRequired
statusstringRequiredcancelled, failed, in_progress, completed or pending (open enum).
subjectstringRequired
template_namestring or nullRequired
workflow_idstringRequired
workflow_template_version_idstring or nullRequiredThe version of the template the workflow runs.

WorkflowRecipient​

FieldTypeRequiredDescription
group_idstring or nullRequired
typestringRequireduser, group or unknown (open enum).
type_codestring or nullRequiredThe stored type code, for an unknown recipient type; null otherwise.
userUserRef or nullRequired