Audits

Post a review comment on a question or evidence attachment

POST
/audits/comments

Auditor/Manager posts a targeted comment on a QUESTION or EVIDENCE target. Updates parent status to CLARIFICATION_REQUESTED and notifies the IT Owner.

Authorization

SupabaseBearer
AuthorizationBearer <token>

Supabase user access token (Authorization: Bearer JWT)

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/audits/comments" \  -H "Content-Type: application/json" \  -d '{    "target_type": "QUESTION",    "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",    "comment_text": "string"  }'
Empty
Empty
{  "message": "string"}
Empty
Empty