Get a document review schedule
GET
/v1/document-templates/documents/{policyId}/schedule
const url = 'https://api.varman.io/v1/document-templates/documents/example/schedule';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.varman.io/v1/document-templates/documents/example/schedule \ --header 'X-API-Key: <X-API-Key>'Returns the review cadence, next due date and review task for a document, plus the template it was created from. Use it before changing the schedule to show the current due date.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”policyId
required
string
Header Parameters
Section titled “Header Parameters”X-Organization-Id
string