Muninlist

Developers / API reference

API reference

78 endpoints under https://api.muninlist.com. Version 1.0.0-beta (beta).

Download openapi.json (OpenAPI 3.1.0), also served live at https://api.muninlist.com/v1/openapi.json. New here? Start with the getting-started guide.

Overview

The Muninlist API: lists, tasks, subtasks, tags, images, search, trash and activity.

Beta. /v1 is beta until the end of phase 2; after that breaking changes only ship in /v2 and additive changes may appear in /v1.

Authentication. Send Authorization: Bearer <token>. The token is either a Muninlist app session token (the access token of a signed-in user) or a personal access token (mlt_..., created under /v1/tokens or in the app) for scripts and integrations. A personal access token acts as you but can be limited to selected lists, can do what the app can on those lists (deleting lists included), and shows up as "via API" in the activity. AI assistants connect through Muninlist's OAuth server (/.well-known/oauth-authorization-server) and then use an opaque mlo_... access token the same way, limited to the lists the person chose. The Muninlist app also hands its own native parts (the Android home-screen widget) a device token (mld_..., created under /v1/devices) that acts as you on all lists and shows as the app. Account security actions (managing access tokens and devices, approving assistants, deleting the account) need a signed-in user session and answer 403 session_required for personal access tokens, device tokens and AI assistants.

Errors. Failures answer { "error": "<code>", "message": "<for people>" }. Statuses: 400 invalid_request, 401 unauthorized, 403 (forbidden, agent_scope, token_scope, session_required, premium_required, name_required), 404 not_found, 409 conflict, 429 rate_limited (with Retry-After).

