Skip to main content

Get Task by ID

Method: GET
/api/v1/tasks/{id}


Description

This endpoint retrieves the details of a specific task by its unique ID.


🔑 Authentication

This endpoint requires authentication via headers.

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

Path Parameter

NameTypeDescription
idstringThe unique ID of the task.

Response: 200 OK

A successful response returns the details of the task.

Example Response:

{
"taskId": "12345",
"name": "Prepare Monthly Report",
"description": "Complete the monthly financial report by the end of the week.",
"status": "IN_PROGRESS",
"assignedTo": "John Doe",
"dueDate": "2025-02-15T17:00:00.000Z",
"priority": "HIGH",
"createdAt": "2025-02-01T09:30:00.000Z",
"updatedAt": "2025-02-10T12:00:00.000Z"
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


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

RESPONSE


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