transition_document_state
Move a document to a target state in its approval flow, using state IDs from list_flow_states. The transition may be rejected if the flow requires an approver that the current user is not.
Instructions
Move a document to another state in its flow. Get valid state ids from list_flow_states (the document's flow is on its content type). Transitions may be rejected if the flow requires an approver the API key's user is not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document id (UUID) | |
| state_id | Yes | Target state id (UUID) |