Sharing. Lists are shared with invite links: an owner creates a link (POST /v1/lists/{id}/invites) with a role (editor or viewer; owners are made by changing a member's role), an expiry and an optional limit of uses, and sends it to people, who open it and join (POST /v1/invites/{token}/accept). The link is shown once, when it is created. A list can have several owners and always keeps at least one. Members see each other's display names and avatars, never email addresses; you need a display name yourself before you can create or accept a link (403 name_required, set it with PATCH /v1/me). Assistants and personal access tokens can share the lists they can use. Tasks can be assigned to members of the list. GET /v1/invites/{id} (with the link's token as id: what a link is for) is the only route that needs no authentication.

Groups. A group is a set of people who share all the group's lists, like a family or a team (/v1/groups). Creating one needs Premium; joining is free. People join with an invite link like the ones for lists (POST /v1/groups/{id}/invites, then POST /v1/invites/{token}/accept) and are members; the owner can make others admins and hand the group over. Create lists in a group with groupId on POST /v1/lists, and move a list in or out with POST /v1/lists/{id}/move. On a list of a group the myRole and member roles are effective roles: group owners and admins count as list owners, members as editors. Deleting a group never deletes lists: they become the owner's personal lists. Assistants and access tokens that can use all lists may use groups (deleting and handing over included); ones limited to selected lists get 403 agent_scope or 403 token_scope.

Writes. Every write endpoint takes an optional Idempotency-Key header (a UUID): a retry with the same key applies the change once and returns the same outcome, including the same error. Creates accept a client-chosen id; where a position is optional it defaults to the end.

Sections

Lists

Lists of tasks.

GET /v1/lists

List your lists

The live lists this token can read, in position order, with the number of open tasks in each.

Responses

StatusMeaning and body
200The lists
ListCollection
{
  items: {
    id: string (uuid)
    name: string
    color: string | null
    icon: string | null
    position: string (1 to 64 characters)
    groupId: string (uuid) | null
    createdAt: string (date-time)
    updatedAt: string (date-time)
    openTaskCount: integer (min 0)
    myRole: "owner" | "editor" | "viewer" | null
    memberCount: integer (min 0)
    shared: boolean
    pinned: boolean
  }[]
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/lists" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/lists

Create a list

Without position the list goes after your last list. With groupId the list is created in that group instead of as your personal list: you must be a member of the group and the group owner needs Premium (403 premium_required); a group can have 20 lists. Assistants and access tokens that can use all lists may create lists, in a group too. Ones limited to selected lists cannot (agent_scope, token_scope).

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.

Request body

{
  id?: string (uuid)  // Client-chosen id. Omit it and the server picks one.
  name: string (1 to 200 characters)
  color?: string (at most 32 characters) | null
  icon?: string (at most 64 characters) | null
  position?: string (1 to 64 characters)  // Sort key (fractional index). Omit it to place the list after your last list.
  groupId?: string (uuid) | null
}

Responses

StatusMeaning and body
201The new list
List
{
  id: string (uuid)
  name: string
  color: string | null
  icon: string | null
  position: string (1 to 64 characters)
  groupId: string (uuid) | null
  createdAt: string (date-time)
  updatedAt: string (date-time)
  openTaskCount: integer (min 0)
  myRole: "owner" | "editor" | "viewer" | null
  memberCount: integer (min 0)
  shared: boolean
  pinned: boolean
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/lists" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Groceries"}'

GET /v1/lists/{id}

Get one list

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesList id

Responses

StatusMeaning and body
200The list
List
{
  id: string (uuid)
  name: string
  color: string | null
  icon: string | null
  position: string (1 to 64 characters)
  groupId: string (uuid) | null
  createdAt: string (date-time)
  updatedAt: string (date-time)
  openTaskCount: integer (min 0)
  myRole: "owner" | "editor" | "viewer" | null
  memberCount: integer (min 0)
  shared: boolean
  pinned: boolean
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/lists/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

PATCH /v1/lists/{id}

Update a list

Send only the fields to change; null clears color or icon.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesList id

Request body

{
  name?: string (1 to 200 characters)
  color?: string (at most 32 characters) | null
  icon?: string (at most 64 characters) | null
  position?: string (1 to 64 characters)
}

Responses

StatusMeaning and body
200The updated list
List
{
  id: string (uuid)
  name: string
  color: string | null
  icon: string | null
  position: string (1 to 64 characters)
  groupId: string (uuid) | null
  createdAt: string (date-time)
  updatedAt: string (date-time)
  openTaskCount: integer (min 0)
  myRole: "owner" | "editor" | "viewer" | null
  memberCount: integer (min 0)
  shared: boolean
  pinned: boolean
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X PATCH "https://api.muninlist.com/v1/lists/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Groceries"}'

DELETE /v1/lists/{id}

Delete a list

Moves the list (with its tasks) to the trash for 90 days; restore it with POST /v1/lists/{id}/restore. Needs the list owner right (on a group list, group owners and admins have it). Other members lose access while it is in the trash. Assistants and access tokens may do it on the lists they can use.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesList id

Responses

StatusMeaning and body
204Deleted
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/lists/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/lists/{id}/restore

Restore a deleted list

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesList id

Responses

StatusMeaning and body
200The restored list
List
{
  id: string (uuid)
  name: string
  color: string | null
  icon: string | null
  position: string (1 to 64 characters)
  groupId: string (uuid) | null
  createdAt: string (date-time)
  updatedAt: string (date-time)
  openTaskCount: integer (min 0)
  myRole: "owner" | "editor" | "viewer" | null
  memberCount: integer (min 0)
  shared: boolean
  pinned: boolean
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/lists/ID/restore" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

PUT /v1/lists/{id}/pin

Pin a list

Pins are personal: they show the list first in your overview, in the order you pinned. Pinning a list that is already pinned changes nothing.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesList id

Responses

StatusMeaning and body
200The list, with pinned: true
List
{
  id: string (uuid)
  name: string
  color: string | null
  icon: string | null
  position: string (1 to 64 characters)
  groupId: string (uuid) | null
  createdAt: string (date-time)
  updatedAt: string (date-time)
  openTaskCount: integer (min 0)
  myRole: "owner" | "editor" | "viewer" | null
  memberCount: integer (min 0)
  shared: boolean
  pinned: boolean
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X PUT "https://api.muninlist.com/v1/lists/ID/pin" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

DELETE /v1/lists/{id}/pin

Unpin a list

Removes the pin; unpinning a list that is not pinned changes nothing. Also works for a list that was deleted or that you can no longer read, which is then answered with 204 instead of the list.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesList id

Responses

StatusMeaning and body
200The list, with pinned: false
List
{
  id: string (uuid)
  name: string
  color: string | null
  icon: string | null
  position: string (1 to 64 characters)
  groupId: string (uuid) | null
  createdAt: string (date-time)
  updatedAt: string (date-time)
  openTaskCount: integer (min 0)
  myRole: "owner" | "editor" | "viewer" | null
  memberCount: integer (min 0)
  shared: boolean
  pinned: boolean
}
204Unpinned; the list is deleted or not readable, so there is nothing to return
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/lists/ID/pin" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

Tasks

Tasks with their subtasks and attachments.

GET /v1/lists/{id}/tasks

List the tasks of a list

Live tasks of one list, in the order of the list in the app (by position). With status=completed the newest completions come first. Pages are keyset based: pass nextCursor back as cursor.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesList id
statusquery"open" | "completed" | "all"noWhich tasks to return. Default open.
dueBeforequerystring (date-time)noOnly tasks due strictly before this instant.
dueAfterquerystring (date-time)noOnly tasks due at or after this instant.
tagquerystring (1 to 100 characters)noOnly tasks with this tag (case-insensitive).
updatedSincequerystring (date-time)noOnly tasks changed after this instant.
limitqueryinteger (1 to 200)noPage size, 1 to 200. Default 50.
cursorquerystring (1 to 500 characters)noThe nextCursor of the previous page. Opaque.

Responses

StatusMeaning and body
200A page of tasks
TaskPage
{
  items: {
    id: string (uuid)
    listId: string (uuid)
    title: string
    description: string | null
    dueAt: string (date-time) | null
    dueHasTime: boolean
    completedAt: string (date-time) | null
    position: string (1 to 64 characters)
    tags: string[]
    location: {
      name: string (at most 200 characters) | null
      address: string (at most 500 characters) | null
      lat: number (-90 to 90) | null
      lng: number (-180 to 180) | null
    } | null
    links: {
      url: string (at most 2000 characters)
      title: string | null
    }[]
    assigneeId: string (uuid) | null
    assignee: {
      id: string (uuid)
      displayName: string
    } | null
    agentHandoff: boolean
    createdVia: "app" | "api" | "mcp"
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }[]
  nextCursor: string | null
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/lists/ID/tasks" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/lists/{id}/tasks

Create a task

Without position the task goes to the top of the list, or to the end with at: "end".

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesList id

Request body

{
  id?: string (uuid)  // Client-chosen id. Omit it and the server picks one.
  title: string (1 to 500 characters)
  description?: string (at most 20000 characters) | null
  dueAt?: string (date-time) | null
  dueHasTime?: boolean
  assigneeId?: string (uuid) | null
  agentHandoff?: boolean
  location?: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90) | null
    lng: number (-180 to 180) | null
  } | null
  links?: {
    url: string (at most 2000 characters)
    title?: string (at most 200 characters, default null) | null
  }[] (at most 20 items)
  tags?: Array<string (1 to 50 characters, pattern ^[^\s#,]+$)> (at most 50 items)
  position?: string (1 to 64 characters)  // Sort key (fractional index). Omit it to place the task at the top of the list.
  at?: "start" | "end"  // Where the task goes when you send no `position`: `start` (default) before the first task, so new tasks show on top; `end` after the last one. Not together with `position`.
}

Responses

StatusMeaning and body
201The new task
TaskDetail
{
  id: string (uuid)
  listId: string (uuid)
  title: string
  description: string | null
  dueAt: string (date-time) | null
  dueHasTime: boolean
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  tags: string[]
  location: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90) | null
    lng: number (-180 to 180) | null
  } | null
  links: {
    url: string (at most 2000 characters)
    title: string | null
  }[]
  assigneeId: string (uuid) | null
  assignee: {
    id: string (uuid)
    displayName: string
  } | null
  agentHandoff: boolean
  createdVia: "app" | "api" | "mcp"
  createdAt: string (date-time)
  updatedAt: string (date-time)
  subtasks: {
    id: string (uuid)
    taskId: string (uuid)
    title: string
    completedAt: string (date-time) | null
    position: string (1 to 64 characters)
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }[]
  attachments: {
    id: string (uuid)
    taskId: string (uuid)
    mime: string
    sizeBytes: integer | null
    width: integer | null
    height: integer | null
    createdAt: string (date-time)
  }[]
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/lists/ID/tasks" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"Buy milk"}'

GET /v1/tasks/{id}

Get one task

A live task with its live subtasks and attachments.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesTask id

Responses

StatusMeaning and body
200The task
TaskDetail
{
  id: string (uuid)
  listId: string (uuid)
  title: string
  description: string | null
  dueAt: string (date-time) | null
  dueHasTime: boolean
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  tags: string[]
  location: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90) | null
    lng: number (-180 to 180) | null
  } | null
  links: {
    url: string (at most 2000 characters)
    title: string | null
  }[]
  assigneeId: string (uuid) | null
  assignee: {
    id: string (uuid)
    displayName: string
  } | null
  agentHandoff: boolean
  createdVia: "app" | "api" | "mcp"
  createdAt: string (date-time)
  updatedAt: string (date-time)
  subtasks: {
    id: string (uuid)
    taskId: string (uuid)
    title: string
    completedAt: string (date-time) | null
    position: string (1 to 64 characters)
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }[]
  attachments: {
    id: string (uuid)
    taskId: string (uuid)
    mime: string
    sizeBytes: integer | null
    width: integer | null
    height: integer | null
    createdAt: string (date-time)
  }[]
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/tasks/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

PATCH /v1/tasks/{id}

Update a task

Send only the fields to change; null clears description, due date, assignee and location. To change the list or the order use POST /v1/tasks/{id}/move.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesTask id

Request body

{
  title?: string (1 to 500 characters)
  description?: string (at most 20000 characters) | null
  dueAt?: string (date-time) | null
  dueHasTime?: boolean
  assigneeId?: string (uuid) | null
  agentHandoff?: boolean
  location?: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90) | null
    lng: number (-180 to 180) | null
  } | null
  links?: {
    url: string (at most 2000 characters)
    title?: string (at most 200 characters, default null) | null
  }[] (at most 20 items)
}

Responses

StatusMeaning and body
200The updated task
TaskDetail
{
  id: string (uuid)
  listId: string (uuid)
  title: string
  description: string | null
  dueAt: string (date-time) | null
  dueHasTime: boolean
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  tags: string[]
  location: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90) | null
    lng: number (-180 to 180) | null
  } | null
  links: {
    url: string (at most 2000 characters)
    title: string | null
  }[]
  assigneeId: string (uuid) | null
  assignee: {
    id: string (uuid)
    displayName: string
  } | null
  agentHandoff: boolean
  createdVia: "app" | "api" | "mcp"
  createdAt: string (date-time)
  updatedAt: string (date-time)
  subtasks: {
    id: string (uuid)
    taskId: string (uuid)
    title: string
    completedAt: string (date-time) | null
    position: string (1 to 64 characters)
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }[]
  attachments: {
    id: string (uuid)
    taskId: string (uuid)
    mime: string
    sizeBytes: integer | null
    width: integer | null
    height: integer | null
    createdAt: string (date-time)
  }[]
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X PATCH "https://api.muninlist.com/v1/tasks/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"Buy milk"}'

DELETE /v1/tasks/{id}

Delete a task

Moves the task to the trash; restore it with POST /v1/tasks/{id}/restore.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesTask id

Responses

StatusMeaning and body
204Deleted
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/tasks/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

GET /v1/agenda

Tasks that are due soon

Open tasks (not completed, not deleted) from every list this token can read whose due date is at or before until, overdue ones included. Earliest due first, then by position. Pages are keyset based: pass nextCursor back as cursor.

Parameters

NameInTypeRequiredDescription
untilquerystring (date-time)yesInclude tasks due at or before this instant.
limitqueryinteger (1 to 200)noPage size, 1 to 200. Default 50.
cursorquerystring (1 to 500 characters)noThe nextCursor of the previous page. Opaque.

Responses

StatusMeaning and body
200A page of tasks
TaskPage
{
  items: {
    id: string (uuid)
    listId: string (uuid)
    title: string
    description: string | null
    dueAt: string (date-time) | null
    dueHasTime: boolean
    completedAt: string (date-time) | null
    position: string (1 to 64 characters)
    tags: string[]
    location: {
      name: string (at most 200 characters) | null
      address: string (at most 500 characters) | null
      lat: number (-90 to 90) | null
      lng: number (-180 to 180) | null
    } | null
    links: {
      url: string (at most 2000 characters)
      title: string | null
    }[]
    assigneeId: string (uuid) | null
    assignee: {
      id: string (uuid)
      displayName: string
    } | null
    agentHandoff: boolean
    createdVia: "app" | "api" | "mcp"
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }[]
  nextCursor: string | null
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/agenda?until=2026-12-01T09%3A00%3A00Z" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/tasks/{id}/move

Move or reorder a task

Moves the task to another list (listId) and/or changes its place (position). Without position the task goes to the end of the destination list.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesTask id

Request body

{
  listId?: string (uuid)  // Move to this list (you need edit rights on both lists).
  position?: string (1 to 64 characters)  // Sort key in the destination list. Omit it to move to the end.
}

Responses

StatusMeaning and body
200The moved task
TaskDetail
{
  id: string (uuid)
  listId: string (uuid)
  title: string
  description: string | null
  dueAt: string (date-time) | null
  dueHasTime: boolean
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  tags: string[]
  location: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90) | null
    lng: number (-180 to 180) | null
  } | null
  links: {
    url: string (at most 2000 characters)
    title: string | null
  }[]
  assigneeId: string (uuid) | null
  assignee: {
    id: string (uuid)
    displayName: string
  } | null
  agentHandoff: boolean
  createdVia: "app" | "api" | "mcp"
  createdAt: string (date-time)
  updatedAt: string (date-time)
  subtasks: {
    id: string (uuid)
    taskId: string (uuid)
    title: string
    completedAt: string (date-time) | null
    position: string (1 to 64 characters)
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }[]
  attachments: {
    id: string (uuid)
    taskId: string (uuid)
    mime: string
    sizeBytes: integer | null
    width: integer | null
    height: integer | null
    createdAt: string (date-time)
  }[]
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/tasks/ID/move" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"listId":"3f2b8c1e-5a4d-4c7e-9b1a-2d6e8f0a1b23"}'

POST /v1/tasks/{id}/complete

Complete a task

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesTask id

Responses

StatusMeaning and body
200The completed task
TaskDetail
{
  id: string (uuid)
  listId: string (uuid)
  title: string
  description: string | null
  dueAt: string (date-time) | null
  dueHasTime: boolean
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  tags: string[]
  location: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90) | null
    lng: number (-180 to 180) | null
  } | null
  links: {
    url: string (at most 2000 characters)
    title: string | null
  }[]
  assigneeId: string (uuid) | null
  assignee: {
    id: string (uuid)
    displayName: string
  } | null
  agentHandoff: boolean
  createdVia: "app" | "api" | "mcp"
  createdAt: string (date-time)
  updatedAt: string (date-time)
  subtasks: {
    id: string (uuid)
    taskId: string (uuid)
    title: string
    completedAt: string (date-time) | null
    position: string (1 to 64 characters)
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }[]
  attachments: {
    id: string (uuid)
    taskId: string (uuid)
    mime: string
    sizeBytes: integer | null
    width: integer | null
    height: integer | null
    createdAt: string (date-time)
  }[]
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/tasks/ID/complete" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/tasks/{id}/reopen

Reopen a completed task

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesTask id

Responses

StatusMeaning and body
200The reopened task
TaskDetail
{
  id: string (uuid)
  listId: string (uuid)
  title: string
  description: string | null
  dueAt: string (date-time) | null
  dueHasTime: boolean
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  tags: string[]
  location: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90) | null
    lng: number (-180 to 180) | null
  } | null
  links: {
    url: string (at most 2000 characters)
    title: string | null
  }[]
  assigneeId: string (uuid) | null
  assignee: {
    id: string (uuid)
    displayName: string
  } | null
  agentHandoff: boolean
  createdVia: "app" | "api" | "mcp"
  createdAt: string (date-time)
  updatedAt: string (date-time)
  subtasks: {
    id: string (uuid)
    taskId: string (uuid)
    title: string
    completedAt: string (date-time) | null
    position: string (1 to 64 characters)
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }[]
  attachments: {
    id: string (uuid)
    taskId: string (uuid)
    mime: string
    sizeBytes: integer | null
    width: integer | null
    height: integer | null
    createdAt: string (date-time)
  }[]
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/tasks/ID/reopen" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/tasks/{id}/restore

