Skip to main content

List the upload slots of an action request.

GET/api/v1/action-requests/{action_request_id}/upload-slotsworkflows:read

The places the request's step asks for files (its Attachment Configs), in the order the step defines them. A reply that asks for uploads is refused until every required slot (is_optional false) has a file linked to it; list_action_request_replies names the slots each reply waits for. Read for a request you may see.

Scopeworkflows:read
AsynchronousNo
MCP toollist_action_request_upload_slots
Portal permissionsperform_workflow_actions
Pagingkeyset
Default orderposition
Sort fieldsposition

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 ActionRequestUploadSlotRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

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

Schemas​

ActionRequestUploadSlot​

FieldTypeRequiredDescription
descriptionstringRequired
document_typestring or nullRequiredThe document type the Inbox gives an upload to this slot; null when the slot sets none.
is_instant_renderbooleanRequiredThe Inbox shows the slot on the request itself, before a reply is chosen.
is_optionalbooleanRequiredAn optional slot never holds a reply back.
is_required_for_all_repliesbooleanRequiredA required slot normally holds back only the replies that ask for uploads; this one holds back every reply.
starts_sub_workflowbooleanRequiredEach upload linked to the slot starts a sub-workflow on the uploaded document.
upload_slot_idstringRequiredThe Attachment Config the files are uploaded against; pass it as upload_slot_id when linking an upload.