ListCustomerCommentHistoryRequest
| Field | Type | Description |
|---|---|---|
comment_id | string | Comment whose edit history is returned. |
Required scope: customer_comment:read
Use this endpoint to read the saved edit history of one customer comment. Each entry is a prior body together with the time it was superseded by a newer edit, returned oldest first. The list is empty when the comment has never been edited.
Find comment IDs with
List Customer Comments; a comment’s
isEdited flag indicates whether history is available.
POST /public-api/publicapi.v1.Customer/ListCustomerCommentHistory Lists the saved edit history of a single customer comment. Each entry is a prior body with the time it was superseded. Read-only.
| Field | Type | Description |
|---|---|---|
comment_id | string | Comment whose edit history is returned. |
| Field | Type | Description |
|---|---|---|
entries | repeated CustomerCommentHistoryEntry | Prior revisions of the comment, oldest first. Empty when the comment has never been edited. |
{ "commentId": "a2ec8aef-691a-4e9d-b4fd-52e255883c6c"}curl https://portal.heyx.app/public-api/publicapi.v1.Customer/ListCustomerCommentHistory \ -H "Authorization: Bearer hx_sk_..." \ -H "Content-Type: application/json" \ -d '{"commentId": "a2ec8aef-691a-4e9d-b4fd-52e255883c6c"}'{ "entries": [ { "id": "d1f2a3b4-5c6d-4e7f-8a9b-0c1d2e3f4a5b", "body": "Imported note", "editedAt": 1735689600 } ]}