For the complete documentation index, see llms.txt. This page is also available as Markdown.

Comments

Read, add, reply to, resolve, and export comments on assets.

For video and audio, set timestamp (in seconds from the start) to pin a comment to a moment, and add duration to cover a range.

Get all comments for an asset

get

Get all comments for an asset

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to retrieve

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
drive_idstring · uuidOptional

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

A list of all comments for the asset

application/json
idstring · uuidRequired
asset_idstring · uuid · nullableRequired
contentstringRequired
createdstring · date-timeRequired
updatedstring · date-timeRequired
resolvedbooleanRequired
is_publicbooleanRequired
parent_idstring · uuid · nullableRequired
timestampnumber · nullableRequired
durationnumber · nullableRequired
is_copiedbooleanOptionalDefault: false
get/assets/{asset_id}/comments
GET /assets/{asset_id}/comments HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "asset_id": "123e4567-e89b-12d3-a456-426614174000",
    "content": "text",
    "author": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "email": "text",
      "avatar_url": "text",
      "user_type": "regular"
    },
    "created": "2026-01-01T00:00:00.000Z",
    "updated": "2026-01-01T00:00:00.000Z",
    "resolved": true,
    "is_public": true,
    "parent_id": "123e4567-e89b-12d3-a456-426614174000",
    "timestamp": 1,
    "duration": 1,
    "pdf_annotations": {
      "page_number": 1,
      "xfdf": "text",
      "annotation_type": "highlight",
      "selected_text": "text"
    },
    "replies": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "asset_id": "123e4567-e89b-12d3-a456-426614174000",
        "content": "text",
        "author": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text",
          "email": "text",
          "avatar_url": "text",
          "user_type": "regular"
        },
        "created": "2026-01-01T00:00:00.000Z",
        "updated": "2026-01-01T00:00:00.000Z",
        "resolved": true,
        "is_public": true,
        "parent_id": "123e4567-e89b-12d3-a456-426614174000",
        "timestamp": 1,
        "duration": 1,
        "pdf_annotations": {
          "page_number": 1,
          "xfdf": "text",
          "annotation_type": "highlight",
          "selected_text": "text"
        },
        "replies": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "asset_id": "123e4567-e89b-12d3-a456-426614174000",
            "content": "text",
            "author": {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "name": "text",
              "email": "text",
              "avatar_url": "text",
              "user_type": "regular"
            },
            "created": "2026-01-01T00:00:00.000Z",
            "updated": "2026-01-01T00:00:00.000Z",
            "resolved": true,
            "is_public": true,
            "parent_id": "123e4567-e89b-12d3-a456-426614174000",
            "timestamp": 1,
            "duration": 1,
            "pdf_annotations": {
              "page_number": 1,
              "xfdf": "text",
              "annotation_type": "highlight",
              "selected_text": "text"
            },
            "replies": "[Circular Reference]",
            "mentions": [
              {
                "user_id": "text",
                "text": "text",
                "start_index": 1,
                "end_index": 1,
                "user_name": ""
              }
            ],
            "reactions": [
              {
                "users": [
                  {
                    "id": "123e4567-e89b-12d3-a456-426614174000",
                    "name": "text",
                    "email": "text",
                    "avatar_url": "text",
                    "user_type": "regular",
                    "comment_id": "123e4567-e89b-12d3-a456-426614174000"
                  }
                ],
                "content": "text",
                "count": 1
              }
            ],
            "anchor": {
              "x": 1,
              "y": 1
            },
            "annotation": [
              {
                "tool": "text",
                "color": "text",
                "size": 1,
                "xs": [
                  1
                ],
                "ys": [
                  1
                ]
              }
            ],
            "is_copied": false,
            "attachments": [
              {
                "id": "123e4567-e89b-12d3-a456-426614174000",
                "drive_id": "123e4567-e89b-12d3-a456-426614174000",
                "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
                "uploaded": true,
                "name": "text",
                "mime_type": "text",
                "size": 1,
                "download_url": "text"
              }
            ]
          }
        ],
        "mentions": [
          {
            "user_id": "text",
            "text": "text",
            "start_index": 1,
            "end_index": 1,
            "user_name": ""
          }
        ],
        "reactions": [
          {
            "users": [
              {
                "id": "123e4567-e89b-12d3-a456-426614174000",
                "name": "text",
                "email": "text",
                "avatar_url": "text",
                "user_type": "regular",
                "comment_id": "123e4567-e89b-12d3-a456-426614174000"
              }
            ],
            "content": "text",
            "count": 1
          }
        ],
        "anchor": {
          "x": 1,
          "y": 1
        },
        "annotation": [
          {
            "tool": "text",
            "color": "text",
            "size": 1,
            "xs": [
              1
            ],
            "ys": [
              1
            ]
          }
        ],
        "is_copied": false,
        "attachments": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "drive_id": "123e4567-e89b-12d3-a456-426614174000",
            "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
            "uploaded": true,
            "name": "text",
            "mime_type": "text",
            "size": 1,
            "download_url": "text"
          }
        ]
      }
    ],
    "mentions": [
      {
        "user_id": "text",
        "text": "text",
        "start_index": 1,
        "end_index": 1,
        "user_name": ""
      }
    ],
    "reactions": [
      {
        "users": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "name": "text",
            "email": "text",
            "avatar_url": "text",
            "user_type": "regular",
            "comment_id": "123e4567-e89b-12d3-a456-426614174000"
          }
        ],
        "content": "text",
        "count": 1
      }
    ],
    "anchor": {
      "x": 1,
      "y": 1
    },
    "annotation": [
      {
        "tool": "text",
        "color": "text",
        "size": 1,
        "xs": [
          1
        ],
        "ys": [
          1
        ]
      }
    ],
    "is_copied": false,
    "attachments": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "drive_id": "123e4567-e89b-12d3-a456-426614174000",
        "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
        "uploaded": true,
        "name": "text",
        "mime_type": "text",
        "size": 1,
        "download_url": "text"
      }
    ]
  }
]

