# JSON-RPC API reference

> Every Leantime JSON-RPC 2.0 namespace and service, with links to the method reference for tasks, projects, timesheets, users, calendars and more.

Source: https://docs.leantime.io/api/

To create a key and make your first call, see [Use the Leantime API](https://docs.leantime.io/api/usage/).

Each section below is an area of Leantime. An area has one or more services: groups of related methods. Click a service to see its methods and their parameters.

Call a method as `leantime.rpc.{area}.{service}.{method}`, for example `leantime.rpc.Tickets.TicketHistory.getTicketHistory`. When the service has the same name as the area, leave it out: `leantime.rpc.Tickets.getTicket`.

The area and service can start with a small or a capital letter: `leantime.rpc.tickets.getTicket` works too. Write the rest as this reference shows it.


## `leantime.rpc.Api`

These services have no page of their own yet, so their methods are listed here.

| Available Services | Description |
|---    |---          |
| `Config` | `getSystemInfo()`: your Leantime version and the plugins that are on. Call it first to check which plugin methods you can use.|
| `Api` | Manage API keys: `getAPIKeys()`, `getApiKeyFormValues(id)`, `getProjectRelationIds(id)`, `createApiKeyWithProjects(values, projects)`, `updateApiKey(id, postValues, projects)` and `deleteApiKey(id)`. Needs a role that can manage API keys (Administrator or Owner).|

## `leantime.rpc.Auth`

These services have no page of their own yet, so their methods are listed here.

| Available Services | Description |
|---    |---          |
| `AccessToken` | `revokeCurrentToken()`: deletes the personal access token you sent with this call, so it stops working. Use it when someone signs out of your app. Returns `false` when the call didn't use a token.|

## `leantime.rpc.Blueprints`


| Available Services | Description |
|---    |---          |
| [Blueprints](https://docs.leantime.io/api/classes/leantime/domain/blueprints/services/blueprints/) | Blueprint boards, like SWOT or Lean Canvas: change a card, import a board, see a board's progress, and find the board changed last.|
| [BlueprintsExport](https://docs.leantime.io/api/classes/leantime/domain/blueprints/services/blueprintsexport/) | Export a blueprint board as an XML file.|

## `leantime.rpc.Calendar`


| Available Services | Description |
|---    |---          |
| [Calendar](https://docs.leantime.io/api/classes/leantime/domain/calendar/services/calendar/) | Your calendar: your events, the outside calendars you subscribe to, and the link to your iCal feed.|

## `leantime.rpc.Canvas`


| Available Services | Description |
|---    |---          |
| [Canvas](https://docs.leantime.io/api/classes/leantime/domain/canvas/services/canvas/) | Older names for three Blueprints methods. It will be removed, so use Blueprints instead.|

## `leantime.rpc.Clients`


| Available Services | Description |
|---    |---          |
| [Clients](https://docs.leantime.io/api/classes/leantime/domain/clients/services/clients/) | Clients: create, change and delete them, and list their users and projects.|

## `leantime.rpc.Comments`


| Available Services | Description |
|---    |---          |
| [Comments](https://docs.leantime.io/api/classes/leantime/domain/comments/services/comments/) | Comments on to-dos, projects and other items: read, add, edit and delete them, get new ones since a given time, and add or remove reactions.|

## `leantime.rpc.Connector`

This service has no page of its own yet, so its methods are listed here.

| Available Services | Description |
|---    |---          |
| `Integrations` | The import connections Leantime keeps while someone imports data, for example from a CSV file: `get(id)`, `create(object)`, `patch(id, params)`, `getAvailableEntities()` (what you can import into, like to-dos or projects) and `getEntityFields(entity)` (the fields of one of those). Needs the Administrator or Owner role. `getAll`, `delete` and `updateTicket` don't do anything yet. The other methods are steps of Leantime's own import screens.|

## `leantime.rpc.CsvImport`

This service has no page of its own yet.

| Available Services | Description |
|---    |---          |
| `CsvImport` | `processUpload(file)` reads an uploaded CSV file for Leantime's import screen. It needs a file upload, so you can't call it with a JSON request.|

## `leantime.rpc.Dashboard`


| Available Services | Description |
|---    |---          |
| [Dashboard](https://docs.leantime.io/api/classes/leantime/domain/dashboard/services/dashboard/) | The project dashboard: the comments and replies on a project, and whether you marked the project as a favorite.|

## `leantime.rpc.Files`


| Available Services | Description |
|---    |---          |
| [Files](https://docs.leantime.io/api/classes/leantime/domain/files/services/files/) | Files on to-dos, projects and other items: list them and delete them. You can't upload or download a file's contents through a JSON-RPC call: uploading expects a file that was already sent to the server through a form.|

## `leantime.rpc.Goalcanvas`


| Available Services | Description |
|---    |---          |
| [Goalcanvas](https://docs.leantime.io/api/classes/leantime/domain/goalcanvas/services/goalcanvas/) | Goals and goal boards: create and change them, link goals to milestones, and see how a goal's child goals add up.|

## `leantime.rpc.Ideas`


| Available Services | Description |
|---    |---          |
| [Ideas](https://docs.leantime.io/api/classes/leantime/domain/ideas/services/ideas/) | Idea boards and ideas: create, change, sort and delete them, change their status, and comment on them.|

## `leantime.rpc.Modulemanager`

This service has no page of its own yet, so its methods are listed here.

| Available Services | Description |
|---    |---          |
| `Modulemanager` | The parts of Leantime that can be switched on or off in a project. `getProjectModules(projectId)` lists them and whether each is on. `saveProjectModules(projectId, modules)` switches them, for example `{"wiki": false}`. Modules you leave out stay as they are. Saving needs the Company Manager role or higher. The module IDs are `goalcanvas`, `ideas`, `blueprints`, `wiki`, `files`, `reports` and `timesheets`, plus any a plugin adds.|

## `leantime.rpc.Notifications`


| Available Services | Description |
|---    |---          |
| [Messengers](https://docs.leantime.io/api/classes/leantime/domain/notifications/services/messengers/) | Sends project notifications to the chat webhooks a project has set up (Slack, Mattermost, Zulip, Discord, Telegram).|
| [News](https://docs.leantime.io/api/classes/leantime/domain/notifications/services/news/) | The Leantime news feed.|
| [Notifications](https://docs.leantime.io/api/classes/leantime/domain/notifications/services/notifications/) | Your notifications: your inbox and unread count, marking them read or unread, and adding or removing a phone for push notifications.|

## `leantime.rpc.Oauth`


| Available Services | Description |
|---    |---          |
| [ConnectedApps](https://docs.leantime.io/api/classes/leantime/domain/oauth/services/connectedapps/) | The apps, like Claude or ChatGPT, that you connected to your Leantime account, and disconnecting them.|


## `leantime.rpc.Plugins`


| Available Services | Description |
|---    |---          |
| [Plugins](https://docs.leantime.io/api/classes/leantime/domain/plugins/services/plugins/) | Plugins: list them, install, turn on, turn off, update and remove them, and switch automatic updates on or off.|

## `leantime.rpc.Projects`


| Available Services | Description |
|---    |---          |
| [Projects](https://docs.leantime.io/api/classes/leantime/domain/projects/services/projects/) | Projects: create, read, change, copy and delete them, add and remove people, and set up a project's chat webhooks.|


## `leantime.rpc.Reactions`


| Available Services | Description |
|---    |---          |
| [Reactions](https://docs.leantime.io/api/classes/leantime/domain/reactions/services/reactions/) | Reactions on comments and other items: add, remove and list them.|

## `leantime.rpc.Reminders`


| Available Services | Description |
|---    |---          |
| [Reminders](https://docs.leantime.io/api/classes/leantime/domain/reminders/services/reminders/) | Your own reminders: your morning summary as data, your reminder settings, and the reminders on one to-do. Each method works only for the person calling, and the to-do methods check that you can see the to-do.|

## `leantime.rpc.Reports`


| Available Services | Description |
|---    |---          |
| [ReportEngine](https://docs.leantime.io/api/classes/leantime/domain/reports/services/reportengine/) | Report data for one or more projects. You can call `getGoalReportForProjects` and `getProjectSummaries`. The methods that take a `period` (`buildReport`, `getMilestoneReportForProjects`, `getStatusUpdatesForProjects`, `getEffortForProjects`) always fail with error `-32602` in Leantime 3.15 to 3.17, because the period can't be sent as JSON.|
| [Reports](https://docs.leantime.io/api/classes/leantime/domain/reports/services/reports/) | A project's report: the sprint burndown, the saved history of its to-do numbers, and the numbers right now.|

## `leantime.rpc.Search`


| Available Services | Description |
|---    |---          |
| [Search](https://docs.leantime.io/api/classes/leantime/domain/search/services/search/) | Search across projects, to-dos and other items: a quick search with the top results of each kind, and a full search, page by page, for one kind.|

## `leantime.rpc.Setting`


| Available Services | Description |
|---    |---          |
| [Setting](https://docs.leantime.io/api/classes/leantime/domain/setting/services/setting/) | Company settings: read and save them, get your company's ID, and read or rename the labels a project uses.|

## `leantime.rpc.Sprints`


| Available Services | Description |
|---    |---          |
| [Sprints](https://docs.leantime.io/api/classes/leantime/domain/sprints/services/sprints/) | Sprints: create, change and delete them, find the current and upcoming sprints, and get burndown and cumulative chart data.|

## `leantime.rpc.Tags`


| Available Services | Description |
|---    |---          |
| [Tags](https://docs.leantime.io/api/classes/leantime/domain/tags/services/tags/) | The tags already used in a project, as suggestions while someone types.|

## `leantime.rpc.Tickets`


| Available Services | Description |
|---    |---          |
| [OneThing](https://docs.leantime.io/api/classes/leantime/domain/tickets/services/onething/) | "Your one thing": the one to-do a person picks as the thing that matters most on a given day.|
| [Planning](https://docs.leantime.io/api/classes/leantime/domain/tickets/services/planning/) | Plans a to-do for a day: the day someone chose to work on it, which they can move any time.|
| [Suggestions](https://docs.leantime.io/api/classes/leantime/domain/tickets/services/suggestions/) | Suggestions for what to work on, from your own open to-dos: "Tasks to consider" and "Quick wins".|
| [TicketHistory](https://docs.leantime.io/api/classes/leantime/domain/tickets/services/tickethistory/) | The change history of a to-do: which fields changed, when, and who changed them.|
| [Tickets](https://docs.leantime.io/api/classes/leantime/domain/tickets/services/tickets/) | To-dos, subtasks and milestones: create, read, change, move, close and delete them, list them with filters, and read the status, priority, effort and type labels.|

## `leantime.rpc.Timesheets`


| Available Services | Description |
|---    |---          |
| [Timesheets](https://docs.leantime.io/api/classes/leantime/domain/timesheets/services/timesheets/) | Time tracking: start and stop the timer, log, change and delete time, and read timesheets.|


## `leantime.rpc.Users`


| Available Services | Description |
|---    |---          |
| [Users](https://docs.leantime.io/api/classes/leantime/domain/users/services/users/) | People: list, find, invite, add, change and delete users, and change your own profile, password and notification settings.|

## `leantime.rpc.Widgets`


| Available Services | Description |
|---    |---          |
| [Dashboard](https://docs.leantime.io/api/classes/leantime/domain/widgets/services/dashboard/) | Data for the widgets on your home page, mainly the to-do widget: your to-dos, their order, and adding to-dos and subtasks.|
| [Widgets](https://docs.leantime.io/api/classes/leantime/domain/widgets/services/widgets/) | The widgets on your home page: which ones exist, which are on, and where they sit.|

## `leantime.rpc.Wiki`


| Available Services | Description |
|---    |---          |
| [Wiki](https://docs.leantime.io/api/classes/leantime/domain/wiki/services/wiki/) | Docs and their articles: create, read, change and delete them, and see an article's activity.|

## What isn't listed

Some services and methods exist only for Leantime's own screens, like signing in, the first-login steps and the installer. They aren't meant for integrations, so they aren't listed.

---
> The service pages are generated from source code comments on 2026-11-23 using [phpDocumentor](http://www.phpdoc.org/)