Resolve who may receive an action request or distribution for given documents, projects or workflow items.
Workflow items resolve to their documents and documents to their project; a user is eligible when they belong to every project in scope (a user, a group expanded to its members, or an explicit everyone row). With no project in scope every active user is eligible; a project with no members makes nobody eligible. Give at least one of document_ids, project_ids and workflow_item_ids (422 otherwise; over 1000 documents is 422 too). Needs View Users, and View Workflow Details when workflow_item_ids are given. 403 when you cannot read one of the documents. Read-only.
| |
|---|
| Scope | users:read |
| Asynchronous | No |
| MCP tool | resolve_eligible_recipients |
| Portal permissions | view_users |
Parameters
| Name | In | Type | Required | Description |
|---|
Docwize-Version | header | string (date) | Optional | |
Request body
Responses
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
EligibleProject
| Field | Type | Required | Description |
|---|
name | string or null | Required | The project number as stored; the Portal warns "does not belong to Project X" with it. |
project_id | string | Required | |
EligibleRecipients
| Field | Type | Required | Description |
|---|
projects | array of EligibleProject | Required | The projects the documents, workflow items and projects given resolved to. |
users | array of UserRef | Required | The users who may receive the request, by display name, in user order. |
| Field | Type | Required | Description |
|---|
document_ids | array of string | Optional | Documents the recipients would act on; you must be able to read every one. |
project_ids | array of string | Optional | Projects the recipients must belong to. |
workflow_item_ids | array of string | Optional | Workflow items whose documents are used. |
UserRef
| Field | Type | Required | Description |
|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required | |