Add a comment to an asset

post

Add a comment to an asset

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to retrieve

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Body
drive_idstring · uuidOptional

The id of the drive this asset is in

commentstringRequired

The comment to add to the asset

timestampnumber · nullableOptional

Seconds from the start of the video or audio to pin the comment to.

durationnumber · nullableOptional

Length in seconds of the range the comment covers, starting at timestamp.

is_publicbooleanOptional

Whether the comment is public or not

Default: true
urlstringRequired

Link to the comment, used in notification emails. Point it at the asset in the Shade web app: https://app.shade.inc/{workspace_domain}/a/{drive_identifier}/{asset_id}?commentId=REPLACE_COMMENT_ID_ON_SERVER. Shade replaces REPLACE_COMMENT_ID_ON_SERVER with the new comment's ID.

attachment_tokensstring[] · nullableOptional

JWT tokens for attachments to link to this comment

Responses
200

The comment

application/json
idstring · uuidRequired
asset_idstring · uuid · nullableRequired
contentstringRequired
createdstring · date-timeRequired
updatedstring · date-timeRequired
resolvedbooleanRequired
is_publicbooleanRequired
parent_idstring · uuid · nullableRequired
timestampnumber · nullableRequired
durationnumber · nullableRequired
is_copiedbooleanOptionalDefault: false
post/assets/{asset_id}/comments
POST /assets/{asset_id}/comments HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 257

{
  "drive_id": "7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e",
  "comment": "Can we trim the pause before this answer?",
  "timestamp": 84.5,
  "url": "https://app.shade.inc/northwind-studio/a/marketing/c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f?commentId=REPLACE_COMMENT_ID_ON_SERVER"
}
{
  "id": "0d1e2f3a-4b5c-4d6e-8f7a-9b0c1d2e3f4a",
  "asset_id": "c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f",
  "content": "Can we trim the pause before this answer?",
  "author": {
    "id": "b7c8d9e0-f1a2-4b3c-8d4e-5f6a7b8c9d0e",
    "name": "Sam Rivera",
    "email": "[email protected]",
    "avatar_url": "https://storage.example.com/avatars/sam-rivera.png",
    "user_type": "regular"
  },
  "created": "2026-09-15T14:03:27Z",
  "updated": "2026-09-15T14:03:27Z",
  "resolved": false,
  "is_public": false,
  "parent_id": null,
  "timestamp": 84.5,
  "duration": null,
  "anchor": null,
  "replies": [],
  "mentions": [],
  "reactions": [],
  "attachments": []
}

Update a comment

put

Update a comment

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset that the comment is on

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
comment_idstring · uuidRequired

The id of the comment to update

Body
drive_idstring · uuidRequired

The id of the drive this comment is in

contentstring · nullableOptional

The comment to add to the asset

is_publicbooleanOptional

Whether the comment is public or not

urlstringRequired

The url of the comment

timestampnumber · nullableOptional

The timestamp of the comment from the start of the video. delete with -1

durationnumber · nullableOptional

The duration of the comment timestamp in seconds (for range based comments). delete with -1

Responses
200

The comment

