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
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset to retrieve
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the drive this asset is in
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eA list of all comments for the asset
falseNot found
Validation Error
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
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset to retrieve
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the drive this asset is in
The comment to add to the asset
Seconds from the start of the video or audio to pin the comment to.
Length in seconds of the range the comment covers, starting at timestamp.
Whether the comment is public or not
trueLink 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.
JWT tokens for attachments to link to this comment
The comment
falseNot found
Validation Error
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
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset that the comment is on
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the comment to update
The id of the drive this comment is in
The comment to add to the asset
Whether the comment is public or not
The url of the comment
The timestamp of the comment from the start of the video. delete with -1
The duration of the comment timestamp in seconds (for range based comments). delete with -1
The comment
falseNot found
Validation Error
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
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset that the comment is on
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the comment to delete
The id of the drive this comment is in
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eSuccessful Response
Not found
Validation Error
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's resolve status
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset that the comment is on
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the comment to update
The id of the drive this comment is in
Whether the comment is resolved
The url of the comment with REPLACE_COMMENT_ID_ON_SERVER placeholder
The comment
falseNot found
Validation Error
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
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset that the comment is on
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the comment to reply to
The id of the drive this comment is in
The content of the comment to add to the asset
The url of the comment
The comment
falseNot found
Validation Error
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
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset that the comment is on
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the comment to react to
The id of the drive this comment is in
The reaction to add to the comment. Either pass this or reaction_to_remove
The id of the reaction to remove. Either pass this or reaction_to_add
The comment
falseNot found
Validation Error
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
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset to create the attachment for
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the drive to create the attachment for
The name of the attachment to be created
The mime type of the attachment to be created
The size of the attachment to be created
The id of the comment to attach to
Successful Response
Not found
Validation Error
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
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset to mark the attachment uploaded for
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the attachment to mark as uploaded
The id of the drive to mark the attachment uploaded for
Successful Response
Not found
Validation Error
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 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.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset to paste comments to
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the asset to copy comments from
The id of the target drive
The id of the drive containing the source asset. Omit when source and target share a drive.
If provided, only these comments (and their threads) are pasted
List of newly created comments
falseNot found
Validation Error
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 all comments for an asset in the specified format
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset to export comments for
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe type of export to generate
The id of the drive this asset is in
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eYour 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.
Exported comments file
Not found
Validation Error
GET /assets/{asset_id}/comments/export?type=csv HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
textGet all mentionable users on comments for an asset
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the asset to retrieve
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the drive this asset is in
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eA list of mentionable users on comments for the asset
Not found
Validation Error
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 an attachment upload by generating a presigned URL and signed token.
This is phase 1 of the two-phase attachment flow:
Call this endpoint to get presigned URL and token
Upload file to the presigned URL
Pass token(s) when creating the entity (e.g., comment) to link attachments
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The ID of the drive to upload the attachment to
The size of the file in bytes
The MIME type of the file
The original filename
The entity that will own this attachment (e.g., 'comments')
Presigned URL and token for uploading an attachment
Response from attachment upload initiation.
Not found
Validation Error
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?

