Skip to content

Accept or return a request

POST
/v1/audits/{auditId}/requests/{requestId}/review
curl --request POST \
--url https://api.varman.io/v1/audits/aud_abc123/requests/aur_abc123/review \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "decision": "accepted", "note": "Need the full user list" }'

Accepts a submitted request or returns it with needs_changes and an optional note added to the thread. Allowed for auditors on the audit and admins.

auditId
required
string

Example

aud_abc123

Audit ID

requestId
required
string

Example

aur_abc123

Audit request ID

Media typeapplication/json
object
decision
required

Accept the request or return it

string
Allowed values: accepted needs_changes
note

Note added to the comment thread

string

Example

Need the full user list