application/json
idstring · uuidRequired
asset_idstring · uuid · nullableRequired
contentstringRequired
createdstring · date-timeRequired
updatedstring · date-timeRequired
resolvedbooleanRequired
is_publicbooleanRequired
parent_idstring · uuid · nullableRequired
timestampnumber · nullableRequired
durationnumber · nullableRequired
is_copiedbooleanOptionalDefault: false
put/assets/{asset_id}/comments/{comment_id}
PUT /assets/{asset_id}/comments/{comment_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 415

{
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "content": "text",
  "mentions": [
    {
      "user_id": "text",
      "text": "text",
      "start_index": 1,
      "end_index": 1,
      "user_name": ""
    }
  ],
  "is_public": true,
  "url": "text",
  "timestamp": 1,
  "duration": 1,
  "anchor": {
    "x": 1,
    "y": 1
  },
  "annotation": [
    {
      "tool": "text",
      "color": "text",
      "size": 1,
      "xs": [
        1
      ],
      "ys": [
        1
      ]
    }
  ],
  "pdf_annotations": {
    "page_number": 1,
    "xfdf": "text",
    "annotation_type": "highlight",
    "selected_text": "text"
  }
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "asset_id": "123e4567-e89b-12d3-a456-426614174000",
  "content": "text",
  "author": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "email": "text",
    "avatar_url": "text",
    "user_type": "regular"
  },
  "created": "2026-01-01T00:00:00.000Z",
  "updated": "2026-01-01T00:00:00.000Z",
  "resolved": true,
  "is_public": true,
  "parent_id": "123e4567-e89b-12d3-a456-426614174000",
  "timestamp": 1,
  "duration": 1,
  "pdf_annotations": {
    "page_number": 1,
    "xfdf": "text",
    "annotation_type": "highlight",
    "selected_text": "text"
  },
  "replies": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "asset_id": "123e4567-e89b-12d3-a456-426614174000",
      "content": "text",
      "author": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "email": "text",
        "avatar_url": "text",
        "user_type": "regular"
      },
      "created": "2026-01-01T00:00:00.000Z",
      "updated": "2026-01-01T00:00:00.000Z",
      "resolved": true,
      "is_public": true,
      "parent_id": "123e4567-e89b-12d3-a456-426614174000",
      "timestamp": 1,
      "duration": 1,
      "pdf_annotations": {
        "page_number": 1,
        "xfdf": "text",
        "annotation_type": "highlight",
        "selected_text": "text"
      },
      "replies": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "asset_id": "123e4567-e89b-12d3-a456-426614174000",
          "content": "text",
          "author": {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "name": "text",
            "email": "text",
            "avatar_url": "text",
            "user_type": "regular"
          },
          "created": "2026-01-01T00:00:00.000Z",
          "updated": "2026-01-01T00:00:00.000Z",
          "resolved": true,
          "is_public": true,
          "parent_id": "123e4567-e89b-12d3-a456-426614174000",
          "timestamp": 1,
          "duration": 1,
          "pdf_annotations": {
            "page_number": 1,
            "xfdf": "text",
            "annotation_type": "highlight",
            "selected_text": "text"
          },
          "replies": [
            "[Circular Reference]"
          ],
          "mentions": [
            {
              "user_id": "text",
              "text": "text",
              "start_index": 1,
              "end_index": 1,
              "user_name": ""
            }
          ],
          "reactions": [
            {
              "users": [
                {
                  "id": "123e4567-e89b-12d3-a456-426614174000",
                  "name": "text",
                  "email": "text",
                  "avatar_url": "text",
                  "user_type": "regular",
                  "comment_id": "123e4567-e89b-12d3-a456-426614174000"
                }
              ],
              "content": "text",
              "count": 1
            }
          ],
          "anchor": {
            "x": 1,
            "y": 1
          },
          "annotation": [
            {
              "tool": "text",
              "color": "text",
              "size": 1,
              "xs": [
                1
              ],
              "ys": [
                1
              ]
            }
          ],
          "is_copied": false,
          "attachments": [
            {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "drive_id": "123e4567-e89b-12d3-a456-426614174000",
              "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
              "uploaded": true,
              "name": "text",
              "mime_type": "text",
              "size": 1,
              "download_url": "text"
            }
          ]
        }
      ],
      "mentions": [
        {
          "user_id": "text",
          "text": "text",
          "start_index": 1,
          "end_index": 1,
          "user_name": ""
        }
      ],
      "reactions": [
        {
          "users": [
            {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "name": "text",
              "email": "text",
              "avatar_url": "text",
              "user_type": "regular",
              "comment_id": "123e4567-e89b-12d3-a456-426614174000"
            }
          ],
          "content": "text",
          "count": 1
        }
      ],
      "anchor": {
        "x": 1,
        "y": 1
      },
      "annotation": [
        {
          "tool": "text",
          "color": "text",
          "size": 1,
          "xs": [
            1
          ],
          "ys": [
            1
          ]
        }
      ],
      "is_copied": false,
      "attachments": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "drive_id": "123e4567-e89b-12d3-a456-426614174000",
          "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
          "uploaded": true,
          "name": "text",
          "mime_type": "text",
          "size": 1,
          "download_url": "text"
        }
      ]
    }
  ],
  "mentions": [
    {
      "user_id": "text",
      "text": "text",
      "start_index": 1,
      "end_index": 1,
      "user_name": ""
    }
  ],
  "reactions": [
    {
      "users": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text",
          "email": "text",
          "avatar_url": "text",
          "user_type": "regular",
          "comment_id": "123e4567-e89b-12d3-a456-426614174000"
        }
      ],
      "content": "text",
      "count": 1
    }
  ],
  "anchor": {
    "x": 1,
    "y": 1
  },
  "annotation": [
    {
      "tool": "text",
      "color": "text",
      "size": 1,
      "xs": [
        1
      ],
      "ys": [
        1
      ]
    }
  ],
  "is_copied": false,
  "attachments": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "drive_id": "123e4567-e89b-12d3-a456-426614174000",
      "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
      "uploaded": true,
      "name": "text",
      "mime_type": "text",
      "size": 1,
      "download_url": "text"
    }
  ]
}

Delete a comment

delete

Delete a comment

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset that the comment is on

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
comment_idstring · uuidRequired

The id of the comment to delete

Query parameters
drive_idstring · uuidRequired

The id of the drive this comment is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

Successful Response

application/json
nullOptional
delete/assets/{asset_id}/comments/{comment_id}
DELETE /assets/{asset_id}/comments/{comment_id}?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*

No content

Update a comment to be resolved or not

put

Update a comment's resolve status

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset that the comment is on

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
comment_idstring · uuidRequired

The id of the comment to update

Body
drive_idstring · uuid · nullableOptional

The id of the drive this comment is in

resolvedboolean · nullableOptional

Whether the comment is resolved

urlstringRequired

The url of the comment with REPLACE_COMMENT_ID_ON_SERVER placeholder

Responses
200

The comment

application/json
idstring · uuidRequired
asset_idstring · uuid · nullableRequired
contentstringRequired
createdstring · date-timeRequired
updatedstring · date-timeRequired
resolvedbooleanRequired
is_publicbooleanRequired
parent_idstring · uuid · nullableRequired
timestampnumber · nullableRequired
durationnumber · nullableRequired
is_copiedbooleanOptionalDefault: false
put/assets/{asset_id}/comments/{comment_id}/resolve
PUT /assets/{asset_id}/comments/{comment_id}/resolve HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 80

