Leantime API Documentation
This is the complete API documentation for connecting to the Leantime API using MindCloud's Universal API. If you are new to MindCloud, start with the Introduction to see how one API can sit in front of many different apps.
MindCloud is an integration company that offers one normalized API to access 3,100+ apps from a single place. It cleans up provider-specific quirks, keeps requests and responses consistent, and centralizes authentication so you do not need to manage separate flows for every app. Browse other apps.
Meet Leantime: Manage strategy, plans, projects, tasks, and execution workflows. Keep reading to get started.
Quickstart
Before you run your first Leantime request, you need three things:
- A MindCloud account — sign in or create an account at MindCloud.
- A MindCloud API Key — create one in API Keys. Keep it on your server.
- At least one Leantime connection — create or choose one in Connections. Note its
connectionId.
Every Leantime action uses the same URL pattern:
POST https://connect.mindcloud.co/v2/universal/apps/leantime/actions/{actionSlug}/runYou need a MindCloud API Key and a Leantime connection. Then call an action such as List Project Types:
curl --request POST \
--url "https://connect.mindcloud.co/v2/universal/apps/leantime/actions/list-project-types/run" \
--header "Authorization: Bearer $MINDCLOUD_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"connectionId": "$CONNECTION_ID",
"arguments": {}
}'Every response comes back in the same envelope, with your rows in a data array:
{
"success": true,
"data": [
{ "id": "1042", "name": "Ava" }
],
"meta": {}
}After your first request works, use Shape your requests to control arguments, pagination, filtering, fields, and errors.
Authenticate with a MindCloud API Key plus a connectionId for your Leantime account. See Leantime API Authentication for the full flow and how to get your connection credentials.
Leantime actions
All 48 published actions for this Leantime version. Each page documents the endpoint, arguments, and response controls.
- POSTAdd Comment
- GETCheck Clock Status
- POSTCreate Client
- POSTCreate Milestone
- POSTCreate Project
- POSTCreate Sprint
- POSTCreate Ticket
- POSTCreate User
- DELETEDelete Client
- DELETEDelete File
- DELETEDelete Ticket
- DELETEDelete User
- POSTDuplicate Project
- GETGet Client
- GETGet Milestone Progress
- GETGet Project
- GETGet Project Progress
- GETGet Ticket
- GETGet User
- GETGet User by Email
- GETList Clients
- GETList Comments
- GETList Files By Module
- GETList Milestones
- GETList Project Types
- GETList Projects
- GETList Sprints
- GETList Status Labels
- GETList Subtasks
- GETList Ticket Types
- GETList Tickets
- GETList Time Entries
- GETList Users
- POSTLog Time
- PUTMove Ticket
- POSTPunch In
- PUTPunch Out
- GETSearch Projects
- GETSearch Tickets
- PUTUpdate Client
- PUTUpdate Milestone
- PUTUpdate Project
- PUTUpdate Sprint
- PUTUpdate Ticket
- PUTUpdate User
- POSTUpload File
- PUTUpsert Subtask
- POSTUpsert Time Entry
Related apps
More Productivity apps on the Universal API, behind the same REST shape. Or browse all apps.