TestingAPIs is still being built. If something breaks, email support@testingapis.com.

Get a todo by ID

GEThttps://api.testingapis.com/api/Todos/{id}

Parameters 1

NameTypeDescription
idrequiredpath · integer (int32)Todo ID.

Responses

200
The todo.
404
The todo does not exist.
500
Unexpected server error.

Example

Request
curl -X GET "https://api.testingapis.com/api/Todos/1"
Response200 OK
{
  "id": 1,
  "userId": 101,
  "title": "Review pull request #42",
  "completed": false,
  "priority": "high",
  "dueDate": "2025-07-20"
}