{
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "resolved": true,
  "url": "text"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "asset_id": "123e4567-e89b-12d3-a456-426614174000",
  "content": "text",
  "author": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "email": "text",
    "avatar_url": "text",
    "user_type": "regular"
  },
  "created": "2026-01-01T00:00:00.000Z",
  "updated": "2026-01-01T00:00:00.000Z",
  "resolved": true,
  "is_public": true,
  "parent_id": "123e4567-e89b-12d3-a456-426614174000",
  "timestamp": 1,
  "duration": 1,
  "pdf_annotations": {
    "page_number": 1,
    "xfdf": "text",
    "annotation_type": "highlight",
    "selected_text": "text"
  },
  "replies": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "asset_id": "123e4567-e89b-12d3-a456-426614174000",
      "content": "text",
      "author": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "email": "text",
        "avatar_url": "text",
        "user_type": "regular"
      },
      "created": "2026-01-01T00:00:00.000Z",
      "updated": "2026-01-01T00:00:00.000Z",
      "resolved": true,
      "is_public": true,
      "parent_id": "123e4567-e89b-12d3-a456-426614174000",
      "timestamp": 1,
      "duration": 1,
      "pdf_annotations": {
        "page_number": 1,
        "xfdf": "text",
        "annotation_type": "highlight",
        "selected_text": "text"
      },
      "replies": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "asset_id": "123e4567-e89b-12d3-a456-426614174000",
          "content": "text",
          "author": {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "name": "text",
            "email": "text",
            "avatar_url": "text",
            "user_type": "regular"
          },
          "created": "2026-01-01T00:00:00.000Z",
          "updated": "2026-01-01T00:00:00.000Z",
          "resolved": true,
          "is_public": true,
          "parent_id": "123e4567-e89b-12d3-a456-426614174000",
          "timestamp": 1,
          "duration": 1,
          "pdf_annotations": {
            "page_number": 1,
            "xfdf": "text",
            "annotation_type": "highlight",
            "selected_text": "text"
          },
          "replies": [
            "[Circular Reference]"
          ],
          "mentions": [
            {
              "user_id": "text",
              "text": "text",
              "start_index": 1,
              "end_index": 1,
              "user_name": ""
            }
          ],
          "reactions": [
            {
              "users": [
                {
                  "id": "123e4567-e89b-12d3-a456-426614174000",
                  "name": "text",
                  "email": "text",
                  "avatar_url": "text",
                  "user_type": "regular",
                  "comment_id": "123e4567-e89b-12d3-a456-426614174000"
                }
              ],
              "content": "text",
              "count": 1
            }
          ],
          "anchor": {
            "x": 1,
            "y": 1
          },
          "annotation": [
            {
              "tool": "text",
              "color": "text",
              "size": 1,
              "xs": [
                1
              ],
              "ys": [
                1
              ]
            }
          ],
          "is_copied": false,
          "attachments": [
            {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "drive_id": "123e4567-e89b-12d3-a456-426614174000",
              "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
              "uploaded": true,
              "name": "text",
              "mime_type": "text",
              "size": 1,
              "download_url": "text"
            }
          ]
        }
      ],
      "mentions": [
        {
          "user_id": "text",
          "text": "text",
          "start_index": 1,
          "end_index": 1,
          "user_name": ""
        }
      ],
      "reactions": [
        {
          "users": [
            {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "name": "text",
              "email": "text",
              "avatar_url": "text",
              "user_type": "regular",
              "comment_id": "123e4567-e89b-12d3-a456-426614174000"
            }
          ],
          "content": "text",
          "count": 1
        }
      ],
      "anchor": {
        "x": 1,
        "y": 1
      },
      "annotation": [
        {
          "tool": "text",
          "color": "text",
          "size": 1,
          "xs": [
            1
          ],
          "ys": [
            1
          ]
        }
      ],
      "is_copied": false,
      "attachments": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "drive_id": "123e4567-e89b-12d3-a456-426614174000",
          "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
          "uploaded": true,
          "name": "text",
          "mime_type": "text",
          "size": 1,
          "download_url": "text"
        }
      ]
    }
  ],
  "mentions": [
    {
      "user_id": "text",
      "text": "text",
      "start_index": 1,
      "end_index": 1,
      "user_name": ""
    }
  ],
  "reactions": [
    {
      "users": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text",
          "email": "text",
          "avatar_url": "text",
          "user_type": "regular",
          "comment_id": "123e4567-e89b-12d3-a456-426614174000"
        }
      ],
      "content": "text",
      "count": 1
    }
  ],
  "anchor": {
    "x": 1,
    "y": 1
  },
  "annotation": [
    {
      "tool": "text",
      "color": "text",
      "size": 1,
      "xs": [
        1
      ],
      "ys": [
        1
      ]
    }
  ],
  "is_copied": false,
  "attachments": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "drive_id": "123e4567-e89b-12d3-a456-426614174000",
      "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
      "uploaded": true,
      "name": "text",
      "mime_type": "text",
      "size": 1,
      "download_url": "text"
    }
  ]
}

Reply to a comment

post

Reply to a comment

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset that the comment is on

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
comment_idstring · uuidRequired

The id of the comment to reply to

Body
drive_idstring · uuidRequired

The id of the drive this comment is in

contentstringRequired

The content of the comment to add to the asset

urlstringRequired

The url of the comment

Responses
200

The comment

application/json
idstring · uuidRequired
asset_idstring · uuid · nullableRequired
contentstringRequired
createdstring · date-timeRequired
updatedstring · date-timeRequired
resolvedbooleanRequired
is_publicbooleanRequired
parent_idstring · uuid · nullableRequired
timestampnumber · nullableRequired
durationnumber · nullableRequired
is_copiedbooleanOptionalDefault: false
post/assets/{asset_id}/comments/{comment_id}/reply
POST /assets/{asset_id}/comments/{comment_id}/reply HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 172

