List Task Comments
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/tasks/{task_id}/comments \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/tasks/{task_id}/comments"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/tasks/{task_id}/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"task_id": "<string>",
"content": "<string>",
"mentions": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"author": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"edited_at": "2023-11-07T05:31:56Z"
}
],
"object": "list"
}Tasks
List Task Comments
List a task’s comments, oldest first.
GET
/
api
/
v1
/
tasks
/
{task_id}
/
comments
List Task Comments
curl --request GET \
--url https://{tenant_id}.api.useago.com/api/v1/tasks/{task_id}/comments \
--header 'X-API-Key: <api-key>'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/tasks/{task_id}/comments"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://{tenant_id}.api.useago.com/api/v1/tasks/{task_id}/comments', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": [
{
"id": "<string>",
"task_id": "<string>",
"content": "<string>",
"mentions": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>"
}
],
"created_at": "2023-11-07T05:31:56Z",
"author": {
"id": "<string>",
"name": "<string>",
"email": "<string>"
},
"edited_at": "2023-11-07T05:31:56Z"
}
],
"object": "list"
}