✨ Create comment

<Card href="https://humansignal.com/goenterprise"> <img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/> <p style="margin-top: 10px; font-size: 14px;"> This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise) </p> </Card> Create a comment for a specific annotation ID.

Authentication

Authorizationstring
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>

Query parameters

expand_created_bybooleanOptional

Expand the created_by field

Request

This endpoint expects an object.
annotationinteger or nullOptional
classificationsany or nullOptional
Classifications applied by a reviewer or annotator
draftinteger or nullOptional
is_resolvedbooleanOptional
True if the comment is resolved
region_refany or nullOptional
Set if this comment is related to a specific part of the annotation. Normally contains region ID and control name.
textstring or nullOptional
Reviewer or annotator comment

Response

object
OR
object