curl --request GET \
--url https://platform.thena.ai/v1/comments \
--header 'x-api-key: <api-key>'{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": [
{
"id": "<string>",
"content": "<string>",
"contentHtml": "<string>",
"contentJson": "<string>",
"contentMarkdown": "<string>",
"isEdited": true,
"threadName": "<string>",
"commentVisibility": "<string>",
"commentType": "<string>",
"isPinned": true,
"sourceEmailId": "<string>",
"metadata": {},
"parentCommentId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"author": "<string>",
"authorId": "<string>",
"authorUserType": "<string>",
"customerContactId": "<string>",
"customerContactEmail": "<string>",
"customerContactFirstName": "<string>",
"customerContactLastName": "<string>",
"customerContactAvatarUrl": "<string>",
"authorAvatarUrl": "<string>",
"impersonatedUserEmail": "<string>",
"impersonatedUserName": "<string>",
"impersonatedUserAvatar": "<string>",
"attachments": [
"<string>"
],
"deletedAt": "<string>"
}
]
}Get all comments for an entity (ticket, account activity, note, or task). This endpoint is only available for standard and enterprise tier organizations.
curl --request GET \
--url https://platform.thena.ai/v1/comments \
--header 'x-api-key: <api-key>'{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": [
{
"id": "<string>",
"content": "<string>",
"contentHtml": "<string>",
"contentJson": "<string>",
"contentMarkdown": "<string>",
"isEdited": true,
"threadName": "<string>",
"commentVisibility": "<string>",
"commentType": "<string>",
"isPinned": true,
"sourceEmailId": "<string>",
"metadata": {},
"parentCommentId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"author": "<string>",
"authorId": "<string>",
"authorUserType": "<string>",
"customerContactId": "<string>",
"customerContactEmail": "<string>",
"customerContactFirstName": "<string>",
"customerContactLastName": "<string>",
"customerContactAvatarUrl": "<string>",
"authorAvatarUrl": "<string>",
"impersonatedUserEmail": "<string>",
"impersonatedUserName": "<string>",
"impersonatedUserAvatar": "<string>",
"attachments": [
"<string>"
],
"deletedAt": "<string>"
}
]
}Enter your API key
The page number
The limit number of comments to fetch
The type of the entity
The identifier of the entity
Operation successful
The status of the response
The message of the response
The timestamp of the response
The comments fetched
Show child attributes
The unique identifier of the comment
The content of the comment
The HTML content of the comment
The JSON content of the comment
The markdown content of the comment
Indicates if the comment is edited
The name of the comment thread
The visibility of the comment
The type of the comment
Indicates if the comment is pinned
The source email ID of the comment
The metadata of the comment
The parent comment ID of the comment
The creation date of the comment
The update date of the comment
The author of the comment
The unique identifier of the author of the comment
The user type of the author of the comment
The customer contact ID of the author of the comment
The email of the customer contact of the author of the comment
The first name of the customer contact of the author of the comment
The last name of the customer contact of the author of the comment
The avatar url of the customer contact of the author of the comment
The avatar url of the author of the comment
The impersonated user email
The impersonated user name
The impersonated user avatar
The attachments of the comment
The deletion date of the comment (null if not deleted)