Skip to main content

Search the workflows in the Inbox with a saved view or a filter.

POST/api/v1/workflows/searchworkflows:read

The Inbox's own search: the workflows you can see, filtered as the Inbox filters them and ordered as it orders them (order_by: last_updated, name, action_count, favorites, overdue or completed). inbox_view_id opens a saved view: its static filters apply, with a rule for each dynamic filter that dynamic_filter_values gives a value. filter_rules adds a rule group of your own (the fields are in list_inbox_filter_fields). search, status_filter and workflow_template_name narrow it further. The workflows whose open tasks you hold are all in a task group are left out, as the Inbox lists them as cards (list_action_request_groups); list_workflows lists them. Rows are the same as list_workflows'. Paging is by position: pass next_cursor back as cursor.

Scopeworkflows:read
AsynchronousNo
MCP toolsearch_workflows
Portal permissionsview_inbox
Pagingsnapshot
Default orderlast_updated

Parameters​

NameInTypeRequiredDescription
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
Docwize-Versionheaderstring (date)Optional

Request body​

Content typeType
application/jsonWorkflowSearchInput

Responses​

StatusDescriptionBody
200Success.application/json object
400invalid_version, malformed_jsonapplication/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
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/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
warningsarray of objectRequired

Errors​

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

Schemas​

InboxDynamicFilterValueInput​

FieldTypeRequiredDescription
dynamic_filterstringRequiredThe id of one of the view's dynamic_filter_defs.
valuestringRequiredThe value, as text; an empty one adds no filter, as in the Inbox.

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

WorkflowSearchInput​

FieldTypeRequiredDescription
dynamic_filter_valuesarray of InboxDynamicFilterValueInputOptionalValues for the dynamic filters of inbox_view_id.
filter_rulesobject or nullOptionalA rule group to filter by, in the format of a view's static_filters (inbox_view_static_filters, version 1); it adds to the view's filters, and every rule must hold. The fields to name are in list_inbox_filter_fields.
inbox_view_idstring or nullOptionalOpen this saved view: its static filters apply, and a rule for each of its dynamic filters that dynamic_filter_values gives a value. A view you can see.
is_ascendingboolean or nullOptionalfalse (default) puts the largest or newest first.
order_bystring: last_updated, name, action_count, favorites, overdue, completed or nullOptionallast_updated (default), name, action_count, favorites, overdue or completed.
searchstring or nullOptionalWords in the workflow's subject, its people or its documents, as the Inbox's search box reads them.
status_filterstring: open_for_me, sent, outstanding or nullOptionalThe Inbox's tab: open_for_me, sent or outstanding. Left out, every workflow you can see that is not cancelled.
workflow_template_namestring or nullOptionalWorkflows whose template's name contains this text, without regard to case.