{
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "content": "text",
  "mentions": [
    {
      "user_id": "text",
      "text": "text",
      "start_index": 1,
      "end_index": 1,
      "user_name": ""
    }
  ],
  "url": "text"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "asset_id": "123e4567-e89b-12d3-a456-426614174000",
  "content": "text",
  "author": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "email": "text",
    "avatar_url": "text",
    "user_type": "regular"
  },
  "created": "2026-01-01T00:00:00.000Z",
  "updated": "2026-01-01T00:00:00.000Z",
  "resolved": true,
  "is_public": true,
  "parent_id": "123e4567-e89b-12d3-a456-426614174000",
  "timestamp": 1,
  "duration": 1,
  "pdf_annotations": {
    "page_number": 1,
    "xfdf": "text",
    "annotation_type": "highlight",
    "selected_text": "text"
  },
  "replies": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "asset_id": "123e4567-e89b-12d3-a456-426614174000",
      "content": "text",
      "author": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "email": "text",
        "avatar_url": "text",
        "user_type": "regular"
      },
      "created": "2026-01-01T00:00:00.000Z",
      "updated": "2026-01-01T00:00:00.000Z",
      "resolved": true,
      "is_public": true,
      "parent_id": "123e4567-e89b-12d3-a456-426614174000",
      "timestamp": 1,
      "duration": 1,
      "pdf_annotations": {
        "page_number": 1,
        "xfdf": "text",
        "annotation_type": "highlight",
        "selected_text": "text"
      },
      "replies": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "asset_id": "123e4567-e89b-12d3-a456-426614174000",
          "content": "text",
          "author": {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "name": "text",
            "email": "text",
            "avatar_url": "text",
            "user_type": "regular"
          },
          "created": "2026-01-01T00:00:00.000Z",
          "updated": "2026-01-01T00:00:00.000Z",
          "resolved": true,
          "is_public": true,
          "parent_id": "123e4567-e89b-12d3-a456-426614174000",
          "timestamp": 1,
          "duration": 1,
          "pdf_annotations": {
            "page_number": 1,
            "xfdf": "text",
            "annotation_type": "highlight",
            "selected_text": "text"
          },
          "replies": [
            "[Circular Reference]"
          ],
          "mentions": [
            {
              "user_id": "text",
              "text": "text",
              "start_index": 1,
              "end_index": 1,
              "user_name": ""
            }
          ],
          "reactions": [
            {
              "users": [
                {
                  "id": "123e4567-e89b-12d3-a456-426614174000",
                  "name": "text",
                  "email": "text",
                  "avatar_url": "text",
                  "user_type": "regular",
                  "comment_id": "123e4567-e89b-12d3-a456-426614174000"
                }
              ],
              "content": "text",
              "count": 1
            }
          ],
          "anchor": {
            "x": 1,
            "y": 1
          },
          "annotation": [
            {
              "tool": "text",
              "color": "text",
              "size": 1,
              "xs": [
                1
              ],
              "ys": [
                1
              ]
            }
          ],
          "is_copied": false,
          "attachments": [
            {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "drive_id": "123e4567-e89b-12d3-a456-426614174000",
              "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
              "uploaded": true,
              "name": "text",
              "mime_type": "text",
              "size": 1,
              "download_url": "text"
            }
          ]
        }
      ],
      "mentions": [
        {
          "user_id": "text",
          "text": "text",
          "start_index": 1,
          "end_index": 1,
          "user_name": ""
        }
      ],
      "reactions": [
        {
          "users": [
            {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "name": "text",
              "email": "text",
              "avatar_url": "text",
              "user_type": "regular",
              "comment_id": "123e4567-e89b-12d3-a456-426614174000"
            }
          ],
          "content": "text",
          "count": 1
        }
      ],
      "anchor": {
        "x": 1,
        "y": 1
      },
      "annotation": [
        {
          "tool": "text",
          "color": "text",
          "size": 1,
          "xs": [
            1
          ],
          "ys": [
            1
          ]
        }
      ],
      "is_copied": false,
      "attachments": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "drive_id": "123e4567-e89b-12d3-a456-426614174000",
          "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
          "uploaded": true,
          "name": "text",
          "mime_type": "text",
          "size": 1,
          "download_url": "text"
        }
      ]
    }
  ],
  "mentions": [
    {
      "user_id": "text",
      "text": "text",
      "start_index": 1,
      "end_index": 1,
      "user_name": ""
    }
  ],
  "reactions": [
    {
      "users": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text",
          "email": "text",
          "avatar_url": "text",
          "user_type": "regular",
          "comment_id": "123e4567-e89b-12d3-a456-426614174000"
        }
      ],
      "content": "text",
      "count": 1
    }
  ],
  "anchor": {
    "x": 1,
    "y": 1
  },
  "annotation": [
    {
      "tool": "text",
      "color": "text",
      "size": 1,
      "xs": [
        1
      ],
      "ys": [
        1
      ]
    }
  ],
  "is_copied": false,
  "attachments": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "drive_id": "123e4567-e89b-12d3-a456-426614174000",
      "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
      "uploaded": true,
      "name": "text",
      "mime_type": "text",
      "size": 1,
      "download_url": "text"
    }
  ]
}

React to a comment

put

React to a comment

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset that the comment is on

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
comment_idstring · uuidRequired

The id of the comment to react to

Body
drive_idstring · uuidRequired

The id of the drive this comment is in

reaction_to_addstring · nullableOptional

The reaction to add to the comment. Either pass this or reaction_to_remove

reaction_to_removestring · uuid · nullableOptional

The id of the reaction to remove. Either pass this or reaction_to_add

Responses
200

The comment

