Prefer natural-language task management? Install the Udle CLI and agent skill.
Authentication
Create a personal access token in Settings → Account & billing → API access. The token is shown once. Send it with every request:
Authorization: Bearer udle_pat_...
Token scopes
When you create a token you can limit it to some todos, using the same filter as a saved perspective: folders, projects, tags, statuses, due window, flag, delegation, and the people work is waiting on, plus optional exclusions and an optional single profile. The filter is copied into the token at creation, so editing a perspective later never widens a token. You can change a token's scope at any time from the same card (Edit scope), including back to full access; the token string stays the same.
Unlike a perspective, a scope's folders and projects add up: the token works inside any of those folders or any of those projects, and the other rows narrow that.
A limited token behaves like this:
GET /todos,/waitingand/check-insreturn only the todos the filter selects;foldersis trimmed to the folders the filter names.POST /todosmust land inside the filter (for example under one of its projects or folders), or it fails with403 token_scope. Moving a todo out of the filter fails the same way.- A todo outside the filter answers
404 todo_not_foundtoPATCH,DELETE, check-ins and attachments, as if it did not exist. - Goals filed in the filter's folders, or linking one of its projects, are visible and editable; a goal may only be created or re-filed inside the filter.
POST /peopleworks, so an agent can add the person it is assigning work to; renaming, archiving and merging people do not. Assigning any existing person to a todo in scope is allowed.- Status marks are a separate switch on the scope: "all" lets the token list, set, add, delete and reorder marks; a picked set lets it list and set only those; otherwise mark routes answer
403. - Every other collection — habits, measurements, workouts, folder edits, Focus, and the
/changesfeed — answers403 token_scope. Reading/peopleand/perspectivesstays allowed. - With a profile pinned, other profiles answer
404 profile_not_foundandGET /profileslists only that one.
Base URL
https://udle.app/api/v1
Endpoints
/profiles/profiles/:profileId/todos/profiles/:profileId/todos/profiles/:profileId/todos/:todoId/profiles/:profileId/todos/:todoId/profiles/:profileId/status-marks/profiles/:profileId/status-marks/profiles/:profileId/status-marks/:markId/profiles/:profileId/status-marks/:markId/profiles/:profileId/status-marks/order/profiles/:profileId/measurements/profiles/:profileId/measurements/profiles/:profileId/measurements/:measurementId/profiles/:profileId/measurements/:measurementId/profiles/:profileId/measurements/order/profiles/:profileId/measurements/entries/profiles/:profileId/measurements/:measurementId/entries/profiles/:profileId/measurements/:measurementId/entries/:entryId/profiles/:profileId/measurements/:measurementId/entries/:entryId/profiles/:profileId/people/profiles/:profileId/people/profiles/:profileId/people/:personId/profiles/:profileId/people/:personId/merge/profiles/:profileId/waiting/profiles/:profileId/check-ins/profiles/:profileId/todos/:todoId/check-ins/profiles/:profileId/changes?afterRevision=NStart by listing profiles
curl -sS \
-H "Authorization: Bearer $UDLE_TOKEN" \
https://udle.app/api/v1/profiles
Use a returned profile id to fetch its todos. Include response headers so you retain the current ETag:
curl -i \
-H "Authorization: Bearer $UDLE_TOKEN" \
https://udle.app/api/v1/profiles/PROFILE_ID/todos
List a perspective
Every todo-list response includes the built-in and saved custom perspectives. Filter by a stable perspective ID or an unambiguous name. For calendar-day views such as Today, send the caller's JavaScript-style UTC offset in minutes.
curl -H "Authorization: Bearer $UDLE_TOKEN" \
'https://udle.app/api/v1/profiles/PROFILE_ID/todos?perspective=Today&timezoneOffset=-120'
Built-in IDs are all, inbox, today, available, projects, flagged, and review. Saved perspectives can be selected by ID or name; duplicate names must use an ID.
Create a todo
Every mutation requires the latest known todo-list ETag in If-Match.
curl -X POST \
-H "Authorization: Bearer $UDLE_TOKEN" \
-H "Content-Type: application/json" \
-H 'If-Match: W/"42"' \
-d '{"title":"Book dentist","tags":["health"],"dueAt":"2026-08-12T09:00:00Z"}' \
https://udle.app/api/v1/profiles/PROFILE_ID/todos
Update or complete a todo
curl -X PATCH \
-H "Authorization: Bearer $UDLE_TOKEN" \
-H "Content-Type: application/json" \
-H 'If-Match: W/"43"' \
-d '{"completed":true}' \
https://udle.app/api/v1/profiles/PROFILE_ID/todos/TODO_ID
Writable fields
| Field | Type | Notes |
|---|---|---|
title | string | Required when creating a todo. |
notes | string or null | Plain-text notes. |
tags | string[] | Up to 100 tags. |
dueAt | ISO 8601 or null | Due date and time. |
deferUntil | ISO 8601 or null | Hide until this date and time. |
effectiveDueAt | read-only, ISO 8601 or null | Due date after inheriting from the nearest ancestor that has one; the todo's own dueAt always wins. dueAt stays the raw own value. |
effectiveDeferUntil | read-only, ISO 8601 or null | Defer date after ancestor inheritance; the todo's own deferUntil always wins. deferUntil stays the raw own value. |
completed | boolean | Complete or reopen the todo. |
flagged | boolean | Set the flagged state. |
delegated | boolean | Mark work as handed off to an agent (robot badge in the app). A todo can be flagged and delegated at the same time; responses also return true when the todo carries a tag from the profile's delegated tags. |
urls | { url, title? }[] or null | The todo's link references (up to 50). url must be an http(s) address; a missing scheme is assumed to be https://, and anything else is 422 invalid_todo. title is optional (max 300 chars) and defaults to the hostname. A PATCH replaces the whole list, and null clears it. Every todo response returns read-only urls: [{ url, title }], [] when the todo has none. |
parentId | string or null | Move below another todo or back to the root. |
position | nonnegative integer | Position among siblings. Creation inserts at that index (clamped to the end); an update re-inserts after removing the todo from its old slot. |
containerMode | "sequential" | "parallel" | "singleActionList" | Project type; projects only, otherwise 422 not_project. Sequential projects make each child wait for the previous one. |
Project context
Each todo includes isProject, projectId, projectName, projectPath, and read-only containerMode (the project's type, or null for plain todos). Use the stable project ID for mutations and show the full path when project names are duplicated.
Status marks
Status marks are your own labelled numbers - weight, open PRs, chapters read. Create any label/value pair and update the number from your scripts, cron jobs, or agents; pinned marks also show inside the Udle sidebar.
curl -X POST \
-H "Authorization: Bearer $UDLE_TOKEN" \
-H "Content-Type: application/json" \
-H 'If-Match: W/"42"' \
-d '{"label":"Weight (kg)","value":82.5,"pinned":true}' \
https://udle.app/api/v1/profiles/PROFILE_ID/status-marks
curl -X PATCH \
-H "Authorization: Bearer $UDLE_TOKEN" \
-H "Content-Type: application/json" \
-H 'If-Match: W/"43"' \
-d '{"value":82.4}' \
https://udle.app/api/v1/profiles/PROFILE_ID/status-marks/MARK_ID
Writable fields are label (required when creating), value (any finite number), pinned (boolean), url (an http(s) link shown as an external-link icon when pinned, or null to clear), unit (a short display string, max 8 chars — $ renders before the value, other units after; null clears), plus presentation-only symbol and colorHex. Mutations use the same ETag and sparse-merge rules as todos. GET returns marks in display order, and PATCH /status-marks/order with { "order": [markId, …] } (plus If-Match) sets it — drag to reorder in the app, or reorder from any API client.
Every create and every value-changing PATCH appends to the mark's history ledger, which the app charts as a sparkline. GET /status-marks?withHistory=1 adds history: [{ "at": ISO-8601, "value": number }] to each mark. Ledgers are kept forever: the newest 400 points stay raw, older ones fold to the last value per UTC day.
People and check-ins
People are records in your account for the colleagues you wait on; they never sign in and Udle never contacts them. Set assigneeId on a todo or project to a person id ("me" overrides a person inherited from the project, null inherits again). Waiting work leaves Today, Available and Flagged, reports nextAction: false, and appears in the waiting perspective with a read-only checkIn object: next check-in, whether it is due, deadline state, ask count and log.
GET /check-ins groups due check-ins per person ("Check in with Adrian: 3 open tasks, 1 overdue"). POST /todos/:todoId/check-ins records one with kind asked (optional note, nextAt), rescheduled (newDue; the old deadline is logged), done, or snoozed (until). checkInRhythm and checkInBeforeDueDays on create and update override the default rhythm: every 14 days from the last check-in, plus 7 days before and on the deadline. Full field reference: docs/web/API.md and udle checkin --help.
Measurements
Measurements are tracked readings — weight, LDL, resting heart rate, estimated 1RM. Create a measurement once, then log point-in-time entries from your scripts, cron jobs, or agents; GET /measurements?withEntries=1 adds entries: [{ "id": …, "at": ISO-8601, "value": number, "note": string|null, "externalID"?: string }] to each measurement, ascending by at.
curl -X POST \
-H "Authorization: Bearer $UDLE_TOKEN" \
-H "Content-Type: application/json" \
-H 'If-Match: W/"42"' \
-d '{"label":"Weight","unit":"kg","category":"Body","better":"down","pinned":true}' \
https://udle.app/api/v1/profiles/PROFILE_ID/measurements
curl -X POST \
-H "Authorization: Bearer $UDLE_TOKEN" \
-H "Content-Type: application/json" \
-H 'If-Match: W/"43"' \
-d '{"at":"2026-08-08T07:00:00Z","value":82.4,"note":"morning"}' \
https://udle.app/api/v1/profiles/PROFILE_ID/measurements/MEASUREMENT_ID/entries
Writable fields are label (required when creating), symbol, colorHex (#RRGGBB), unit (a short display string, max 8 chars — $ renders before the value, other units after; null clears), category, rangeLow/rangeHigh (a low that is not below the high clears both), better ("up" or "down"), and pinned. On creation you can also set source ({"kind":"exercise","exerciseID":…,"metric":"oneRepMax"|"topSet"|"volume"}) to derive the series from logged workouts; derived measurements are read-only — entry writes return 409 derived_read_only. Entry writes take at (ISO 8601 or Apple-epoch seconds), value, note, and — at insert only — externalID, a caller dedupe key such as a HealthKit UUID. linkedID is managed in the app, not by the API. Mutations use the same ETag and sparse-merge rules as todos and share the app's per-account measurement write budget.
GET returns measurements in display order, and PATCH /measurements/order with { "order": [measurementId, …] } (plus If-Match) sets it — unknown ids are dropped and unlisted measurements fall back to creation order at the end.
POST /measurements/entries batch-logs up to 50 {"measurementID", "at", "value", "note"?, "externalID"?} rows in one revision: { "revision":…, "added":n, "skippedDuplicate":n, "unknown":[…], "rejectedDerived":[…] }. Unknown measurement ids land in unknown, derived ones in rejectedDerived, and a repeated externalID is skipped instead of inserted twice — a replay spends no write and returns the current revision. The single-entry endpoints are stricter: missing ids return 404 measurement_not_found or 404 measurement_entry_not_found, and bad input, a missing ETag, or a derived write return 422/409 codes (invalid_measurement, invalid_measurement_entry, invalid_date, revision_required, derived_read_only).
Concurrent changes
Udle uses sparse synchronization. A stale ETag can still succeed when another client changed a different todo or a different field. If both clients changed the same field or structural relationship, the API returns 409 sync_conflict with the conflicting paths. Reload the todo list and decide which value to keep.
Incremental synchronization
Poll /changes?afterRevision=N to retrieve sparse operations after a known revision. Change cursors are retained for 1,000 sparse revisions. If requiresFullSnapshot is true, reload the complete todo list before continuing.
Errors
Errors use a consistent JSON shape:
{
"error": {
"code": "sync_conflict",
"message": "The same todo fields changed elsewhere.",
"fields": ["tasks/{todo-id}/completedAt"]
}
}
Common statuses are 401 for an invalid token, 404 for a missing profile or todo, 422 for invalid input or a missing ETag, and 409 for a synchronization conflict or expired revision.