Skip to main content

List every action request of a workflow, in any state.

GET/api/v1/workflows/{workflow_id}/action-requestsworkflows:read

All the requests of a workflow you may open: open, answered and cancelled, addressed to anyone, oldest first. Unlike list_action_requests (your own open Inbox) this is the workflow's page: who each request went to, who sent it, and for an answered one the reply, comment, who answered and how many warnings they accepted. state is open, answered or cancelled; workflow_item_id narrows to one item.

Scopeworkflows:read
AsynchronousNo
MCP toollist_workflow_action_requests
Portal permissionsview_workflow_details
Pagingkeyset
Default orderaction_request_id
Sort fieldsaction_request_id
Filtersstate, workflow_item_id

Parameters​

NameInTypeRequiredDescription
workflow_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
statequeryarray of stringOptional
workflow_item_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 ActionRequestRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

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

Schemas​

ActionRequest​

FieldTypeRequiredDescription
action_request_idstringRequired
action_request_type_idstringRequired
action_typestringRequired
answerActionRequestAnswer or nullRequiredThe decision recorded on the request; null while it is open.
assigned_to_callerbooleanRequiredtrue when the request is yours to answer: addressed to you or a group of yours, or left with you by a delegation rule.
delegated_fromUserRef or nullRequiredThe user the request was delegated away from; null when it was not delegated, or when the delegator was a group.
documentActionRequestDocument or nullRequiredThe document the request is about; null for a request about another entity.
due_atstring (date-time) or nullRequired
node_idstring or nullRequiredThe step that created the request, when a template step did.
node_labelstring or nullRequired
node_typestring or nullRequired
recipientActionRequestRecipientRequired
requires_mfabooleanRequired
senderUserRefRequired
sent_atstring (date-time) or nullRequired
statestringRequiredopen, answered or cancelled (open enum).
template_namestring or nullRequired
workflow_cancelledbooleanRequired
workflow_idstringRequired
workflow_item_idstringRequired
workflow_subjectstringRequired

ActionRequestAnswer​

FieldTypeRequiredDescription
acknowledged_warning_countintegerRequiredHow many warnings the person read and accepted when they gave the reply. ≥ -2147483648; ≤ 2147483647
answered_atstring (date-time) or nullRequired
answered_byUserRef or nullRequired
commentstring or nullRequired
replystring or nullRequired
response_idstringRequired

ActionRequestDocument​

FieldTypeRequiredDescription
accessiblebooleanRequired
descriptionstring or nullRequired
document_idstring or nullRequired
document_typestring or nullRequired
reference_numberstring or nullRequired

ActionRequestRecipient​

FieldTypeRequiredDescription
group_idstring or nullRequired
typestringRequireduser or group.
userUserRef or nullRequired

UserRef​

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