application/json
idstring · uuidRequired
asset_idstring · uuid · nullableRequired
contentstringRequired
createdstring · date-timeRequired
updatedstring · date-timeRequired
resolvedbooleanRequired
is_publicbooleanRequired
parent_idstring · uuid · nullableRequired
timestampnumber · nullableRequired
durationnumber · nullableRequired
is_copiedbooleanOptionalDefault: false
put/assets/{asset_id}/comments/{comment_id}/react
PUT /assets/{asset_id}/comments/{comment_id}/react HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 136

{
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "reaction_to_add": "text",
  "reaction_to_remove": "123e4567-e89b-12d3-a456-426614174000"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "asset_id": "123e4567-e89b-12d3-a456-426614174000",
  "content": "text",
  "author": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "email": "text",
    "avatar_url": "text",
    "user_type": "regular"
  },
  "created": "2026-01-01T00:00:00.000Z",
  "updated": "2026-01-01T00:00:00.000Z",
  "resolved": true,
  "is_public": true,
  "parent_id": "123e4567-e89b-12d3-a456-426614174000",
  "timestamp": 1,
  "duration": 1,
  "pdf_annotations": {
    "page_number": 1,
    "xfdf": "text",
    "annotation_type": "highlight",
    "selected_text": "text"
  },
  "replies": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "asset_id": "123e4567-e89b-12d3-a456-426614174000",
      "content": "text",
      "author": {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "name": "text",
        "email": "text",
        "avatar_url": "text",
        "user_type": "regular"
      },
      "created": "2026-01-01T00:00:00.000Z",
      "updated": "2026-01-01T00:00:00.000Z",
      "resolved": true,
      "is_public": true,
      "parent_id": "123e4567-e89b-12d3-a456-426614174000",
      "timestamp": 1,
      "duration": 1,
      "pdf_annotations": {
        "page_number": 1,
        "xfdf": "text",
        "annotation_type": "highlight",
        "selected_text": "text"
      },
      "replies": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "asset_id": "123e4567-e89b-12d3-a456-426614174000",
          "content": "text",
          "author": {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "name": "text",
            "email": "text",
            "avatar_url": "text",
            "user_type": "regular"
          },
          "created": "2026-01-01T00:00:00.000Z",
          "updated": "2026-01-01T00:00:00.000Z",
          "resolved": true,
          "is_public": true,
          "parent_id": "123e4567-e89b-12d3-a456-426614174000",
          "timestamp": 1,
          "duration": 1,
          "pdf_annotations": {
            "page_number": 1,
            "xfdf": "text",
            "annotation_type": "highlight",
            "selected_text": "text"
          },
          "replies": [
            "[Circular Reference]"
          ],
          "mentions": [
            {
              "user_id": "text",
              "text": "text",
              "start_index": 1,
              "end_index": 1,
              "user_name": ""
            }
          ],
          "reactions": [
            {
              "users": [
                {
                  "id": "123e4567-e89b-12d3-a456-426614174000",
                  "name": "text",
                  "email": "text",
                  "avatar_url": "text",
                  "user_type": "regular",
                  "comment_id": "123e4567-e89b-12d3-a456-426614174000"
                }
              ],
              "content": "text",
              "count": 1
            }
          ],
          "anchor": {
            "x": 1,
            "y": 1
          },
          "annotation": [
            {
              "tool": "text",
              "color": "text",
              "size": 1,
              "xs": [
                1
              ],
              "ys": [
                1
              ]
            }
          ],
          "is_copied": false,
          "attachments": [
            {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "drive_id": "123e4567-e89b-12d3-a456-426614174000",
              "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
              "uploaded": true,
              "name": "text",
              "mime_type": "text",
              "size": 1,
              "download_url": "text"
            }
          ]
        }
      ],
      "mentions": [
        {
          "user_id": "text",
          "text": "text",
          "start_index": 1,
          "end_index": 1,
          "user_name": ""
        }
      ],
      "reactions": [
        {
          "users": [
            {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "name": "text",
              "email": "text",
              "avatar_url": "text",
              "user_type": "regular",
              "comment_id": "123e4567-e89b-12d3-a456-426614174000"
            }
          ],
          "content": "text",
          "count": 1
        }
      ],
      "anchor": {
        "x": 1,
        "y": 1
      },
      "annotation": [
        {
          "tool": "text",
          "color": "text",
          "size": 1,
          "xs": [
            1
          ],
          "ys": [
            1
          ]
        }
      ],
      "is_copied": false,
      "attachments": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "drive_id": "123e4567-e89b-12d3-a456-426614174000",
          "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
          "uploaded": true,
          "name": "text",
          "mime_type": "text",
          "size": 1,
          "download_url": "text"
        }
      ]
    }
  ],
  "mentions": [
    {
      "user_id": "text",
      "text": "text",
      "start_index": 1,
      "end_index": 1,
      "user_name": ""
    }
  ],
  "reactions": [
    {
      "users": [
        {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text",
          "email": "text",
          "avatar_url": "text",
          "user_type": "regular",
          "comment_id": "123e4567-e89b-12d3-a456-426614174000"
        }
      ],
      "content": "text",
      "count": 1
    }
  ],
  "anchor": {
    "x": 1,
    "y": 1
  },
  "annotation": [
    {
      "tool": "text",
      "color": "text",
      "size": 1,
      "xs": [
        1
      ],
      "ys": [
        1
      ]
    }
  ],
  "is_copied": false,
  "attachments": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "drive_id": "123e4567-e89b-12d3-a456-426614174000",
      "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
      "uploaded": true,
      "name": "text",
      "mime_type": "text",
      "size": 1,
      "download_url": "text"
    }
  ]
}

Start the upload process for a comment attachment

