Skip to main content

List the replies an action request offers you.

GET/api/v1/action-requests/{action_request_id}/action-repliesworkflows:decide

The replies an open request addressed to you offers, each with what it needs and whether the API can give it. A closed request lists none.

Scopeworkflows:decide
AsynchronousNo
MCP toollist_action_request_replies
Portal permissionsview_own_workflow_actions
Pagingkeyset
Default ordersort_order, action_reply_id
Sort fieldssort_order, action_reply_id

Parameters​

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

Errors​

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

Schemas​

ActionRequestNeed​

FieldTypeRequiredDescription
messagestringRequired
needstringRequired

ActionRequestReply​

FieldTypeRequiredDescription
action_reply_idstringRequired
blocked_byarray of ActionRequestNeedRequired
can_take_through_apibooleanRequiredWhether the reply can be given now; false when blocked_by names what it still needs (a replacement file or uploads show there until they are done).
labelstringRequired
locks_documentbooleanRequired
needs_attachment_uploadbooleanRequiredAt least one upload must be linked to the request (create_action_request_attachment_link) before this reply is accepted.
needs_commentbooleanRequired
needs_delegate_userbooleanRequired
needs_replacement_filebooleanRequiredThe document's file must be replaced (a new version uploaded) after the request was sent before this reply is accepted.
needs_valid_custom_fieldsbooleanRequired
required_upload_slot_idsarray of stringRequiredThe upload slots (list_action_request_upload_slots) that must each have an upload linked before this reply is accepted.
sets_document_statusbooleanRequired
sort_orderinteger or nullRequired