Add a comment on a URL

πŸ“˜

See URL identifiers from more information about how to generate a valid URL identifier for a URL.

With this endpoint you can post a comment for a given URL. The body for the POST request must be the JSON representation of a comment object. Notice however that you don't need to provide an ID for the object, as they are automatically generated for new comments.

Any word starting with # in your comment's text will be considered a tag, and added to the comment's tag attribute.

{ "data": { "type": "comment", "attributes": { "text": "Lorem #ipsum dolor sit ..." } } }

Returns a Comment object.

Path Params
string
required

URL identifier

Body Params
json
required
Defaults to {"type": "comment", "attributes": {"text": "Lorem ipsum dolor sit ..."}}

A comment object

Headers
string
required

Your API key

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json