Skip to content
  • Auto
  • Light
  • Dark
Get started

List

List
get/v1/todos
Query Parameters
cursorstring
optional
limitnumber
optional
maximum100
Returns
dataarray of idstringcompleted_atstringcreated_atstringdescriptionstringtagsarray of objecttitlestringupdated_atstringTodo
has_moreboolean
next_cursorstring
curl https://todo-ninja-ziix.onrender.com/v1/todos \
    -H "Authorization: Bearer $TODO_NINJA_API_KEY"
200 Example
{
  "data": [
    {
      "id": "todo_nc6bzmkmd014706rfda898to",
      "completed_at": "2021-01-01T00:00:00.000Z",
      "created_at": "2021-01-01T00:00:00.000Z",
      "description": "Get butter, milk, and bread",
      "tags": [
        {
          "id": "tag_tz4a98xxat96iws9zmbrgj3a",
          "created_at": "2021-01-01T00:00:00.000Z",
          "label": "Work",
          "updated_at": "2021-01-01T00:00:00.000Z"
        }
      ],
      "title": "Buy groceries",
      "updated_at": "2021-01-01T00:00:00.000Z"
    }
  ],
  "has_more": true,
  "next_cursor": "next_cursor"
}