Focalist REST API

The Focalist API lets your scripts, automations and AI tools read and change your lists and todo items. Changes made through the API sync to your devices like changes made in the app, including lists shared with you.

  • Base URL: https://api.focalist.net/v1
  • OpenAPI description: /v1/openapi.json. It needs no token, so you can load it into tools like Postman or an AI agent's tool configuration.
  • MCP server for AI assistants: MCP server, at https://api.focalist.net/mcp.

Authentication

The API requires Focalist Premium. Every request needs a personal access token.

  1. Sign in at focalist.net/account/api-tokens to create a personal access token.
  2. Give it a name you'll recognize later, and choose its scopes:
    • read: view lists and items.
    • write: create, change, complete, move and delete lists and items.
  3. Copy the token. It starts with fpat_ and is only shown once.

Send it in the Authorization header:

curl https://api.focalist.net/v1/lists \
  -H "Authorization: Bearer fpat_..."

Treat a token like a password: anyone who has it can act on your lists. If a token leaks, revoke it on the same page. It stops working within a minute. You can have up to 20 tokens.

The examples below assume:

export FOCALIST=https://api.focalist.net/v1
export TOKEN=fpat_...

Requests and responses

  • Request and response bodies are JSON. Send Content-Type: application/json with a body.
  • IDs are UUIDs. You can supply your own itemId or listId when creating, or let the server generate one.
  • Fields with no value are left out of responses rather than returned as null.
  • In a PATCH, send only the fields you want to change. Set a field to null to clear it.
  • Start times are local date-times with no time zone, such as 2026-11-23T09:00. They follow the user wherever they are, like an alarm clock.

Endpoints

Method and path Scope What it does
GET /lists read All lists, including lists shared with you.
POST /lists write Create a list.
GET /lists/{listId} read One list.
PATCH /lists/{listId} write Change a list.
DELETE /lists/{listId} write Delete a list and its items. Move or delete its child lists first.
POST /lists/{listId}/restart write Mark every item not done and reset the list.
GET /items read Items, optionally filtered.
POST /items write Create an item.
GET /items/{itemId} read One item.
PATCH /items/{itemId} write Change an item.
DELETE /items/{itemId} write Delete an item and everything nested under it.
POST /items/{itemId}/complete write Mark an item done.
POST /items/{itemId}/uncomplete write Mark an item not done.
POST /items/{itemId}/move write Move an item and its children to another list.

The OpenAPI description lists every field each endpoint accepts.

Examples

Find your lists

curl "$FOCALIST/lists" -H "Authorization: Bearer $TOKEN"
{
  "lists": [
    {
      "listId": "6f1c...",
      "name": "Groceries",
      "mode": "CHECKLIST",
      "ordinal": 1048576,
      "state": "IN_PROGRESS"
    }
  ]
}

Add an item to a list

curl -X POST "$FOCALIST/items" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "title": "Milk", "listId": "6f1c..." }'

The new item goes at the end of the list and the response is the created item. To nest it under another item, add "parentId"; the item goes in the parent's list, so you can leave out listId. Leave out both to create an item that isn't in any list.

Add an item with a start time and reminder

curl -X POST "$FOCALIST/items" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Call the dentist",
    "nextStartDateTime": "2026-11-23T09:00",
    "startReminderType": "DEFAULT"
  }'
  • Use a midnight time with "startMarkerType": "DATE_ONLY" for an item that starts on a day rather than at a time. Date-only items can't have a reminder.
  • To repeat, add "repeatType": DAILY, WEEKLY, MONTHLY, ANNUALLY or CUSTOM. CUSTOM also needs customRepeatIntervalUnit (such as DAYS) and customRepeatIntervalCount.
  • Set nextStartDateTime to null to remove the start, along with its reminder and repeat.

Find items

# Items in a list that aren't done
curl "$FOCALIST/items?listId=6f1c...&done=false" -H "Authorization: Bearer $TOKEN"

# Items starting tomorrow
curl "$FOCALIST/items?startAfter=2026-11-23T00:00&startBefore=2026-11-23T23:59" -H "Authorization: Bearer $TOKEN"

Filters, which can be combined:

Filter Matches
listId Items in this list.
unlisted=true Items not in any list.
parentId Direct children of this item.
done=true / done=false Done or not done items.
search Items whose title contains this text, ignoring case.
startAfter / startBefore Items whose next start is at or after / at or before a time.

Complete an item

curl -X POST "$FOCALIST/items/9a2e.../complete" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "timeZone": "America/Los_Angeles" }'

Completing an item also completes everything nested under it, and any parent whose children are then all done. Repeating items don't become done; they move to their next start time instead. Working that out needs the user's time zone, so timeZone is required for repeating items and optional otherwise.

Rename an item or change its order

curl -X PATCH "$FOCALIST/items/9a2e..." \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "title": "Milk (2 cartons)", "position": "start" }'

position places an item or list among its siblings: "start", "end", { "before": "<id>" } or { "after": "<id>" }. Alternatively set ordinal yourself; lower ordinals come first, and siblings should have distinct ordinals.

Move an item to another list

curl -X POST "$FOCALIST/items/9a2e.../move" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "listId": "b7d0..." }'

Use "listId": null to take it out of any list. To mark items done or move them between lists, use these endpoints rather than PATCH: done and listId can't be changed directly.

Errors

Errors return a non-2xx status with a body like this:

{
  "error": {
    "code": "VALIDATION_FAILED",
    "message": "The input is not valid.",
    "details": [
      {
        "field": "done",
        "message": "done is read-only. Use the complete or uncomplete operation to change it."
      }
    ]
  }
}
Status Code Meaning
400 VALIDATION_FAILED A field is missing or invalid. details says which.
400 BAD_REQUEST The body isn't valid JSON, or an ID is in both the URL and the body.
401 The token is missing, malformed or revoked. The body is { "message": "Unauthorized" }.
403 FORBIDDEN The token doesn't have the scope this endpoint needs, or the account doesn't have Premium.
404 NOT_FOUND The list or item doesn't exist, or you can't see it.
409 CONFLICT The ID is already taken, a list still has child lists, or the data changed while the request ran.
500 INTERNAL_ERROR Something went wrong on our side. It's safe to retry reads.

A request that makes several changes, such as completing an item with many children, applies them one at a time. If it fails partway, the error message says how many changes were applied.