Skip to main content

Get Task Activities

Method: GET
/api/v1/task-requests/{id}/task-activities


Description

This endpoint retrieves the task activities associated with a specific task request. Task activities represent the actions or updates made to a task during its lifecycle.


🔑 Authentication

This endpoint requires authentication via headers.

ParamValueType
countryCode{{countryCode}}string (optional)
userId{{userId}}string (optional)
tenantId{{tenantId}}string (optional)

Path Parameter

NameTypeDescription
idstringThe unique ID of the task request.

Response: 200 OK

A successful response returns a list of task activities related to the specified task request.

Example Response:

[
{
"activityId": "12345",
"taskId": "67890",
"activityType": "UPDATE_STATUS",
"description": "Status changed to 'In Progress'",
"createdAt": "2025-02-12T10:15:30.000Z",
"createdBy": {
"userId": "user123",
"name": "John Doe"
}
},
{
"activityId": "54321",
"taskId": "67890",
"activityType": "COMMENT",
"description": "Added a comment to the task.",
"createdAt": "2025-02-12T11:00:00.000Z",
"createdBy": {
"userId": "user456",
"name": "Jane Smith"
}
}
]

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request GET \ 
--url /api/v1/task-requests/{id}/task-activities \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!