Reply to an annotation with a reply option.
POST/api/v1/annotations/{annotation_id}/actions-takenannotations:write
Records your reply to the markup, as the viewer's action buttons do while a document is open for a workflow action. Seeing the annotation is enough: a reviewer who can only read a markup may still reply. action_reply_id must be a reply option of action_request_type_id.
| Scope | annotations:write |
| Asynchronous | No |
| MCP tool | create_annotation_action_taken |
| Portal permissions | create_annotation_action_taken |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
annotation_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
Idempotency-Key | header | string | Optional | max 255 |
Request body
| Content type | Type |
|---|---|
application/json | ActionTakenCreateInput |
Responses
| Status | Description | Body |
|---|---|---|
201 | Success. | application/json ActionTaken 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
ActionTaken
| Field | Type | Required | Description |
|---|---|---|---|
action_reply_id | string | Required | The reply option given, one of that type's replies. |
action_request_type_id | string | Required | The action request type the document was opened for (list_action_request_types). |
action_taken_id | string | Required | |
annotation_id | string | Required | |
created_by | UserRef | Required | |
created_date | string or null | Required | |
modified_by | UserRef or null | Required | Who last changed the reply; null while it is as first recorded. |
modified_date | string or null | Required | |
workflow_id | string or null | Required | The workflow the reply belongs to; null when it was given outside one. |
ActionTakenCreateInput
| Field | Type | Required | Description |
|---|---|---|---|
action_reply_id | string | Required | One of that type's reply options. |
action_request_type_id | string | Required | The action request type the document was opened for. |
workflow_id | string or null | Optional | The workflow the reply belongs to. |
UserRef
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | Required | |
kind | string: user, system, integration or string | Required | |
user_id | string or null | Required |