Skip to main content
GET
/
deal-folder
/
{dealFolder}
/
assets
/
{documentId}
/
comments
Get paginated comments for a brand-uploaded deal asset
curl --request GET \
  --url http://localhost/mogl/mogl-backend/api/deal-folder/{dealFolder}/assets/{documentId}/comments \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "data": {
    "current_page": 1,
    "last_page": 2,
    "per_page": 10,
    "total": 15,
    "comment_count": 15,
    "data": [
      {
        "id": 901,
        "type": "comment",
        "comment": "Logo placement looks good.",
        "user": {
          "id": 42,
          "name": "Jane Doe",
          "profile_photo": "<string>",
          "role_id": 2,
          "user_type": "Athlete"
        },
        "created_at": "2026-05-27T07:10:00Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Path Parameters

dealFolder
integer
required

Deal folder ID.

Example:

12

documentId
integer
required

title_and_description_documents_mappings.id of the deal asset.

Example:

77

Query Parameters

page
integer

Page number (1-indexed).

Example:

1

limit
integer

Items per page (default 10).

Example:

10

Response

Paginated asset comment thread

status
string
Example:

"success"

data
object