Appearance
Comprehensive guide for managing comments via API
Create a new comment on a digital asset.
Endpoint:
POST {{url}}/api/v1/rest/comments
Headers:
Accept: application/json Authorization: Bearer {{token}}
Body (JSON):
{ "comments": "New more varients of this proudct", "dam_asset_id": 4 }
Parameters:
comments
dam_asset_id
parent_id
Replying to a comment:
{ "comments": "Agreed — I'll re-shoot the pack shot.", "dam_asset_id": 4, "parent_id": 12 }
The comment is attributed to the admin behind the bearer token.
Retrieve a specific comment by its ID.
GET {{url}}/api/v1/rest/comments/3
Edit the text of an existing comment.
PUT {{url}}/api/v1/rest/comments/3
{ "comments": "Updated comment text" }
IMPORTANT
You can only edit your own comments. Editing someone else's returns 403, even with the API permission granted.
403
Delete a comment from an asset.
DELETE {{url}}/api/v1/rest/comments/2
As with editing, you can only delete comments you authored.
NOTE
Every comment endpoint is also scoped by directory permissions — if you cannot reach the asset, you cannot read or write its comments.
Unopim DAM - Comments Endpoints
Comprehensive guide for managing comments via API
POST - Create a Comment
Create a new comment on a digital asset.
Endpoint:
Headers:
Body (JSON):
Parameters:
commentsdam_asset_idparent_idReplying to a comment:
The comment is attributed to the admin behind the bearer token.
GET - Get Comment by ID
Retrieve a specific comment by its ID.
Endpoint:
Headers:
PUT - Update a Comment
Edit the text of an existing comment.
Endpoint:
Headers:
Body (JSON):
IMPORTANT
You can only edit your own comments. Editing someone else's returns
403, even with the API permission granted.DELETE - Delete Comment
Delete a comment from an asset.
Endpoint:
Headers:
IMPORTANT
As with editing, you can only delete comments you authored.
NOTE
Every comment endpoint is also scoped by directory permissions — if you cannot reach the asset, you cannot read or write its comments.