Open interface

REST API
for custom connections

Through the REST API your systems create projects with their plan, maintain tasks, dependencies and assignments, sync employees and absences and read KPIs – the platform's open standard interface, connected either by your IT team or by Linetrack.
Linetrack project management software with an open REST API for custom connections

In short

The REST API is the Linetrack platform's open standard interface. It reads and writes projects with their plan, tasks, dependencies, resource assignments, to-dos, open points, employees, absences, templates and project partners, and delivers KPIs. Each API key may only do what its scopes allow. The REST API complements the ready-made connections to ERP, AIDA, MS Project, Excel and SAP wherever no ready-made connection exists yet.

Data access

What the REST API provides

The REST API is the Linetrack platform's open standard interface for custom-built connections – for reading and writing.

  1. Data provided: Projects with their plan, tasks and milestones, dependencies, assignments, to-dos and open points, employees and absences, templates, project partners and KPIs.
  2. Type of interface: Versioned REST interface with JSON, an API key in the header and permissions per area (scopes).

The full list of every connected system is on the interfaces overview.

Structure

How the interface is built

All endpoints live under a versioned path, speak JSON and are grouped by area. Each area has a scope for reading and, where it writes, one for writing. Lists come page by page; an object of another company answers like an unknown one, with 404.

/api/integrations/v1/

Your systemsERP and PPSTime tracking and HRYour own reportsREST APIX-API-KEYLinetrackProjects and plansResourcesTemplates and partnersWRITE · POST · PATCH · PUT · DELETEREAD · GETYour systemsERP and PPSTime tracking and HRYour own reportsWRITEPOST · PATCH · PUT · DELETEREADGETREST APIX-API-KEYLinetrackProjects and plansResourcesTemplates and partners
/companies

Company and master data

The starting point of every connection: which users, groups, calendars and fields this tenant works with.

Scope: company:read

  • GET Company profile
  • GET Users
  • GET Groups
  • GET Calendars
  • GET Custom fields
/projects

Projects

Create them empty, from a template or with the whole plan – and find them again by your own identifier.

Scope: projects:read · projects:write

  • GET Project list and single project
  • GET Project by your own identifier
  • GET Archived projects
  • GET Hours report per project
  • POST Create a project, also with its plan
  • PATCH Change the project header
  • DELETE Delete a project
…/ordersteps · …/links

Tasks and dependencies

The plan as a paged list, every task maintainable on its own, and dependencies as in the Gantt chart, in all four types.

Scope: projects:read · projects:write

  • GET Tasks, milestones, assignments
  • POST Create a task or milestone
  • PATCH Dates, progress, status, position
  • DELETE Delete a task
  • GET Dependencies
  • POST Create a dependency
  • PATCH Change type and lag
  • DELETE Delete a dependency
…/people · …/assignments

Editors and resources

Who works on a task, who receives the result and which resource is planned with how many hours – external people included.

Scope: projects:write · resources:write

  • GET Editors and receivers
  • PUT Set editors and receivers
  • PUT Resource assignments in hours
…/todos · …/open-points

To-dos and open points

The to-dos on a task and the open points of a project – read, create and tick them off from the source system.

Scope: projects:read · projects:write

  • GET To-dos of a task
  • POST Create a to-do
  • PATCH Rename or tick off a to-do
  • GET Open points
  • POST Create an open point
  • PATCH Change or tick off an open point
/resources

Resources and absences

The part that runs most often: the employee master data and absences come from the HR system and time tracking.

Scope: resources:read · resources:write

  • GET Company resources
  • GET Utilisation
  • GET Absences in a period
  • PUT Sync employees
  • PUT Sync virtual resources
  • PUT Sync absences
  • PUT Absences without personal data
/templates

Templates

Templates carry offsets in working days instead of dates. A project created from a template gets its dates from the start date and calendar.

Scope: templates:read · templates:write

  • GET Templates and their tasks
  • POST Create a template with its plan
  • PATCH Change the header
  • DELETE Delete a template
/project-partners

Project partners

Suppliers and partner companies with their contacts, matched by your supplier number, and their assignment to projects.

Scope: partners:read · partners:write

  • GET Project partners and contacts
  • POST Create a partner or contact
  • PATCH Change a partner or contact
  • PUT Assign partners to a project
/kpis

KPIs

Calculated as in the project list and the KPI dashboard – for your own reports, without recalculating the values yourself.

Scope: kpis:read

  • GET KPIs of a project
  • GET KPIs of all running projects
  • GET Capacity and utilisation per resource group

Which endpoints your connection needs depends on the direction. A pure report gets by with read scopes; a sync from the HR system only needs resources:write. The API documentation in Linetrack describes every endpoint with its fields.

Access

One key per connection, with exactly the rights it needs

Server-to-server connections do not sign in as a person. They carry a key of their own in the header that points to exactly one tenant and may only do what its scopes allow.

One header, nothing more

Every request carries the key as X-API-KEY. No sign-in, no expiring session, no token exchange before each call.

Scopes per area

Reading and writing are separated per area, for example projects:read or resources:write. Without a choice a key only gets read scopes; changing and deleting templates has to be granted explicitly.

Bound to your tenant

The key belongs to your company and to a technical account that does not use up a user licence. The API answers an object of another company like an unknown one – it does not even reveal that it exists.

