Skip to content

Approve a task

POST
/v1/tasks/{taskId}/approve
curl --request POST \
--url https://api.varman.io/v1/tasks/tsk_abc123def456/approve \
--header 'X-API-Key: <X-API-Key>'

Approve a task that is in review. Only the assigned approver can approve. Moves status to done and creates an audit comment.

taskId
required
string

Example

tsk_abc123def456

Unique task identifier

Task approved successfully

Task is not in review

Not the assigned approver