Skip to main content
PATCH
This endpoint updates the status of an annotation. It supports:
  • Updating annotation status
  • Verifying annotation ownership before updating
  • Returning updated annotation with related data
Authentication is required. You must provide a valid session with an organization ID, and the annotation must belong to your organization.

Path

string
required
The ID of the annotation to update (CUID format).

Body

Required

string
required
The new status for the annotation. Valid status values depend on your organization’s configuration.

Response

string
Unique identifier of the annotation (CUID format).
string
ID of the message this annotation refers to.
string
ID of the organization the annotation belongs to.
string
Comment or feedback text for the annotation.
string
Sentiment of the annotation (e.g., positive, negative, neutral).
string
Updated status of the annotation.
string
ID of the user who created the annotation.
string
ISO 8601 timestamp of when the annotation was created.
string
ISO 8601 timestamp of when the annotation was last updated.
object
Information about the user who created the annotation.
array
Tags associated with the annotation.

Error Responses