Skip to main content

Add a reply option to an action request type.

POST/api/v1/action-request-types/{action_request_type_id}/action-repliesworkflow_setup:write

Without sort_order the reply goes last. The reply's ID is in the Location header.

Scopeworkflow_setup:write
AsynchronousNo
MCP toolcreate_action_request_type_reply
Portal permissionscreate_workflow_request_definitions

Parameters​

NameInTypeRequiredDescription
action_request_type_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
Idempotency-KeyheaderstringOptionalmax 255

Request body​

Content typeType
application/jsonActionReplyCreateInput

Responses​

StatusDescriptionBody
201Success.application/json ActionReply or object
400invalid_version, malformed_jsonapplication/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
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

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

Schemas​

ActionReply​

FieldTypeRequiredDescription
action_reply_idstringRequired
action_request_type_idstringRequired
delegation_configActionReplyDelegationConfig or nullRequiredHow a reply that delegates behaves; null when the reply does not delegate.
document_statusobject or nullRequiredThe document status the reply sets; null for none.
icon_indexintegerRequiredThe reply's icon: its position in the Portal's reply icon picker (the Inbox shows it on the reply button); 0 for none. ≥ -2147483648; ≤ 2147483647
lock_documentbooleanRequired
namestringRequired
requires_attachment_uploadbooleanRequired
requires_notebooleanRequired
requires_replace_filebooleanRequired
requires_signaturebooleanRequired
requires_valid_custom_fieldsbooleanRequired
return_to_senderbooleanRequired
sort_orderintegerRequired≥ -2147483648; ≤ 2147483647
use_workflow_statusbooleanRequired

ActionReplyCreateInput​

FieldTypeRequiredDescription
delegation_configActionReplyDelegationConfigInput or nullOptional
document_statusobject or nullOptional
icon_indexinteger or nullOptionalThe reply's icon, its position in the Portal's reply icon picker; defaults to 0 (none).
lock_documentbooleanOptional
namestringRequired
requires_attachment_uploadbooleanOptional
requires_notebooleanOptional
requires_replace_filebooleanOptional
requires_signaturebooleanOptional
requires_valid_custom_fieldsbooleanOptional
return_to_senderbooleanOptional
sort_orderinteger or nullOptionalDefaults to after the type's last reply.
use_workflow_statusbooleanOptional

ActionReplyDelegationConfig​

FieldTypeRequiredDescription
delegated_inputbooleanRequired
hide_when_delegatedbooleanRequired
return_when_delegatedbooleanRequired

ActionReplyDelegationConfigInput​

FieldTypeRequiredDescription
delegated_inputbooleanOptional
hide_when_delegatedbooleanOptional
return_when_delegatedbooleanOptional