Bulk submit tasks for review
POST
/v1/tasks/bulk/submit-for-review
const url = 'https://api.varman.io/v1/tasks/bulk/submit-for-review';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"taskIds":["tsk_abc123","tsk_def456"],"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/bulk/submit-for-review \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "taskIds": [ "tsk_abc123", "tsk_def456" ], "approverId": "mem_abc123" }'Bulk submit tasks for review in Varman. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
taskIds
required
Array<string>
Example
[ "tsk_abc123", "tsk_def456"]approverId
required
Member ID of the approver
string
Example
mem_abc123Responses
Section titled “Responses”Tasks submitted for review
Invalid request