---
title: "Get a habit by ID"
method: GET
path: "/open/v1/habit/{habitId}"
---

# Get a habit by ID

`GET /open/v1/habit/{habitId}`

## Request

- Base URL: `https://ticktick.com`
- URL: `https://ticktick.com/open/v1/habit/{habitId}`
- Auth: none declared

## Path parameters

- `habitId` string, required

## Response `200`

OK

- object: Habit object.

## Other responses

- `404`: The habit does not exist or is not accessible to the current user.

## Changes

- **2026-10-14** `560e790aecb3`: 1 info
  - added the optional property `data` to the response with the `404` status
- **2026-09-02** `855402840be3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ticktick/apis/ticktick-openapi/changes/open/v1/habit/:habitId/get.md)

---

[API](https://skmtc.dev/ticktick/apis/ticktick-openapi.md) - [All operations](https://skmtc.dev/ticktick/apis/ticktick-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/ticktick/apis/ticktick-openapi/revisions/bbd09df38f88?raw)
