Skip to main content
POST
Create a comment

Authorizations

Authorization
string
header
required

Organization API key (sl_…).

Headers

x-tenant-id
string
required

The organization ID the request is scoped to.

Body

application/json

Request body for creating a comment.

srn
string
required

The SELECT Resource Name (SRN) of the resource to comment on.

content
string
required

The text of the comment.

Minimum string length: 1

Response

Successful Response

A comment that a user posted on a SELECT resource.

id
string
required
read-only

The unique identifier of the comment.

author_email
string
required
read-only

The email address of the comment author.

content
string
required

The text of the comment.

created_at
string<date-time>
required
read-only

When the comment was created.

updated_at
string<date-time>
required
read-only

When the comment was last changed.

type
string
default:comment
read-only

The kind of activity. Always comment.

Allowed value: "comment"