comments

Creates a new comment

post/comments

Query parameters

user_idstring required

The user ID of the user making the request

Request body

entityType'Track' | 'FanClub' | 'Event' required

Type of entity that can be commented on

entityIdinteger required

ID of the entity being commented on

bodystring required

Comment text

commentIdinteger

Optional ID for the comment (will be generated if not provided)

parentIdinteger

Parent comment ID if this is a reply

trackTimestampSinteger

Timestamp in the track where the comment was made (in seconds)

mentionsinteger[]

Array of user IDs mentioned in the comment (max 10)

videoUrlstring nullable

Optional URL for a video attachment (stored on the comment record)

Example request

{
  "entityId": 12345,
  "body": "Great track!",
  "commentId": 98765,
  "parentId": 54321,
  "mentions": [
    67890
  ]
}

Response

Comment created successfully

transaction_hashstring

The blockchain transaction hash

block_hashstring

The blockchain block hash

block_numberinteger

The blockchain block number/height

comment_idstring

The ID of the created comment

Changes