Approve, reject or withdraw content
review_approvalApprove, reject or withdraw one pending approval request.
When to use:
This connection's person is an approver and a request is waiting (list_items kind approvals; read it with get_items kind approvals).
Cancelling a request that is no longer wanted, or one left behind by a person who has gone: withdraw.
When NOT to use:
Editing the content: use update_items (an edit opens a new request).
What to know:
approve airs the content where it is assigned, at once; reject keeps it off screens; withdraw closes the request with no decision and puts the content back to draft. Each is final.
approve and reject need this connection's person to be an approver in the request's chain; withdraw needs the requester or such an approver. Otherwise the call is refused.
Parameters:
approvalId: an ar_… id from list_items kind approvals.
reason: required with reject and shown to the requester word for word; with approve, an optional note; ignored with withdraw.
Example: {approvalId:"ar_12", decision:"reject", reason:"Price on slide 2 is wrong."}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why. | |
| decision | Yes | Approve, reject or withdraw. | |
| approvalId | Yes | Approval request id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | The request with its new state and who decided. |