Restore a deleted task

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesTask id

Responses

StatusMeaning and body
200The restored task
TaskDetail
{
  id: string (uuid)
  listId: string (uuid)
  title: string
  description: string | null
  dueAt: string (date-time) | null
  dueHasTime: boolean
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  tags: string[]
  location: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90) | null
    lng: number (-180 to 180) | null
  } | null
  links: {
    url: string (at most 2000 characters)
    title: string | null
  }[]
  assigneeId: string (uuid) | null
  assignee: {
    id: string (uuid)
    displayName: string
  } | null
  agentHandoff: boolean
  createdVia: "app" | "api" | "mcp"
  createdAt: string (date-time)
  updatedAt: string (date-time)
  subtasks: {
    id: string (uuid)
    taskId: string (uuid)
    title: string
    completedAt: string (date-time) | null
    position: string (1 to 64 characters)
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }[]
  attachments: {
    id: string (uuid)
    taskId: string (uuid)
    mime: string
    sizeBytes: integer | null
    width: integer | null
    height: integer | null
    createdAt: string (date-time)
  }[]
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/tasks/ID/restore" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

PUT /v1/tasks/{id}/tags/{tag}

Add a tag to a task

Idempotent: adding a tag the task has is a no-op. Tags match case-insensitively.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesTask id
tagpathstring (1 to 50 characters, pattern ^[^\s#,]+$)yesThe tag, URL-encoded. No spaces, # or commas.

Responses

StatusMeaning and body
200The task with its tags
TaskDetail
{
  id: string (uuid)
  listId: string (uuid)
  title: string
  description: string | null
  dueAt: string (date-time) | null
  dueHasTime: boolean
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  tags: string[]
  location: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90) | null
    lng: number (-180 to 180) | null
  } | null
  links: {
    url: string (at most 2000 characters)
    title: string | null
  }[]
  assigneeId: string (uuid) | null
  assignee: {
    id: string (uuid)
    displayName: string
  } | null
  agentHandoff: boolean
  createdVia: "app" | "api" | "mcp"
  createdAt: string (date-time)
  updatedAt: string (date-time)
  subtasks: {
    id: string (uuid)
    taskId: string (uuid)
    title: string
    completedAt: string (date-time) | null
    position: string (1 to 64 characters)
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }[]
  attachments: {
    id: string (uuid)
    taskId: string (uuid)
    mime: string
    sizeBytes: integer | null
    width: integer | null
    height: integer | null
    createdAt: string (date-time)
  }[]
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X PUT "https://api.muninlist.com/v1/tasks/ID/tags/TAG" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

DELETE /v1/tasks/{id}/tags/{tag}

Remove a tag from a task

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesTask id
tagpathstring (1 to 50 characters, pattern ^[^\s#,]+$)yesThe tag, URL-encoded.

Responses

StatusMeaning and body
200The task with its tags
TaskDetail
{
  id: string (uuid)
  listId: string (uuid)
  title: string
  description: string | null
  dueAt: string (date-time) | null
  dueHasTime: boolean
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  tags: string[]
  location: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90) | null
    lng: number (-180 to 180) | null
  } | null
  links: {
    url: string (at most 2000 characters)
    title: string | null
  }[]
  assigneeId: string (uuid) | null
  assignee: {
    id: string (uuid)
    displayName: string
  } | null
  agentHandoff: boolean
  createdVia: "app" | "api" | "mcp"
  createdAt: string (date-time)
  updatedAt: string (date-time)
  subtasks: {
    id: string (uuid)
    taskId: string (uuid)
    title: string
    completedAt: string (date-time) | null
    position: string (1 to 64 characters)
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }[]
  attachments: {
    id: string (uuid)
    taskId: string (uuid)
    mime: string
    sizeBytes: integer | null
    width: integer | null
    height: integer | null
    createdAt: string (date-time)
  }[]
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/tasks/ID/tags/TAG" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/tasks/{id}/subtasks

Add a subtask

Without position the subtask goes after the last one.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesTask id

Request body

{
  id?: string (uuid)  // Client-chosen id. Omit it and the server picks one.
  title: string (1 to 500 characters)
  position?: string (1 to 64 characters)  // Sort key (fractional index). Omit it to place the subtask after the last one.
}

Responses

StatusMeaning and body
201The new subtask
Subtask
{
  id: string (uuid)
  taskId: string (uuid)
  title: string
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  createdAt: string (date-time)
  updatedAt: string (date-time)
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/tasks/ID/subtasks" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"Buy milk"}'

PATCH /v1/subtasks/{id}

Update a subtask

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesSubtask id

Request body

{
  title?: string (1 to 500 characters)
  position?: string (1 to 64 characters)
}

Responses

StatusMeaning and body
200The updated subtask
Subtask
{
  id: string (uuid)
  taskId: string (uuid)
  title: string
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  createdAt: string (date-time)
  updatedAt: string (date-time)
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X PATCH "https://api.muninlist.com/v1/subtasks/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"title":"Buy milk"}'

DELETE /v1/subtasks/{id}

Delete a subtask

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesSubtask id

Responses

StatusMeaning and body
204Deleted
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/subtasks/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/subtasks/{id}/complete

Complete a subtask

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesSubtask id

Responses

StatusMeaning and body
200The completed subtask
Subtask
{
  id: string (uuid)
  taskId: string (uuid)
  title: string
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  createdAt: string (date-time)
  updatedAt: string (date-time)
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/subtasks/ID/complete" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/subtasks/{id}/reopen

Reopen a completed subtask

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesSubtask id

Responses

StatusMeaning and body
200The reopened subtask
Subtask
{
  id: string (uuid)
  taskId: string (uuid)
  title: string
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  createdAt: string (date-time)
  updatedAt: string (date-time)
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/subtasks/ID/reopen" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/subtasks/{id}/restore

Restore a deleted subtask

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesSubtask id

Responses

StatusMeaning and body
200The restored subtask
Subtask
{
  id: string (uuid)
  taskId: string (uuid)
  title: string
  completedAt: string (date-time) | null
  position: string (1 to 64 characters)
  createdAt: string (date-time)
  updatedAt: string (date-time)
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/subtasks/ID/restore" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

Tags

Tags in use.

GET /v1/tags

Tags in use

Every tag used on a live task in a readable list, with how many tasks carry it.

Responses

StatusMeaning and body
200The tags
TagCollection
{
  items: {
    tag: string
    count: integer (min 1)
  }[]
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/tags" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

Sharing

Invite links and the people on a list.

GET /v1/lists/{id}/invites

List the active invite links

Owners only. Links that can still be used, newest first: role, expiry and how often they were used. Never the token or the link itself. Cancelled, expired and used-up links are left out.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesList id

Responses

StatusMeaning and body
200The links
InviteList
{
  items: {
    id: string (uuid)
    listId: string (uuid)
    role: "editor" | "viewer"
    expiresAt: string (date-time)
    maxUses: integer | null
    useCount: integer (min 0)
    createdAt: string (date-time)
    createdBy: {
      id: string (uuid)
      displayName: string
    }
  }[]
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed (forbidden: your role on the list is too low), the list is outside the access token's or assistant's scope (token_scope, agent_scope), or you need a display name first (name_required: set it with PATCH /v1/me).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/lists/ID/invites" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/lists/{id}/invites

Create an invite link

Owners only. The response is the only one that contains the link (url) and its token: Muninlist keeps just a hash, so a lost link cannot be shown again (cancel it and make a new one). Anyone who has the link and a Muninlist account with a display name can join with the role the link grants (editor by default, or viewer; never owner). Links expire after 7 days by default (at most 30), a list can have 20 active links, and you can create 30 links per hour. Assistants and personal access tokens may create links for the lists they can use.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesList id

Request body

{
  role?: "editor" | "viewer"  // What people joining get. Default `editor`.
  expiresInDays?: integer (1 to 30, default 7)  // Days until the link stops working (1 to 30). Default 7.
  maxUses?: integer (max 1000)  // How many people may join with the link. Omit for no limit.
}

Responses

StatusMeaning and body
201The new link, including its token
InviteCreated
{
  id: string (uuid)
  listId: string (uuid)
  role: "editor" | "viewer"
  expiresAt: string (date-time)
  maxUses: integer | null
  useCount: integer (min 0)
  createdAt: string (date-time)
  createdBy: {
    id: string (uuid)
    displayName: string
  }
  token: string
  url: string
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed (forbidden: your role on the list is too low), the list is outside the access token's or assistant's scope (token_scope, agent_scope), or you need a display name first (name_required: set it with PATCH /v1/me).
404No such resource, or it is not visible to this token (not_found).
409A request with this Idempotency-Key was already applied (conflict). Only sent by POST /v1/lists/{id}/invites: the link cannot be shown twice.
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/lists/ID/invites" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"role":"editor"}'

GET /v1/invites/{id}

See what an invite link is for

No authentication, so a landing page can show it before sign-in. id is the link's token (mli_...). A link is for one list or for a whole group (kind). Shows the list or group name, the display name of the person who made the link, the role it grants (editor or viewer for a list, member for a group), when it expires and its status; never who is on the list or in the group. Unknown tokens are 404 not_found. Limited to 60 requests per minute per client IP.

Parameters

NameInTypeRequiredDescription
idpathstring (1 to 200 characters)yesThe invite token (mli_...)

Responses

StatusMeaning and body
200The invite
InvitePreview
{
  kind: "list" | "group"
  listName: string | null
  groupName: string | null
  inviterDisplayName: string
  role: "editor" | "viewer" | "member"
  expiresAt: string (date-time)
  status: "valid" | "expired" | "revoked" | "used_up" | "list_deleted"
}
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/invites/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

DELETE /v1/invites/{id}

Cancel an invite link

Works for list links and group links. List links: list owners only. Group links: the group owner and admins (assistants and tokens need access to all lists). A link you cannot manage reads as 404. The link stops working at once; people who already joined stay. Cancelling a cancelled link succeeds.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesInvite id

Responses

StatusMeaning and body
204Cancelled
401Missing, invalid, revoked or expired bearer token.
403Not allowed (forbidden: your role on the list is too low), the list is outside the access token's or assistant's scope (token_scope, agent_scope), or you need a display name first (name_required: set it with PATCH /v1/me).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/invites/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/invites/{token}/accept

Join a list or group with an invite link

You need a display name first (403 name_required; set it with PATCH /v1/me). Accepting is safe to repeat: if you are already on the list or in the group your role is never lowered and no use of the link is spent (alreadyMember: true). A group link adds you as a member; it needs the group to have room (100 people) and its owner to have Premium (403 premium_required). The response carries the list or the group you joined. An expired, cancelled, used-up or deleted link answers 400 invalid_request; a token that does not exist, 404. You can accept 30 links per hour.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
tokenpathstring (1 to 200 characters)yesThe invite token (mli_...)

Responses

StatusMeaning and body
200You are on the list or in the group
AcceptedInviteResponse
{
  kind: "list" | "group"
  listId: string (uuid) | null
  groupId: string (uuid) | null
  role: "owner" | "editor" | "viewer" | "admin" | "member"
  alreadyMember: boolean
  // The list as you see it now; null for a group link or if this credential may not read it.
  list: {
    id: string (uuid)
    name: string
    color: string | null
    icon: string | null
    position: string (1 to 64 characters)
    groupId: string (uuid) | null
    createdAt: string (date-time)
    updatedAt: string (date-time)
    openTaskCount: integer (min 0)
    myRole: "owner" | "editor" | "viewer" | null
    memberCount: integer (min 0)
    shared: boolean
    pinned: boolean
  } | null
  // The group as you see it now; null for a list link or if this credential may not use groups.
  group: {
    id: string (uuid)
    name: string
    createdAt: string (date-time)
    updatedAt: string (date-time)
    myRole: "owner" | "admin" | "member"
    ownerId: string (uuid)
    memberCount: integer (min 0)
    listCount: integer (min 0)
    ownerHasPremium: boolean
  } | null
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed (forbidden: your role on the list is too low), the list is outside the access token's or assistant's scope (token_scope, agent_scope), or you need a display name first (name_required: set it with PATCH /v1/me).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/invites/TOKEN/accept" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

GET /v1/lists/{id}/members

List the people on a list

Everyone on the list can see it (viewers too): user id, display name, avatar, role and when they joined. Never an email address. For a list of a group, this is everyone with access: people added to the list and the members of the group. role is the effective role (the higher of the two), access says how the person reaches the list (direct, group or both) and groupRole is their role in the group. Owners first.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesList id

Responses

StatusMeaning and body
200The members
MemberList
{
  items: {
    userId: string (uuid)
    displayName: string
    avatarUrl: string | null
    role: "owner" | "editor" | "viewer"
    access: "direct" | "group" | "both"
    groupRole: "owner" | "admin" | "member" | null
    joinedAt: string (date-time)
  }[]
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/lists/ID/members" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

PATCH /v1/lists/{id}/members/{userId}

Change someone's role

Owners only (group owners and admins count as owners on a group list). Any owner can make others owners. This changes the role a person was given on the list itself: someone who has access only through the group is 404 not_found here (change their group role instead). A personal list always keeps an owner: the last owner cannot be demoted, removed or leave (invalid_request). A list of a group may have no direct owner.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesList id
userIdpathstring (uuid)yesThe member's user id (see GET /v1/lists/{id}/members). Your own id means leave.

Request body

{
  role: "owner" | "editor" | "viewer"
}

Responses

StatusMeaning and body
200The member with the new role
Member
{
  userId: string (uuid)
  displayName: string
  avatarUrl: string | null
  role: "owner" | "editor" | "viewer"
  access: "direct" | "group" | "both"
  groupRole: "owner" | "admin" | "member" | null
  joinedAt: string (date-time)
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed (forbidden: your role on the list is too low), the list is outside the access token's or assistant's scope (token_scope, agent_scope), or you need a display name first (name_required: set it with PATCH /v1/me).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X PATCH "https://api.muninlist.com/v1/lists/ID/members/USER_ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"role":"owner"}'

DELETE /v1/lists/{id}/members/{userId}

Remove someone, or leave a list

Owners can remove anyone; with your own user id you leave the list (any role). Tasks assigned to the person on this list lose their assignee, and their assistants and tokens lose the list. Their tasks and comments stay. Only people added to the list itself can be removed here, not people who have access through a group (404 not_found). A personal list always keeps an owner: the last owner cannot be demoted, removed or leave (invalid_request). A list of a group may have no direct owner.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesList id
userIdpathstring (uuid)yesThe member's user id (see GET /v1/lists/{id}/members). Your own id means leave.

Responses

StatusMeaning and body
204Removed
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed (forbidden: your role on the list is too low), the list is outside the access token's or assistant's scope (token_scope, agent_scope), or you need a display name first (name_required: set it with PATCH /v1/me).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/lists/ID/members/USER_ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

Groups

Groups of people who share lists, their members and invite links.

GET /v1/groups

List your groups

The groups you are in, by name, with your role, how many people and lists each has, and whether the owner still has Premium. Assistants and personal access tokens need access to all lists for this (403 agent_scope or token_scope otherwise): a group spans lists outside a narrowed scope.

Responses

StatusMeaning and body
200The groups
GroupList
{
  items: {
    id: string (uuid)
    name: string
    createdAt: string (date-time)
    updatedAt: string (date-time)
    myRole: "owner" | "admin" | "member"
    ownerId: string (uuid)
    memberCount: integer (min 0)
    listCount: integer (min 0)
    ownerHasPremium: boolean
  }[]
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed: your role in the group is too low (forbidden), the credential is limited to selected lists (agent_scope, token_scope), you need a display name first (name_required: set it with PATCH /v1/me), or the group needs Premium for this (premium_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/groups" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/groups

Create a group

A group is a set of people who share all the group's lists, like a family or a team. You become its owner. Creating a group needs Premium (403 premium_required; the trial counts) and a display name (403 name_required). You can own 20 groups. People without Premium can still join a group. Send your own id so a retry never creates a second group: repeating the request with the same id and name answers the existing group. Assistants and personal access tokens need access to all lists for this (403 agent_scope or token_scope otherwise): a group spans lists outside a narrowed scope.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.

Request body

{
  id?: string (uuid)  // A UUID you choose, so a retry never creates a second group.
  name: string (1 to 100 characters)  // The group's name (1 to 100 characters).
}

Responses

StatusMeaning and body
201The new group
Group
{
  id: string (uuid)
  name: string
  createdAt: string (date-time)
  updatedAt: string (date-time)
  myRole: "owner" | "admin" | "member"
  ownerId: string (uuid)
  memberCount: integer (min 0)
  listCount: integer (min 0)
  ownerHasPremium: boolean
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: your role in the group is too low (forbidden), the credential is limited to selected lists (agent_scope, token_scope), you need a display name first (name_required: set it with PATCH /v1/me), or the group needs Premium for this (premium_required).
409The id is already in use (conflict), or a request with this Idempotency-Key was already applied. Only POST /v1/groups/{id}/invites answers the second: the link cannot be shown twice.
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/groups" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Groceries"}'

GET /v1/groups/{id}

Get a group

Any member can read it. A group you are not in is 404 not_found. Assistants and personal access tokens need access to all lists for this (403 agent_scope or token_scope otherwise): a group spans lists outside a narrowed scope.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesGroup id

Responses

StatusMeaning and body
200The group
Group
{
  id: string (uuid)
  name: string
  createdAt: string (date-time)
  updatedAt: string (date-time)
  myRole: "owner" | "admin" | "member"
  ownerId: string (uuid)
  memberCount: integer (min 0)
  listCount: integer (min 0)
  ownerHasPremium: boolean
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed: your role in the group is too low (forbidden), the credential is limited to selected lists (agent_scope, token_scope), you need a display name first (name_required: set it with PATCH /v1/me), or the group needs Premium for this (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/groups/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

PATCH /v1/groups/{id}

Rename a group

The group owner and admins can rename it. Assistants and personal access tokens need access to all lists for this (403 agent_scope or token_scope otherwise): a group spans lists outside a narrowed scope.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesGroup id

Request body

{
  name: string (1 to 100 characters)  // The group's name (1 to 100 characters).
}

Responses

StatusMeaning and body
200The group
Group
{
  id: string (uuid)
  name: string
  createdAt: string (date-time)
  updatedAt: string (date-time)
  myRole: "owner" | "admin" | "member"
  ownerId: string (uuid)
  memberCount: integer (min 0)
  listCount: integer (min 0)
  ownerHasPremium: boolean
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: your role in the group is too low (forbidden), the credential is limited to selected lists (agent_scope, token_scope), you need a display name first (name_required: set it with PATCH /v1/me), or the group needs Premium for this (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X PATCH "https://api.muninlist.com/v1/groups/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Groceries"}'

DELETE /v1/groups/{id}

Delete a group

Owner only. Lists are never deleted with a group: every list of the group, the ones in the trash too, becomes your own personal list. The other members lose access to them, unless a list was also shared with them directly. Their tasks assigned to them there lose the assignee. The group, its memberships and its invite links are deleted for good. It fails with 400 invalid_request when the lists would take you over the limit of 20 lists. Assistants and personal access tokens need access to all lists for this (403 agent_scope or token_scope otherwise): a group spans lists outside a narrowed scope.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesGroup id

Responses

StatusMeaning and body
204Deleted
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: your role in the group is too low (forbidden), the credential is limited to selected lists (agent_scope, token_scope), you need a display name first (name_required: set it with PATCH /v1/me), or the group needs Premium for this (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/groups/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

GET /v1/groups/{id}/members

List the people in a group

Any member can see it: user id, display name, avatar, role and when they joined. Never an email address. The owner first, then admins, then by when they joined. Assistants and personal access tokens need access to all lists for this (403 agent_scope or token_scope otherwise): a group spans lists outside a narrowed scope.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesGroup id

Responses

StatusMeaning and body
200The members
GroupMemberList
{
  items: {
    userId: string (uuid)
    displayName: string
    avatarUrl: string | null
    role: "owner" | "admin" | "member"
    joinedAt: string (date-time)
  }[]
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed: your role in the group is too low (forbidden), the credential is limited to selected lists (agent_scope, token_scope), you need a display name first (name_required: set it with PATCH /v1/me), or the group needs Premium for this (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/groups/ID/members" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

PATCH /v1/groups/{id}/members/{userId}

Change someone's role in a group

Owner only. Use admin or member for anyone but the owner. Admins can rename the group, make and cancel invite links, remove members and manage the group's lists like an owner. owner hands the group over: that person (who must be a member with Premium, 403 premium_required) becomes the owner and you become an admin. The owner's own role cannot be changed directly (400 invalid_request). Assistants and personal access tokens need access to all lists for this (403 agent_scope or token_scope otherwise): a group spans lists outside a narrowed scope.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesGroup id
userIdpathstring (uuid)yesThe member's user id (see GET /v1/groups/{id}/members). Your own id means leave.

Request body

{
  role: "owner" | "admin" | "member"  // The new role. `owner` hands the group over: that person becomes owner and you become admin.
}

Responses

StatusMeaning and body
200The member with the new role
GroupMember
{
  userId: string (uuid)
  displayName: string
  avatarUrl: string | null
  role: "owner" | "admin" | "member"
  joinedAt: string (date-time)
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: your role in the group is too low (forbidden), the credential is limited to selected lists (agent_scope, token_scope), you need a display name first (name_required: set it with PATCH /v1/me), or the group needs Premium for this (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X PATCH "https://api.muninlist.com/v1/groups/ID/members/USER_ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"role":"owner"}'

DELETE /v1/groups/{id}/members/{userId}

Remove someone from a group, or leave

The owner can remove admins and members, admins can remove members. With your own user id you leave the group (any member except the owner, who hands the group over or deletes it: 400 invalid_request). People who no longer reach a list of the group lose its tasks assigned to them there, and their assistants and tokens lose the list. Their tasks stay. Assistants and personal access tokens need access to all lists for this (403 agent_scope or token_scope otherwise): a group spans lists outside a narrowed scope.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesGroup id
userIdpathstring (uuid)yesThe member's user id (see GET /v1/groups/{id}/members). Your own id means leave.

Responses

StatusMeaning and body
204Removed
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: your role in the group is too low (forbidden), the credential is limited to selected lists (agent_scope, token_scope), you need a display name first (name_required: set it with PATCH /v1/me), or the group needs Premium for this (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/groups/ID/members/USER_ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

GET /v1/groups/{id}/invites

List the active invite links of a group

The group owner and admins can. Links that can still be used, newest first. Never the token or the link itself. Cancel one with DELETE /v1/invites/{id}. Assistants and personal access tokens need access to all lists for this (403 agent_scope or token_scope otherwise): a group spans lists outside a narrowed scope.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesGroup id

Responses

StatusMeaning and body
200The links
GroupInviteList
{
  items: {
    id: string (uuid)
    groupId: string (uuid)
    role: "member"
    expiresAt: string (date-time)
    maxUses: integer | null
    useCount: integer (min 0)
    createdAt: string (date-time)
    createdBy: {
      id: string (uuid)
      displayName: string
    }
  }[]
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed: your role in the group is too low (forbidden), the credential is limited to selected lists (agent_scope, token_scope), you need a display name first (name_required: set it with PATCH /v1/me), or the group needs Premium for this (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/groups/ID/invites" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/groups/{id}/invites

Create an invite link to a group

The group owner and admins can. The response is the only one that contains the link (url) and its token: Muninlist keeps just a hash, so a lost link cannot be shown again (cancel it and make a new one). Anyone who has the link and a Muninlist account with a display name joins as a member. Links expire after 7 days by default (at most 30), a group can have 20 active links and 100 people, and you can create 30 links per hour (lists and groups together). The group owner needs Premium (403 premium_required). People join with POST /v1/invites/{token}/accept. Assistants and personal access tokens need access to all lists for this (403 agent_scope or token_scope otherwise): a group spans lists outside a narrowed scope.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesGroup id

Request body

{
  expiresInDays?: integer (1 to 30, default 7)  // Days until the link stops working (1 to 30). Default 7.
  maxUses?: integer (max 1000)  // How many people may join with the link. Omit for no limit.
}

Responses

StatusMeaning and body
201The new link, including its token
GroupInviteCreated
{
  id: string (uuid)
  groupId: string (uuid)
  role: "member"
  expiresAt: string (date-time)
  maxUses: integer | null
  useCount: integer (min 0)
  createdAt: string (date-time)
  createdBy: {
    id: string (uuid)
    displayName: string
  }
  token: string
  url: string
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: your role in the group is too low (forbidden), the credential is limited to selected lists (agent_scope, token_scope), you need a display name first (name_required: set it with PATCH /v1/me), or the group needs Premium for this (premium_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use (conflict), or a request with this Idempotency-Key was already applied. Only POST /v1/groups/{id}/invites answers the second: the link cannot be shown twice.
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/groups/ID/invites" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"expiresInDays":7}'

POST /v1/lists/{id}/move

Move a list into a group, out of it, or between groups

Send { "groupId": "<group id>" } to move a personal list into a group, or { "groupId": null } to move it out of its group. Into a group: only the person whose personal list it is can do it, they must be a member of the group, the group owner needs Premium and the group can have 20 lists. People the list was shared with directly keep their access. Out of a group: whoever may manage the list's sharing (group owner and admins) can do it; the list becomes that person's personal list and they become its owner. Group members who were not also added to the list lose access. A list can move from one group straight into another with the new group's id: whoever may manage the list's sharing (owner and admins of the current group) can do it if they are a member of the target group, whose owner needs Premium; people only in the old group lose access and people shared directly keep it. Moving a list to where it already is succeeds without a change. The answer is the list as you see it now. Assistants and personal access tokens need access to all lists for this (403 agent_scope or token_scope otherwise): a group spans lists outside a narrowed scope.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesGroup id

Request body

{
  groupId: string (uuid) | null  // The group to move the list into, or null to move it out of its group.
}

Responses

StatusMeaning and body
200The list
List
{
  id: string (uuid)
  name: string
  color: string | null
  icon: string | null
  position: string (1 to 64 characters)
  groupId: string (uuid) | null
  createdAt: string (date-time)
  updatedAt: string (date-time)
  openTaskCount: integer (min 0)
  myRole: "owner" | "editor" | "viewer" | null
  memberCount: integer (min 0)
  shared: boolean
  pinned: boolean
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: your role in the group is too low (forbidden), the credential is limited to selected lists (agent_scope, token_scope), you need a display name first (name_required: set it with PATCH /v1/me), or the group needs Premium for this (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/lists/ID/move" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"groupId":"3f2b8c1e-5a4d-4c7e-9b1a-2d6e8f0a1b23"}'

Trash

Recently deleted items.

GET /v1/trash

Recently deleted items

Lists, tasks, subtasks and attachments deleted within the retention window, newest first, at most 500 per kind (the most recent ones). Tasks, subtasks and attachments are only listed while their parent is not deleted: restore the parent first.

Responses

StatusMeaning and body
200The deleted items
Trash
{
  lists: {
    id: string (uuid)
    name: string
    deletedAt: string (date-time)
  }[]
  tasks: {
    id: string (uuid)
    listId: string (uuid)
    title: string
    deletedAt: string (date-time)
  }[]
  subtasks: {
    id: string (uuid)
    taskId: string (uuid)
    title: string
    deletedAt: string (date-time)
  }[]
  attachments: {
    id: string (uuid)
    taskId: string (uuid)
    mime: string
    deletedAt: string (date-time)
  }[]
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/trash" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

Tokens

Personal access tokens (signed-in session only).

GET /v1/tokens

List your access tokens

Your personal access tokens that are not revoked, oldest first. The token value and its hash are never returned. Signed-in session only: personal access tokens and AI assistants get 403 session_required, so a leaked token can never create more access.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Responses

StatusMeaning and body
200The tokens
ApiTokenList
{
  items: {
    id: string (uuid)
    name: string
    prefix: string
    scope: "all" | "selected"
    listIds: Array<string (uuid)>
    expiresAt: string (date-time) | null
    lastUsedAt: string (date-time) | null
    createdAt: string (date-time)
  }[]
}
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required), or the plan does not allow this scope (premium_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/tokens" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/tokens

Create an access token

The response contains the token (mlt_...) once; Muninlist stores only a hash, so a lost token cannot be shown again. Scope selected limits the token to listIds; scope all needs Premium (or the trial). On the free plan a token can use one list. At most 20 active tokens per account. A token can do what an AI assistant can, on the lists it may use (including sharing and deleting lists), but it cannot manage tokens, devices or connections. Signed-in session only: personal access tokens and AI assistants get 403 session_required, so a leaked token can never create more access.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Request body

{
  name: string (1 to 100 characters)  // What the token is for, e.g. "Home Assistant".
  scope: "all" | "selected"  // `all`: every list you can use (Premium or trial); `selected`: only `listIds`.
  listIds?: Array<string (uuid)> (at most 100 items)  // The lists the token may use. Required for `selected`, empty for `all`.
  expiresInDays?: integer (1 to 365) | null  // Days until the token stops working. Omit or `null`: never expires.
}

Responses

StatusMeaning and body
201The new token, including its value
CreatedApiToken
{
  id: string (uuid)
  name: string
  prefix: string
  scope: "all" | "selected"
  listIds: Array<string (uuid)>
  expiresAt: string (date-time) | null
  lastUsedAt: string (date-time) | null
  createdAt: string (date-time)
  token: string
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required), or the plan does not allow this scope (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/tokens" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Groceries","scope":"all"}'

PATCH /v1/tokens/{id}

Rename a token or change its lists

The token value does not change. Changing to scope selected needs listIds. Signed-in session only: personal access tokens and AI assistants get 403 session_required, so a leaked token can never create more access.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesToken id

Request body

{
  name?: string (1 to 100 characters)
  scope?: "all" | "selected"
  listIds?: Array<string (uuid)> (at most 100 items)
}

Responses

StatusMeaning and body
200The updated token
ApiToken
{
  id: string (uuid)
  name: string
  prefix: string
  scope: "all" | "selected"
  listIds: Array<string (uuid)>
  expiresAt: string (date-time) | null
  lastUsedAt: string (date-time) | null
  createdAt: string (date-time)
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required), or the plan does not allow this scope (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X PATCH "https://api.muninlist.com/v1/tokens/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Groceries"}'

DELETE /v1/tokens/{id}

Revoke a token

The token stops working at once. Revoking a revoked token succeeds. Signed-in session only: personal access tokens and AI assistants get 403 session_required, so a leaked token can never create more access.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesToken id

Responses

StatusMeaning and body
204Revoked
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required), or the plan does not allow this scope (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/tokens/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

Devices

Device tokens for the app's native parts, like the Android widget (signed-in session only).

GET /v1/devices

List your device tokens

Your device tokens that are not revoked, oldest first (lastUsedAt shows which are in use). The token value and its hash are never returned. Signed-in session only: personal access tokens, device tokens and AI assistants get 403 session_required, so a leaked token can never create more access.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Responses

StatusMeaning and body
200The devices
DeviceList
{
  items: {
    id: string (uuid)
    name: string
    lastUsedAt: string (date-time) | null
    createdAt: string (date-time)
  }[]
}
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/devices" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/devices

Create a device token

A device token (mld_...) lets the Muninlist app on a device, such as its Android home-screen widget, call this API as you: all your lists, on any plan, shown as the app in the activity. The response contains the token once; Muninlist stores only a hash. Device tokens never expire. It cannot manage access tokens, devices (other than revoking itself), AI assistants, OAuth consent or the account. At most 10 active devices per account: creating another signs out the least recently used one. Signed-in session only: personal access tokens, device tokens and AI assistants get 403 session_required, so a leaked token can never create more access.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Request body

{
  name: string (1 to 100 characters)  // What the device is, e.g. "Android widget (Pixel 8)".
}

Responses

StatusMeaning and body
201The new device token, including its value
CreatedDevice
{
  id: string (uuid)
  name: string
  lastUsedAt: string (date-time) | null
  createdAt: string (date-time)
  token: string
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/devices" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Groceries"}'

DELETE /v1/devices/{id}

Sign a device out

The device token stops working at once (its next request gets 401). Revoking a revoked device succeeds. Signed-in session, or the device token itself (a device can revoke only its own id); every other credential gets 403 session_required.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesDevice id

Responses

StatusMeaning and body
204Revoked
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/devices/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

Connected assistants

Approving AI assistants that ask to connect through OAuth (signed-in session only).

GET /v1/agent-connections

List your connected assistants

The AI assistants you approved that are not disconnected, newest first. Signed-in session only: access tokens and AI assistants get 403 session_required, so an assistant can never widen or restore its own access.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Responses

StatusMeaning and body
200The connections
AgentConnectionList
{
  items: {
    id: string (uuid)
    name: string
    clientId: string
    scope: "all" | "selected"
    listIds: Array<string (uuid)>
    paused: boolean
    createdAt: string (date-time)
    lastUsedAt: string (date-time) | null
    redirectHost: string
  }[]
}
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required), or the plan does not allow this scope (premium_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/agent-connections" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

PATCH /v1/agent-connections/{id}

Rename, pause or change the lists of a connected assistant

Changes apply to the assistant's next request. A paused assistant is refused until you resume it. Changing scope or lists is checked against your plan (premium_required); renaming and pausing are always allowed. Signed-in session only: access tokens and AI assistants get 403 session_required, so an assistant can never widen or restore its own access.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesConnection id

Request body

{
  name?: string (1 to 100 characters)
  paused?: boolean
  scope?: "all" | "selected"
  listIds?: Array<string (uuid)> (at most 100 items)
}

Responses

StatusMeaning and body
200The updated connection
AgentConnection
{
  id: string (uuid)
  name: string
  clientId: string
  scope: "all" | "selected"
  listIds: Array<string (uuid)>
  paused: boolean
  createdAt: string (date-time)
  lastUsedAt: string (date-time) | null
  redirectHost: string
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required), or the plan does not allow this scope (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X PATCH "https://api.muninlist.com/v1/agent-connections/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"Groceries"}'

DELETE /v1/agent-connections/{id}

Disconnect an assistant

Revokes the connection and every access and refresh token it holds, at once. The assistant has to be approved again to reconnect. Disconnecting a disconnected assistant succeeds. Signed-in session only: access tokens and AI assistants get 403 session_required, so an assistant can never widen or restore its own access.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yesConnection id

Responses

StatusMeaning and body
204Disconnected
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required), or the plan does not allow this scope (premium_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/agent-connections/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

GET /v1/oauth/requests/{id}

Show an assistant waiting for approval

What the consent screen shows when an AI assistant asks to connect: its name, the host it will be sent back to, your current connection for it, and what your plan allows. Requests expire after 10 minutes. Signed-in session only: access tokens and AI assistants get 403 session_required.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Parameters

NameInTypeRequiredDescription
idpathstring (16 to 128 characters)yesThe request value of the consent URL.

Responses

StatusMeaning and body
200The pending request
OAuthRequestDetails
{
  id: string
  client: {
    id: string
    name: string
  }
  redirectHost: string
  redirectKind: "web" | "loopback" | "app"
  existingConnection: {
    scope: "all" | "selected"
    listIds: Array<string (uuid)>
    paused: boolean
  } | null
  plan: "free" | "premium"
  limits: {
    scopeAll: boolean
    listLimit: integer | null
  }
  expiresAt: string (date-time)
}
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required).
404No such resource, or it is not visible to this token (not_found).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/oauth/requests/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/oauth/requests/{id}/decision

Approve or deny an assistant

Approving creates (or updates) your connection for this assistant with the chosen lists and returns the address to send the browser to, carrying a single-use code. Denying returns an address with error=access_denied. A request can be answered once; an answered or expired one is 410. If the plan does not allow the choice (premium_required) the request stays open. Signed-in session only: access tokens and AI assistants get 403 session_required.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Parameters

NameInTypeRequiredDescription
idpathstring (16 to 128 characters)yesThe request value of the consent URL.

Request body

{
  approve: boolean
  scope?: "all" | "selected"
  listIds?: Array<string (uuid)> (at most 100 items)
}

Responses

StatusMeaning and body
200Where to send the browser next
OAuthDecisionResult
{
  redirectUrl: string
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not a signed-in session (session_required), or the plan does not allow this choice (premium_required).
404No such resource, or it is not visible to this token (not_found).
410The request was already answered or has expired (gone).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/oauth/requests/ID/decision" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"approve":true}'

Account

Your profile, plan, export and deletion.

GET /v1/me

Your profile and plan

Responses

StatusMeaning and body
200Profile and entitlement
Me
{
  profile: {
    id: string (uuid)
    displayName: string
    avatarUrl: string | null
    homeRegion: string
    trialEndsAt: string (date-time) | null
    allowAgentHandoff: boolean
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }
  entitlement: {
    plan: "free" | "premium"
    source: "subscription" | "trial" | "none"
    premiumUntil: string (date-time) | null
  }
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No profile
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/me" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

PATCH /v1/me

Change your display name

Other members of a shared list see your display name and avatar, and nothing else (never your email address). The name is trimmed and must be 1 to 50 characters without control characters. Allowed for personal access tokens and AI assistants too. Returns the same body as GET /v1/me.

Request body

{
  displayName: string (1 to 50 characters)
}

Responses

StatusMeaning and body
200The updated profile and plan
Me
{
  profile: {
    id: string (uuid)
    displayName: string
    avatarUrl: string | null
    homeRegion: string
    trialEndsAt: string (date-time) | null
    allowAgentHandoff: boolean
    createdAt: string (date-time)
    updatedAt: string (date-time)
  }
  entitlement: {
    plan: "free" | "premium"
    source: "subscription" | "trial" | "none"
    premiumUntil: string (date-time) | null
  }
}
400Invalid name (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X PATCH "https://api.muninlist.com/v1/me" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"displayName":"string"}'

DELETE /v1/me

Delete the account (signed-in session only)

Deletes the account and all its data, immediately and for good. Account security actions need a signed-in user session: personal access tokens and AI assistant connections cannot call this endpoint (owner decision, so a leaked token can never close an account). Body: { "confirm": "DELETE" }.

Needs a signed-in Muninlist session. Access tokens and AI assistants get 403 session_required.

Request body

{
  confirm: "DELETE"
}

Responses

StatusMeaning and body
200Deleted
Response body
{
  ok: true
}
400Missing confirmation
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.
500Data deleted but the account could not be closed; retry
503Account deletion unavailable

Example

curl -X DELETE "https://api.muninlist.com/v1/me" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"confirm":"DELETE"}'

GET /v1/me/export

Export all your data

Everything the account has in Muninlist (profile, lists, tasks, subtasks, attachments with signed download URLs, activity), as a JSON download. Limited to 5 per hour.

Responses

StatusMeaning and body
200The export (attachment download)
AccountExport
{
  [key: string]: any
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/me/export" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

Activity

The activity feed.

GET /v1/activity

Activity feed

What happened in the accessible lists, newest first. Pass nextCursor back as before.

Parameters

NameInTypeRequiredDescription
limitqueryinteger (1 to 100)noDefault 50.
beforequerystring (1 to 200 characters)no

Responses

StatusMeaning and body
200A page of events
ActivityFeed
{
  events: {
    id: string
    verb: "list_created" | "list_updated" | "list_deleted" | "task_created" | "task_updated" | "task_moved" | "task_completed" | "task_reopened" | "task_deleted" | "task_tagged" | "task_untagged" | "list_restored" | "task_restored" | "subtask_added" | "subtask_updated" | "subtask_completed" | "subtask_reopened" | "subtask_deleted" | "subtask_restored" | "attachment_added" | "attachment_deleted" | "attachment_restored" | "member_joined" | "member_left" | "member_removed" | "member_role_changed" | "invite_created" | "invite_revoked"
    listId: string
    taskId: string | null
    data: {
      [key: string]: any
    }
    actor: {
      userId: string
      name: string | null
    } | null
    subject: {
      userId: string
      name: string | null
    } | null
    via: "app" | "api" | "mcp"
    viaName: string | null
    createdAt: string (date-time)
    list: {
      name: string
      color: string | null
      icon: string | null
    } | null
    task: {
      title: string
      deleted: boolean
    } | null
  }[]
  nextCursor: string | null
}
400Invalid request
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/activity" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

Places

Place search for task locations.

GET /v1/places/search

Search places

Place search for task locations. Limited to 30 per minute.

Parameters

NameInTypeRequiredDescription
qquerystring (2 to 200 characters)yes
nearquerystringnolat,lng to bias results.
limitqueryinteger (1 to 10)noDefault 5.

Responses

StatusMeaning and body
200Matching places
Response body
{
  places: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90)
    lng: number (-180 to 180)
  }[]
}
400Invalid request
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.
502The place provider failed
503Place search is not configured

Example

curl "https://api.muninlist.com/v1/places/search?q=milk" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

GET /v1/places/reverse

Place at a coordinate

Parameters

NameInTypeRequiredDescription
latquerystringyes
lngquerystringyes

Responses

StatusMeaning and body
200The place, or null
Response body
{
  place: {
    name: string (at most 200 characters) | null
    address: string (at most 500 characters) | null
    lat: number (-90 to 90)
    lng: number (-180 to 180)
  }
}
400Invalid request
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.
502The place provider failed
503Place search is not configured

Example

curl "https://api.muninlist.com/v1/places/reverse?lat=52.52&lng=13.405" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

Attachments

Signed URLs for images.

POST /v1/tasks/{id}/attachments

Attach an uploaded image to a task

Step 2 of the upload: first POST /v1/attachments/upload-url and upload the file to the returned URL, then call this with the same id and the returned path as storagePath.

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesTask id

Request body

{
  id: string (uuid)
  kind: "image"
  storagePath: string (1 to 300 characters)
  mime: "image/jpeg" | "image/png" | "image/webp" | "image/heic" | "image/heif"
  width?: integer (1 to 100000)
  height?: integer (1 to 100000)
  sizeBytes: integer (1 to 10485760)
}

Responses

StatusMeaning and body
201The new attachment
Attachment
{
  id: string (uuid)
  taskId: string (uuid)
  mime: string
  sizeBytes: integer | null
  width: integer | null
  height: integer | null
  createdAt: string (date-time)
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/tasks/ID/attachments" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"id":"3f2b8c1e-5a4d-4c7e-9b1a-2d6e8f0a1b23","kind":"image","storagePath":"string","mime":"image/jpeg","sizeBytes":1}'

DELETE /v1/attachments/{id}

Delete an attachment

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesAttachment id

Responses

StatusMeaning and body
204Deleted
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X DELETE "https://api.muninlist.com/v1/attachments/ID" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/attachments/{id}/restore

Restore a deleted attachment

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesAttachment id

Responses

StatusMeaning and body
200The restored attachment
Attachment
{
  id: string (uuid)
  taskId: string (uuid)
  mime: string
  sizeBytes: integer | null
  width: integer | null
  height: integer | null
  createdAt: string (date-time)
}
400Invalid request (invalid_request).
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such resource, or it is not visible to this token (not_found).
409The id is already in use, or the change conflicts with the current state (conflict).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/attachments/ID/restore" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

POST /v1/attachments/upload-url

Get a signed upload URL for an image

Step 1 of adding an image: upload the bytes to the returned URL, then create the attachment row (the addAttachment mutation through the sync push endpoint). Limited to 60 per hour.

Request body

{
  taskId: string (uuid)
  attachmentId: string (uuid)
  mime: "image/jpeg" | "image/png" | "image/webp" | "image/heic" | "image/heif"
  sizeBytes: integer (1 to 10485760)
}

Responses

StatusMeaning and body
200Signed upload URL
Response body
{
  path: string
  uploadUrl: string
  token: string
  expiresInSeconds: integer
}
400Invalid request or storage limit reached
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such task
429Rate limit exceeded. Retry after the number of seconds in Retry-After.
502Storage failed
503Storage is not configured

Example

curl -X POST "https://api.muninlist.com/v1/attachments/upload-url" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"taskId":"3f2b8c1e-5a4d-4c7e-9b1a-2d6e8f0a1b23","attachmentId":"3f2b8c1e-5a4d-4c7e-9b1a-2d6e8f0a1b23","mime":"image/jpeg","sizeBytes":1}'

POST /v1/tasks/{id}/images

Add an image to a task in one step

Send the image itself (the request body is the file, Content-Type image/jpeg, image/png, image/webp, image/heic or image/heif, at most 10 MB) or JSON { "url": "https://..." } and the API downloads it from that public address (private and internal addresses are refused, at most 3 redirects, 10 seconds). The type is detected from the bytes, not from the headers, and the dimensions are read where possible. Needs edit rights on the list; a task holds at most 20 images. Without id, the attachment id is derived from the Idempotency-Key header if given, so a retry answers the same attachment instead of adding a second one; otherwise it is a new UUID. Shares the upload allowance of POST /v1/attachments/upload-url (60 per hour).

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring (uuid)noA UUID that makes the request safe to retry. See the overview.
idpathstring (uuid)yesTask id

Request body

{
  url: string (at most 2048 characters)  // Public http(s) address of the image.
  id?: string (uuid)  // Client-chosen attachment id.
}

Responses

StatusMeaning and body
201The new attachment (or the existing one, on a retry)
Attachment
{
  id: string (uuid)
  taskId: string (uuid)
  mime: string
  sizeBytes: integer | null
  width: integer | null
  height: integer | null
  createdAt: string (date-time)
}
400Not an image, not downloadable, over a limit, or invalid request
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such task
413The image is larger than 10 MB
429Rate limit exceeded. Retry after the number of seconds in Retry-After.
502Storage failed
503Storage is not configured

Example

curl -X POST "https://api.muninlist.com/v1/tasks/ID/images" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"url":"string"}'

GET /v1/attachments/{id}/url

Get a signed download URL for an image

Limited to 600 per hour.

Parameters

NameInTypeRequiredDescription
idpathstring (uuid)yes

Responses

StatusMeaning and body
200Signed download URL
Response body
{
  url: string
  expiresInSeconds: integer
}
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
404No such attachment
429Rate limit exceeded. Retry after the number of seconds in Retry-After.
502Storage failed
503Storage is not configured

Example

curl "https://api.muninlist.com/v1/attachments/ID/url" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

Sync

Advanced change feed for integrations that keep a local copy.

POST /v1/sync/push

Apply a batch of mutations

Applies up to 100 mutations idempotently (by mutationId), each answered ok or rejected. Limited to 120 requests and 2,000 mutations per minute; a batch that does not fit is refused whole. The sync endpoints are the advanced change feed for integrations that keep a local copy of the data (what our own apps use); most integrations are simpler with the resource endpoints.

Request body

{
  formatVersion: 1
  mutations: any[] (1 to 100 items)
}

Responses

StatusMeaning and body
200One result per mutation
SyncPushResponse
{
  results: {
    mutationId: string
    status: "ok"
  } | {
    mutationId: string
    status: "rejected"
    code: string
    message: string
  }[]
}
400Invalid request
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl -X POST "https://api.muninlist.com/v1/sync/push" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"formatVersion":1,"mutations":["string"]}'

GET /v1/sync/pull

Changes since a cursor

Rows changed since cursor (start at 0, then pass the returned cursor; repeat while hasMore). 410 cursor_expired means the change log was pruned: fetch a snapshot and restart. Limited to 120 per minute together with the snapshot endpoint. The sync endpoints are the advanced change feed for integrations that keep a local copy of the data (what our own apps use); most integrations are simpler with the resource endpoints.

Parameters

NameInTypeRequiredDescription
cursorqueryinteger (0 to 9007199254740991)noDefault 0.
limitqueryinteger (1 to 1000)noDefault 500.

Responses

StatusMeaning and body
200Changes
SyncPullResponse
{
  cursor: integer (min 0)
  hasMore: boolean
  upserts: {
    lists: {
      id: string
      name: string
      color: string | null
      icon: string | null
      ownerUserId: string | null
      groupId: string | null
      position: string
      createdBy: string
      createdAt: string (date-time)
      updatedAt: string (date-time)
      deletedAt: string (date-time) | null
    }[]
    tasks: {
      id: string
      listId: string
      title: string
      description: string | null
      dueAt: string (date-time) | null
      dueHasTime: boolean
      assigneeId: string | null
      agentHandoff: boolean
      locationName: string | null
      locationAddress: string | null
      locationLat: number | null
      locationLng: number | null
      tags: string[]
      links?: {
        url: string (at most 2000 characters)
        title: string | null
      }[] (default [])
      recurrenceRule: string | null
      recurrenceBasis: "due_date" | "completion_date" | null
      seriesId: string | null
      occurrenceIndex: integer | null
      completedAt: string (date-time) | null
      completedBy: string | null
      position: string
      createdBy: string | null
      createdVia: "app" | "api" | "mcp"
      viaConnectionId: string | null
      createdAt: string (date-time)
      updatedAt: string (date-time)
      deletedAt: string (date-time) | null
    }[]
    subtasks: {
      id: string
      taskId: string
      title: string
      completedAt: string (date-time) | null
      position: string
      createdAt: string (date-time)
      updatedAt: string (date-time)
      deletedAt: string (date-time) | null
    }[]
    attachments: {
      id: string
      taskId: string
      kind: "image"
      storagePath: string
      mime: string
      width: integer | null
      height: integer | null
      sizeBytes: number | null
      createdBy: string | null
      createdAt: string (date-time)
      updatedAt: string (date-time)
      deletedAt: string (date-time) | null
    }[]
    groups: {
      id: string
      name: string
      createdBy: string
      createdAt: string (date-time)
      updatedAt: string (date-time)
      deletedAt: string (date-time) | null
    }[]
    profiles: {
      id: string
      displayName: string
      avatarUrl: string | null
      pinnedListIds?: string[]
    }[]
    listMembers: {
      [key: string]: {
        listId: string
        userId: string
        role: "owner" | "editor" | "viewer"
        createdAt: string (date-time)
      }[]
    }
    groupMembers: {
      [key: string]: {
        groupId: string
        userId: string
        role: "owner" | "admin" | "member"
        createdAt: string (date-time)
      }[]
    }
  }
  trash: {
    lists: {
      id: string
      name: string
      deletedAt: string (date-time) | null
    }[]
    tasks: {
      id: string
      listId: string
      title: string
      deletedAt: string (date-time) | null
    }[]
  }
  deletes: {
    lists: string[]
    tasks: string[]
    subtasks: string[]
    attachments: string[]
    groups: string[]
  }
  access: {
    granted: string[]
    revoked: string[]
  }
}
400Invalid request
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
410cursor_expired: fetch a snapshot
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/sync/pull" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"

GET /v1/sync/snapshot

Full state

All accessible lists with their tasks, or only the lists given as repeated listId parameters. The sync endpoints are the advanced change feed for integrations that keep a local copy of the data (what our own apps use); most integrations are simpler with the resource endpoints.

Parameters

NameInTypeRequiredDescription
listIdqueryArray<string (uuid)> (at most 100 items)no

Responses

StatusMeaning and body
200Snapshot
SyncSnapshotResponse
{
  cursor: integer (min 0)
  lists: {
    id: string
    name: string
    color: string | null
    icon: string | null
    ownerUserId: string | null
    groupId: string | null
    position: string
    createdBy: string
    createdAt: string (date-time)
    updatedAt: string (date-time)
    deletedAt: string (date-time) | null
  }[]
  tasks: {
    id: string
    listId: string
    title: string
    description: string | null
    dueAt: string (date-time) | null
    dueHasTime: boolean
    assigneeId: string | null
    agentHandoff: boolean
    locationName: string | null
    locationAddress: string | null
    locationLat: number | null
    locationLng: number | null
    tags: string[]
    links?: {
      url: string (at most 2000 characters)
      title: string | null
    }[] (default [])
    recurrenceRule: string | null
    recurrenceBasis: "due_date" | "completion_date" | null
    seriesId: string | null
    occurrenceIndex: integer | null
    completedAt: string (date-time) | null
    completedBy: string | null
    position: string
    createdBy: string | null
    createdVia: "app" | "api" | "mcp"
    viaConnectionId: string | null
    createdAt: string (date-time)
    updatedAt: string (date-time)
    deletedAt: string (date-time) | null
  }[]
  subtasks: {
    id: string
    taskId: string
    title: string
    completedAt: string (date-time) | null
    position: string
    createdAt: string (date-time)
    updatedAt: string (date-time)
    deletedAt: string (date-time) | null
  }[]
  attachments: {
    id: string
    taskId: string
    kind: "image"
    storagePath: string
    mime: string
    width: integer | null
    height: integer | null
    sizeBytes: number | null
    createdBy: string | null
    createdAt: string (date-time)
    updatedAt: string (date-time)
    deletedAt: string (date-time) | null
  }[]
  groups: {
    id: string
    name: string
    createdBy: string
    createdAt: string (date-time)
    updatedAt: string (date-time)
    deletedAt: string (date-time) | null
  }[]
  profiles: {
    id: string
    displayName: string
    avatarUrl: string | null
    pinnedListIds?: string[]
  }[]
  trash: {
    lists: {
      id: string
      name: string
      deletedAt: string (date-time) | null
    }[]
    tasks: {
      id: string
      listId: string
      title: string
      deletedAt: string (date-time) | null
    }[]
  }
  listMembers: {
    [key: string]: {
      listId: string
      userId: string
      role: "owner" | "editor" | "viewer"
      createdAt: string (date-time)
    }[]
  }
  groupMembers: {
    [key: string]: {
      groupId: string
      userId: string
      role: "owner" | "admin" | "member"
      createdAt: string (date-time)
    }[]
  }
  missing: string[]
}
400Invalid request
401Missing, invalid, revoked or expired bearer token.
403Not allowed: the list is outside the access token's scope (token_scope), the action is not available to tokens and agents, the token is not connected to an agent connection, or you need a display name first (name_required).
429Rate limit exceeded. Retry after the number of seconds in Retry-After.

Example

curl "https://api.muninlist.com/v1/sync/snapshot" \
  -H "Authorization: Bearer $MUNINLIST_TOKEN"