post

Start the upload process for a comment attachment

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to create the attachment for

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Body
drive_idstring · uuidRequired

The id of the drive to create the attachment for

namestringRequired

The name of the attachment to be created

mime_typestringRequired

The mime type of the attachment to be created

sizeintegerRequired

The size of the attachment to be created

comment_idstring · uuidRequired

The id of the comment to attach to

Responses
200

Successful Response

application/json
idstring · uuidRequired
drive_idstring · uuidRequired
uploader_idstring · uuidRequired
uploadedbooleanRequired
namestringRequired
mime_typestringRequired
sizeintegerRequired
upload_urlstringRequired
post/assets/{asset_id}/comments/attachments
POST /assets/{asset_id}/comments/attachments HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 145

{
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text",
  "mime_type": "text",
  "size": 1,
  "comment_id": "123e4567-e89b-12d3-a456-426614174000"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
  "uploaded": true,
  "name": "text",
  "mime_type": "text",
  "size": 1,
  "upload_url": "text"
}

Mark the upload of a comment attachment as complete

post

Mark the upload of a comment attachment as complete

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to mark the attachment uploaded for

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
attachment_idstring · uuidRequired

The id of the attachment to mark as uploaded

Body
drive_idstring · uuidRequired

The id of the drive to mark the attachment uploaded for

Responses
200

Successful Response

application/json
idstring · uuidRequired
drive_idstring · uuidRequired
uploader_idstring · uuidRequired
uploadedbooleanRequired
namestringRequired
mime_typestringRequired
sizeintegerRequired
download_urlstringRequired
post/assets/{asset_id}/comments/attachments/{attachment_id}
POST /assets/{asset_id}/comments/attachments/{attachment_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 51

{
  "drive_id": "123e4567-e89b-12d3-a456-426614174000"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
  "uploaded": true,
  "name": "text",
  "mime_type": "text",
  "size": 1,
  "download_url": "text"
}

Paste comments from another asset

post

Paste comments from source asset to target asset.

Pastes all the source asset's comments, or only the specified comments when source_comment_ids is provided. Source and target may be on different drives when source_drive_id is provided.

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to paste comments to

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Body
source_asset_idstring · uuidRequired

The id of the asset to copy comments from

drive_idstring · uuidRequired

The id of the target drive

source_drive_idstring · uuid · nullableOptional

The id of the drive containing the source asset. Omit when source and target share a drive.

source_comment_idsstring · uuid[] · nullableOptional

If provided, only these comments (and their threads) are pasted

Responses
200

List of newly created comments

application/json
idstring · uuidRequired
asset_idstring · uuid · nullableRequired
contentstringRequired
createdstring · date-timeRequired
updatedstring · date-timeRequired
resolvedbooleanRequired
is_publicbooleanRequired
parent_idstring · uuid · nullableRequired
timestampnumber · nullableRequired
durationnumber · nullableRequired
is_copiedbooleanOptionalDefault: false
post/assets/{asset_id}/comments/paste
POST /assets/{asset_id}/comments/paste HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 227

{
  "source_asset_id": "123e4567-e89b-12d3-a456-426614174000",
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "source_drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "source_comment_ids": [
    "123e4567-e89b-12d3-a456-426614174000"
  ]
}
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "asset_id": "123e4567-e89b-12d3-a456-426614174000",
    "content": "text",
    "author": {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "text",
      "email": "text",
      "avatar_url": "text",
      "user_type": "regular"
    },
    "created": "2026-01-01T00:00:00.000Z",
    "updated": "2026-01-01T00:00:00.000Z",
    "resolved": true,
    "is_public": true,
    "parent_id": "123e4567-e89b-12d3-a456-426614174000",
    "timestamp": 1,
    "duration": 1,
    "pdf_annotations": {
      "page_number": 1,
      "xfdf": "text",
      "annotation_type": "highlight",
      "selected_text": "text"
    },
    "replies": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "asset_id": "123e4567-e89b-12d3-a456-426614174000",
        "content": "text",
        "author": {
          "id": "123e4567-e89b-12d3-a456-426614174000",
          "name": "text",
          "email": "text",
          "avatar_url": "text",
          "user_type": "regular"
        },
        "created": "2026-01-01T00:00:00.000Z",
        "updated": "2026-01-01T00:00:00.000Z",
        "resolved": true,
        "is_public": true,
        "parent_id": "123e4567-e89b-12d3-a456-426614174000",
        "timestamp": 1,
        "duration": 1,
        "pdf_annotations": {
          "page_number": 1,
          "xfdf": "text",
          "annotation_type": "highlight",
          "selected_text": "text"
        },
        "replies": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "asset_id": "123e4567-e89b-12d3-a456-426614174000",
            "content": "text",
            "author": {
              "id": "123e4567-e89b-12d3-a456-426614174000",
              "name": "text",
              "email": "text",
              "avatar_url": "text",
              "user_type": "regular"
            },
            "created": "2026-01-01T00:00:00.000Z",
            "updated": "2026-01-01T00:00:00.000Z",
            "resolved": true,
            "is_public": true,
            "parent_id": "123e4567-e89b-12d3-a456-426614174000",
            "timestamp": 1,
            "duration": 1,
            "pdf_annotations": {
              "page_number": 1,
              "xfdf": "text",
              "annotation_type": "highlight",
              "selected_text": "text"
            },
            "replies": "[Circular Reference]",
            "mentions": [
              {
                "user_id": "text",
                "text": "text",
                "start_index": 1,
                "end_index": 1,
                "user_name": ""
              }
            ],
            "reactions": [
              {
                "users": [
                  {
                    "id": "123e4567-e89b-12d3-a456-426614174000",
                    "name": "text",
                    "email": "text",
                    "avatar_url": "text",
                    "user_type": "regular",
                    "comment_id": "123e4567-e89b-12d3-a456-426614174000"
                  }
                ],
                "content": "text",
                "count": 1
              }
            ],
            "anchor": {
              "x": 1,
              "y": 1
            },
            "annotation": [
              {
                "tool": "text",
                "color": "text",
                "size": 1,
                "xs": [
                  1
                ],
                "ys": [
                  1
                ]
              }
            ],
            "is_copied": false,
            "attachments": [
              {
                "id": "123e4567-e89b-12d3-a456-426614174000",
                "drive_id": "123e4567-e89b-12d3-a456-426614174000",
                "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
                "uploaded": true,
                "name": "text",
                "mime_type": "text",
                "size": 1,
                "download_url": "text"
              }
            ]
          }
        ],
        "mentions": [
          {
            "user_id": "text",
            "text": "text",
            "start_index": 1,
            "end_index": 1,
            "user_name": ""
          }
        ],
        "reactions": [
          {
            "users": [
              {
                "id": "123e4567-e89b-12d3-a456-426614174000",
                "name": "text",
                "email": "text",
                "avatar_url": "text",
                "user_type": "regular",
                "comment_id": "123e4567-e89b-12d3-a456-426614174000"
              }
            ],
            "content": "text",
            "count": 1
          }
        ],
        "anchor": {
          "x": 1,
          "y": 1
        },
        "annotation": [
          {
            "tool": "text",
            "color": "text",
            "size": 1,
            "xs": [
              1
            ],
            "ys": [
              1
            ]
          }
        ],
        "is_copied": false,
        "attachments": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "drive_id": "123e4567-e89b-12d3-a456-426614174000",
            "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
            "uploaded": true,
            "name": "text",
            "mime_type": "text",
            "size": 1,
            "download_url": "text"
          }
        ]
      }
    ],
    "mentions": [
      {
        "user_id": "text",
        "text": "text",
        "start_index": 1,
        "end_index": 1,
        "user_name": ""
      }
    ],
    "reactions": [
      {
        "users": [
          {
            "id": "123e4567-e89b-12d3-a456-426614174000",
            "name": "text",
            "email": "text",
            "avatar_url": "text",
            "user_type": "regular",
            "comment_id": "123e4567-e89b-12d3-a456-426614174000"
          }
        ],
        "content": "text",
        "count": 1
      }
    ],
    "anchor": {
      "x": 1,
      "y": 1
    },
    "annotation": [
      {
        "tool": "text",
        "color": "text",
        "size": 1,
        "xs": [
          1
        ],
        "ys": [
          1
        ]
      }
    ],
    "is_copied": false,
    "attachments": [
      {
        "id": "123e4567-e89b-12d3-a456-426614174000",
        "drive_id": "123e4567-e89b-12d3-a456-426614174000",
        "uploader_id": "123e4567-e89b-12d3-a456-426614174000",
        "uploaded": true,
        "name": "text",
        "mime_type": "text",
        "size": 1,
        "download_url": "text"
      }
    ]
  }
]

