Skip to main content
GET
/
api
/
comments
cURL
curl --request GET \
  --url https://api.recoupable.com/api/comments \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "comments": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "post_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "social_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "comment": "<string>",
      "commented_at": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "total_count": 123,
    "page": 123,
    "limit": 123,
    "total_pages": 123
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

artist_account_id
string<uuid>
required

The unique identifier of the artist account to fetch comments for

post_id
string<uuid>

Filter comments by specific post

page
integer
default:1

Page number for pagination (default: 1)

limit
integer
default:10

Number of comments per page (default: 10)

Response

Comments retrieved successfully

status
enum<string>
required

Status of the request

Available options:
success
comments
object[]
required

List of comments for the specified artist or post

pagination
object
required

Pagination metadata for the response