AdnovaDocs
Creative Hub

List comments

List every comment thread on a file version, each with its replies inline. Both open and resolved threads are returned — use resolved to tell them apart. internal threads are included too; the visibility flag only hides them from share-link viewers, never from API callers.

GET
/files/{fileId}/versions/{versionId}/comments

Authentication

authentication
api-key<token>

Create an API key from the Adnova dashboard (Account integrations). Pass the key value in the api-key request header on every call.

In: header

Path Parameters

fileId*string

File id.

Length1 <= length
versionId*string

File version id (returned by the upload-complete endpoints).

Length1 <= length

Header Parameters

x-workspace-id*string

Workspace the request operates in. Get it from List workspaces.

Length1 <= length
x-org-id*string

Organization context (required on every endpoint).

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.adnova.ai/creative-hub/v1/files/01J8ZF9K8M7N6P5R4S3T2V1W0X/versions/01J8ZG0L9N8P7Q6R5S4T3V2W1Y/comments" \  -H "x-workspace-id: 01J8ZQ9X2K3M4N5P6R7S8T9V0W" \  -H "x-org-id: 01J8ZQ7B3C4D5F6G7H8K9M0N1P"
{
  "data": [
    {
      "commentId": "01J8ZW6C3D4E5F6G7H8J9K0M1N",
      "content": "Logo is cut off on the left edge here.",
      "annotation": {},
      "timestamp": 12.4,
      "visibility": "public",
      "resolved": false,
      "replies": [
        {
          "replyId": "01J8ZX7D4E5F6G7H8J9K0M1N2P",
          "content": "Agreed — fixed in the next cut.",
          "createdBy": "01J8ZQ5A1B2C3D4E5F6G7H8J9K",
          "createdAt": "2019-08-24T14:15:22Z",
          "modifiedAt": "2019-08-24T14:15:22Z"
        }
      ],
      "createdBy": "01J8ZQ5A1B2C3D4E5F6G7H8J9K",
      "createdAt": "2019-08-24T14:15:22Z",
      "modifiedAt": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}