From the terminal.
A small REST API on your own account: read today's list, check a habit in, add and tick tasks, commit to your day. Plain JSON, one bearer key, an OpenAPI 3.1 schema.
Base URL and key
- Base URL:
https://trackinpublic.app/api/v1 - Auth:
Authorization: Bearer tip_live_...(orX-API-Key). Keys are made on the dashboard with a Pro plan, shown once, stored as a hash, revocable. - Schema: https://trackinpublic.app/openapi.json
export TIP_KEY=tip_live_YOUR_KEY
Everyday calls
What is on today
curl https://trackinpublic.app/api/v1/today -H "Authorization: Bearer $TIP_KEY"
Check a habit in
curl -X POST https://trackinpublic.app/api/v1/checkins \
-H "Authorization: Bearer $TIP_KEY" \
-H "Content-Type: application/json" \
-d '{"habit":"Gym"}'Pass "checked": false to undo today's check-in. habitId works in place of the name.
Add a task to today
curl -X POST https://trackinpublic.app/api/v1/tasks \
-H "Authorization: Bearer $TIP_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"Ship the pricing page"}'Create a habit
curl -X POST https://trackinpublic.app/api/v1/habits \
-H "Authorization: Bearer $TIP_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Read 20 pages","isPublic":true}'Commit to today in public
curl -X POST https://trackinpublic.app/api/v1/today/commit -H "Authorization: Bearer $TIP_KEY"
Automate a check-in
Let a machine check you in when it knows the work happened: a cron job, a git hook, a CI step.
# check in "Ship a commit" every evening at 20:00, from a machine that has the key
0 20 * * * curl -s -X POST https://trackinpublic.app/api/v1/checkins -H "Authorization: Bearer $TIP_KEY" -H "Content-Type: application/json" -d '{"habit":"Ship a commit"}'All endpoints
| Method | Path | What it does |
|---|---|---|
GET | /me | Your account: name, handle, timezone, plan, page URL |
GET | /today | Today's habits and tasks, done or not, commitment, recap hour |
POST | /today/commit | Commit to today's list in public (idempotent) |
GET | /habits | Habits with streak, best, total, checkedToday |
POST | /habits | Create a habit: name, isPublic |
PATCH | /habits/:id | Rename a habit or switch its visibility |
DELETE | /habits/:id | Delete a habit and its history |
GET | /checkins | Every check-in as habitId + day |
POST | /checkins | Check in for today: habitId or habit (name), checked |
GET | /tasks | Today's tasks |
POST | /tasks | Add a task to today: title, isPublic, projectId |
PATCH | /tasks/:id | Tick, rename or hide one of today's tasks |
DELETE | /tasks/:id | Remove one of today's tasks |
GET | /projects | Projects (they group tasks on the profile) |
POST | /projects | Create a project |
PATCH | /projects/:id | Edit a project |
DELETE | /projects/:id | Delete a project (its tasks stay) |
GET | /profile | Your public profile: pinned cards, year graph, counts |
PATCH | /profile | Name, handle, bio, location, pinned, showPrivate |
GET | /me/social | Handles, favorite network, auto-post, recap hour |
PATCH | /me/social | Change those settings |
GET | /leaderboard | Public ranking by live streak (no key needed) |
Paths are relative to https://trackinpublic.app/api/v1. The same account is reachable over MCP: see the MCP server page.
Questions
How do I authenticate?
Send Authorization: Bearer followed by your tip_live_ key. The X-API-Key header works too. Every call is scoped to the account that owns the key.
Can I write a check-in for yesterday?
No. POST /checkins always writes today in your account's timezone, whatever time the request arrives. A cron job that runs after midnight writes the new day.
Is there an OpenAPI schema?
Yes: https://trackinpublic.app/openapi.json (OpenAPI 3.1). It is the schema ChatGPT imports for a custom GPT, and it works with any OpenAPI client or code generator.
What do errors look like?
A JSON body {"error": "..."} with the HTTP status: 400 bad body, 401 missing or invalid key, 403 plan or daily limit, 404 not in your account, 409 name taken or day closed.