Submit task for review
POST
/v1/tasks/{taskId}/submit-for-review
const url = 'https://api.varman.io/v1/tasks/tsk_abc123def456/submit-for-review';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"approverId":"mem_abc123"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.varman.io/v1/tasks/tsk_abc123def456/submit-for-review \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "approverId": "mem_abc123" }'Submit task for review in Varman. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”taskId
required
string
Example
tsk_abc123def456Unique task identifier
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
approverId
required
Member ID of the approver
string
Example
mem_abc123Responses
Section titled “Responses”Task submitted for review
Invalid request