Search the workflows in the Inbox with a saved view or a filter.
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.
| Scope | workflows:read |
| Asynchronous | No |
| MCP tool | search_workflows |
| Portal permissions | view_inbox |
| Paging | snapshot |
| Default order | last_updated |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
limit | query | integer | Optional | Default: 50; ≥ 1 |
cursor | query | string | Optional | |
Docwize-Version | header | string (date) | Optional |
Request body
| Content type | Type |
|---|---|
application/json | WorkflowSearchInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
410 | cursor_expired | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
items | array of Workflow | Required | |
next_cursor | string or null | Required | |
warnings | array of object | Required |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
InboxDynamicFilterValueInput
| Field | Type | Required | Description |
|---|---|---|---|
dynamic_filter | string | Required | The id of one of the view's dynamic_filter_defs. |
value | string | Required | The value, as text; an empty one adds no filter, as in the Inbox. |
UserRef
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required |
Workflow
| Field | Type | Required | Description |
|---|---|---|---|
due_at | string (date-time) or null | Required | |
is_cancelled | boolean | Required | |
is_completed | boolean | Required | |
open_action_count | integer | Required | ≥ -2147483648; ≤ 2147483647 |
open_action_count_for_me | integer | Required | ≥ -2147483648; ≤ 2147483647 |
recipients | array of WorkflowRecipient | Required | Who the workflow was sent to (its recipients): the people and groups it shows to, beside the requests it sends them. |
started_at | string (date-time) or null | Required | |
started_by | UserRef | Required | |
status | string | Required | cancelled, failed, in_progress, completed or pending (open enum). |
subject | string | Required | |
template_name | string or null | Required | |
workflow_id | string | Required | |
workflow_template_version_id | string or null | Required | The version of the template the workflow runs. |
WorkflowRecipient
| Field | Type | Required | Description |
|---|---|---|---|
group_id | string or null | Required | |
type | string | Required | user, group or unknown (open enum). |
type_code | string or null | Required | The stored type code, for an unknown recipient type; null otherwise. |
user | UserRef or null | Required |
WorkflowSearchInput
| Field | Type | Required | Description |
|---|---|---|---|
dynamic_filter_values | array of InboxDynamicFilterValueInput | Optional | Values for the dynamic filters of inbox_view_id. |
filter_rules | object or null | Optional | A 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_id | string or null | Optional | Open 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_ascending | boolean or null | Optional | false (default) puts the largest or newest first. |
order_by | string: last_updated, name, action_count, favorites, overdue, completed or null | Optional | last_updated (default), name, action_count, favorites, overdue or completed. |
search | string or null | Optional | Words in the workflow's subject, its people or its documents, as the Inbox's search box reads them. |
status_filter | string: open_for_me, sent, outstanding or null | Optional | The Inbox's tab: open_for_me, sent or outstanding. Left out, every workflow you can see that is not cancelled. |
workflow_template_name | string or null | Optional | Workflows whose template's name contains this text, without regard to case. |