[Todoist] List tasks with curl and the legacy REST API

Created on November 30, 2026

This historical example lists the authenticated user's active tasks using the retired Todoist REST v1 endpoint. For the current task endpoint and response format, see the Todoist API documentation.

curl -X GET \
  https://api.todoist.com/rest/v1/tasks \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Example response from REST v1

[
    {
        "id": 1234567890,
        "assigner": 0,
        "project_id": 9876543210,
        "section_id": 0,
        "order": 1,
        "content": "Example task 1",
        "description": "",
        "completed": false,
        "label_ids": [],
        "priority": 1,
        "comment_count": 0,
        "creator": 0,
        "created": "2021-01-04T03:53:47Z",
        "url": "https://todoist.com/showTask?id=1234567890"
    },
    {
        "id": 1234567891,
        "assigner": 0,
        "project_id": 9876543210,
        "section_id": 0,
        "order": 2,
        "content": "Example task 2",
        "description": "",
        "completed": false,
        "label_ids": [],
        "priority": 1,
        "comment_count": 0,
        "creator": 0,
        "created": "2021-01-04T03:53:47Z",
        "url": "https://todoist.com/showTask?id=1234567891"
    }
]
Todoist