---
title: "Get todo by id"
method: GET
path: "/todos/{todoId}"
tags: ["📝 Todo list"]
---

# Get todo by id

`GET /todos/{todoId}`

The API endpoint retrieves a specific todo item based on the todo ID provided as a path variable in the URL.

When accessing this endpoint and specifying a valid todo ID in the URL, you will receive a response containing the details of the corresponding todo item.

## Response `200`

Get todo by id

- object
  - `data` object
    - `__v` number
    - `_id` string
    - `createdAt` string
    - `description` string
    - `isDone` boolean
    - `title` string
    - `updatedAt` string
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/revisions/a9f3a290e4dc/schema)
