Skip to main content
GET
/
tracks
/
{id}
/
comments
List all track comments
curl --request GET \
  --url https://open.beatpass.ca/api/v1/tracks/{id}/comments \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "pagination": {
    "current_page": 1,
    "from": 1,
    "to": 100,
    "per_page": 25,
    "last_page": 156,
    "total": 264,
    "data": [
      {
        "id": 1,
        "content": "comment text",
        "position": 0,
        "depth": 1,
        "deleted": false,
        "user": {
          "id": 123,
          "display_name": "<string>",
          "avatar": "<string>"
        }
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

ID of the track

Query Parameters

perPage
integer
default:20

How many comments to return per page

page
integer
default:1

Which page to return

Response

Response body contains a paginated list of track comments in JSON format.

status
string
Example:

"success"

pagination
object
Last modified on November 29, 2025