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.
| Scope | workflow_setup:write |
| Asynchronous | No |
| MCP tool | create_action_request_type_reply |
| Portal permissions | create_workflow_request_definitions |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
action_request_type_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
Idempotency-Key | header | string | Optional | max 255 |
Request body
| Content type | Type |
|---|---|
application/json | ActionReplyCreateInput |
Responses
| Status | Description | Body |
|---|---|---|
201 | Success. | application/json ActionReply or object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | idempotency_in_progress | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | idempotency_key_reused, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
ActionReply
| Field | Type | Required | Description |
|---|---|---|---|
action_reply_id | string | Required | |
action_request_type_id | string | Required | |
delegation_config | ActionReplyDelegationConfig or null | Required | How a reply that delegates behaves; null when the reply does not delegate. |
document_status | object or null | Required | The document status the reply sets; null for none. |
icon_index | integer | Required | The 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_document | boolean | Required | |
name | string | Required | |
requires_attachment_upload | boolean | Required | |
requires_note | boolean | Required | |
requires_replace_file | boolean | Required | |
requires_signature | boolean | Required | |
requires_valid_custom_fields | boolean | Required | |
return_to_sender | boolean | Required | |
sort_order | integer | Required | ≥ -2147483648; ≤ 2147483647 |
use_workflow_status | boolean | Required |
ActionReplyCreateInput
| Field | Type | Required | Description |
|---|---|---|---|
delegation_config | ActionReplyDelegationConfigInput or null | Optional | |
document_status | object or null | Optional | |
icon_index | integer or null | Optional | The reply's icon, its position in the Portal's reply icon picker; defaults to 0 (none). |
lock_document | boolean | Optional | |
name | string | Required | |
requires_attachment_upload | boolean | Optional | |
requires_note | boolean | Optional | |
requires_replace_file | boolean | Optional | |
requires_signature | boolean | Optional | |
requires_valid_custom_fields | boolean | Optional | |
return_to_sender | boolean | Optional | |
sort_order | integer or null | Optional | Defaults to after the type's last reply. |
use_workflow_status | boolean | Optional |
ActionReplyDelegationConfig
| Field | Type | Required | Description |
|---|---|---|---|
delegated_input | boolean | Required | |
hide_when_delegated | boolean | Required | |
return_when_delegated | boolean | Required |
ActionReplyDelegationConfigInput
| Field | Type | Required | Description |
|---|---|---|---|
delegated_input | boolean | Optional | |
hide_when_delegated | boolean | Optional | |
return_when_delegated | boolean | Optional |