Update a comment | Comp AI API
Update a comment in Comp AI. Create and manage collaboration comments on compliance entities such as tasks, policies, risks, vendors, and findings.
Authorizations
API key for authentication
Path Parameters
Unique comment identifier
"cmt_abc123def456"
Body
Updated content of the comment
2000"This task needs to be completed by end of week (updated)"
Optional URL of the page where the comment was updated, used for deep-linking in notifications
2048"https://app.trycomp.ai/org_abc123/risk/rsk_abc123?taskItemId=tki_abc123#task-items"
User ID of the comment author (required for API key auth, ignored for JWT auth)
"usr_abc123def456"
Response
Comment updated successfully
Unique identifier for the comment
"cmt_abc123def456"
Comment content
"This task needs to be completed by end of week"
Comment author information
Attachment metadata (URLs generated on-demand)
Comment creation timestamp
"2024-01-15T10:30:00Z"