Revoke, rotate, change rights

An administrator revokes a key, replaces it with a new one carrying the same scopes or changes its scopes. This takes effect from the next call, without a restart.

Never stored in plain text

Only a hash is kept. Anyone reading the database does not get the key back. Failed checks are throttled per sender.

Every call is logged

Time, account, method, path and result are recorded. When someone asks where a value came from, there is an answer instead of a guess.

In practice

What a sync actually looks like

The most common case: staff records come from your HR system. You send the whole state, and Linetrack decides per record whether it is new or an update.

01Your system sendsPUT /resources/users/bulkThe full state, not thedelta.02Linetrack matchesemployeeNoMatched on the staff number.03You get an answerCreated3Updated52Skipped, no licence0Licences left after601Your system sendsPUT /resources/users/bulkThe full state, not the delta.02Linetrack matchesemployeeNoMatched on the staff number.03You get an answerCreated3Updated52Skipped, no licence0Licences left after6
01

The whole state, not a delta

You send every employee, not the changes since the last run. A run that failed therefore has no consequences – the next one brings everything back in line.

02

The staff number is the key

Records are matched on the staff number from your system. A change of name is therefore an update, not a second employee.

03

Partial success is a result, not a failure

Records that could not be processed come back individually, with their identifier and a reason. The rest of the run is unaffected.

04

The licence count is in the answer

How many user licences are free after the run is part of the response. Your job notices by itself when it is getting tight.

Data protection

Transfer absences without transferring names

Absences from a time tracking system are personal data as soon as a name or the type of absence is attached to them. In many companies this is exactly where the connection fails – not because of the technology, but because of the works council.

For this case there is a second route for the same data: instead of names you pass an identifier your system already keeps – the resource's internal ID, a short code or the employee number – and only the period and extent, not whether it was holiday or sickness. Linetrack resolves the identifier in its own records. No name leaves your system.

Which of the three identifiers you use is up to you; the interface accepts all three.

Linetrack resource utilisation overview across several departments

Challenge

Why not every connection exists as a standard

For AIDA, ERP systems, MS Project, Excel and SAP, connections are ready to use. For a company-specific system or a self-built tool, though, no ready-made interface exists.

That is exactly why Linetrack provides an open REST API through which projects, tasks and resources can not only be read but also created and maintained – for example for your own reports in multi-project management.

Even for ERP systems not yet among the ready-made connections, the REST API lets you build your own link - see the ERP integration page for the ready-made ERP connections.

An administrator of your company creates the API key themselves and chooses what it may do. We are happy to work out in advance which endpoints your connection needs – get in contact.

REST API in Linetrack: connected scheduling and capacity planning

FAQ

Frequently asked questions

Still have questions?

Book a meeting with our team.

What data does the REST API provide?

The REST API reads and writes projects with their plan, tasks and milestones, dependencies, editors and receivers, resource assignments, to-dos and open points. On top of that come employees and absences, templates, project partners with their contacts, company master data and KPIs. Task data matches the data kept in task management.

Can the REST API create and change projects?

Yes. A project can be created empty, from a template or directly with its plan: nested tasks, milestones and dependencies. The plan is therefore part of the baseline from the start. After that, the project header, tasks, dependencies and assignments can be changed one by one, and projects, tasks, dependencies and templates can also be deleted. Writes go through the same logic as the user interface, with history, scheduling and notifications; the API user is recorded as the author.

Who is the REST API intended for?

For systems that have no ready-made connection. The connection can be built either by the customer's IT team or by Linetrack.

How do I get access to the REST API?

An administrator of your company creates the API key in the “API keys” tab of the company settings and chooses its permissions there. Behind it a technical user is created that does not use up a user licence. An external service provider does not need to be set up as an administrator for this; the administrator simply hands over the key.

How does a connection authenticate, and what may a key do?

With an API key in the X-API-KEY header. Every key carries scopes, split by area and by read or write, for example projects:read or resources:write. A call outside its scopes is refused with 403. The key belongs to exactly one tenant, is stored only as a hash and can be revoked or rotated at any time.

Is the interface versioned?

Yes. All endpoints live under /api/integrations/v1/. The version is a contract of its own, separate from the internal interface of the user interface, and secured by its own tests. New capabilities arrive as new endpoints, fields and scopes; an existing key does not automatically receive a new write scope.

Can we work with our own identifiers?

Yes. Projects, tasks and project partners carry an external identifier from your source system, unique per company – for project partners, for example, the supplier number. Projects and tasks can be read and changed through this identifier, so your connection does not have to keep track of Linetrack's internal IDs.

What happens if individual records cannot be processed?

When employees are synced, the run does not abort. The response reports separately how many entries were created and how many were updated, and lists each record that was not processed with its identifier and reason. They are sent again in the next run. Refused single calls answer with a Problem Detail according to RFC 9457: your system recognises the case by the status and the type, not by the error text.

Can absences be transferred without personal data?

Yes. For absences and utilisation there is a second route that accepts an identifier instead of a name – the resource's internal ID, a short code or the employee number – and no type of absence. The mapping happens inside Linetrack; no name leaves your system.

How do large amounts of data get through the interface?

Lists can be fetched page by page, with up to 500 entries per page and the total count in every response. A project with up to 2000 tasks, 20 levels and 5000 dependencies can be created in a single call.