Comment on a request
POST
/v1/audits/{auditId}/requests/{requestId}/comments
const url = 'https://api.varman.io/v1/audits/aud_abc123/requests/aur_abc123/comments';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"content":"Uploaded the export from Okta"}'};
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/audits/aud_abc123/requests/aur_abc123/comments \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "content": "Uploaded the export from Okta" }'Adds a comment to the thread of an audit request. Anyone who can see the request can comment: admins, auditors on the audit and the request owner.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”auditId
required
string
Example
aud_abc123Audit ID
requestId
required
string
Example
aur_abc123Audit request ID
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
content
required
Comment text
string
Example
Uploaded the export from Okta