cURL
curl --request GET \ --url https://platform.thena.ai/v1/tickets/{id}/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 comments to fetch
comment
note
The visibility of the comments to fetch
private
public
Operation successful
The status of the response
The message of the response
The timestamp of the response
The comments fetched
Show child attributes