Export comments in various formats

get

Export all comments for an asset in the specified format

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to export comments for

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
typestring · enumRequired

The type of export to generate

Possible values:
drive_idstring · uuidOptional

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
authorizationstring · nullableOptional

Your API key, for clients that can't set headers, such as an <img> or <video> tag. Prefer the Authorization header, since URLs end up in logs and browser history.

Responses
200

Exported comments file

application/octet-stream
stringOptional
get/assets/{asset_id}/comments/export
GET /assets/{asset_id}/comments/export?type=csv HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
text

Get all mentionable users on comments for an asset

get

Get all mentionable users on comments for an asset

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Path parameters
asset_idstring · uuidRequired

The id of the asset to retrieve

Example: c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2f
Query parameters
drive_idstring · uuidRequired

The id of the drive this asset is in

Example: 7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7e
Responses
200

A list of mentionable users on comments for the asset

application/json
idstring · uuidRequired
namestringRequired
emailstringRequired
avatar_urlstringRequired
user_typestring · enumRequiredPossible values:
get/assets/{asset_id}/mentionable-users
GET /assets/{asset_id}/mentionable-users?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
  {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "name": "text",
    "email": "text",
    "avatar_url": "text",
    "user_type": "regular"
  }
]

Initiate attachment upload

post

Initiate an attachment upload by generating a presigned URL and signed token.

This is phase 1 of the two-phase attachment flow:

  1. Call this endpoint to get presigned URL and token

  2. Upload file to the presigned URL

  3. Pass token(s) when creating the entity (e.g., comment) to link attachments

Authorizations
AuthorizationstringRequired

Your Shade API key, sent as-is with no Bearer prefix. Create one under Settings → Integrate → API keys.

Body
drive_idstring · uuidRequired

The ID of the drive to upload the attachment to

sizeintegerRequired

The size of the file in bytes

mime_typestringRequired

The MIME type of the file

file_namestringRequired

The original filename

entitystring · enumRequired

The entity that will own this attachment (e.g., 'comments')

Possible values:
Responses
200

Presigned URL and token for uploading an attachment

application/json

Response from attachment upload initiation.

presigned_urlstringRequired
tokenstringRequired
post/attachments/upload
POST /attachments/upload HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 118

{
  "drive_id": "123e4567-e89b-12d3-a456-426614174000",
  "size": 1,
  "mime_type": "text",
  "file_name": "text",
  "entity": "comments"
}
{
  "presigned_url": "text",
  "token": "text"
}

Last updated

Was this helpful?