cURL
curl --request GET \ --url https://api-{region}.sesametime.com/discussion/v1/comments \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "author": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "firstName": "<string>", "lastName": "<string>" }, "thread": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }, "entityReference": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "plannedTaskId" }, "comment": "comment to create", "createdAt": "2020-01-01T10:00:00+01:00", "updatedAt": "2020-01-01T10:00:00+01:00" } ], "meta": { "currentPage": 1, "lastPage": 1, "total": 1, "perPage": 1 } }
List comments for a thread, plannedTask or for an entity reference
API token obtained from Sesame HR Dashboard > Settings > Integrations > API
id of the planned task
id of the comment
id of the comment thread
Object
Show child attributes
Suggestions