Project
List projects
Returns a paginated list of projects, newest first. By default every project you may see is
returned. Employees with project.financial also get the totals and billing figures.
query Parameters
scopeWhich projects to return: all (default) for every project you may see, or mine for projects you are assigned to.
searchFull-text search across the project name and company name.
company_idsOnly return projects for these companies. Accepts a comma-separated list of UUIDs.
project_status_idsOnly return projects in these statuses. Accepts a comma-separated list of UUIDs.
typesOnly return projects of these types (fixed, recurring). Accepts a comma-separated list.
sort_fieldField to sort by: name or created_at.
sort_directionSort direction: asc or desc.
pagePage number of the paginated result set.
per_pageNumber of items per page. Defaults to the endpoint's own page size; capped at 500.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List projects › Responses
Array of ProjectListWithFinancialResource
Array of ProjectListResource
Create a project
Creates a new project for a company and its contacts, optionally linked to websites.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create a project › Request Body
company_idUUID of the company the project is for.
contact_idsUUIDs of the company contacts on the project.
nametypeHow the project is run: fixed (one-off, with phases) or recurring. Cannot be changed afterwards.
start_dateRecurring projects only, required for them: the day the first period starts.
end_dateRecurring projects only, required for them: the last day of the last period, on or after start_date.
period_intervalRecurring projects only, required for them: length of a period in period_interval_type units, 1 to 365.
period_interval_typeRecurring projects only, required for them: days, weeks, months or years.
Recurring projects only, required for them: what a period is worth, each entry from a day onward. At least one entry.
Recurring projects only: hours sold per period, each entry from a day onward.
po_numberPurchase-order number.
project_status_idUUID of the project status. Defaults to the first active status.
website_idsUUIDs of websites to link to the project.
project_template_idUUID of a project template of the same type as the project. A fixed project then starts with the phases of the template instead of the default phase. The default template of the organization is not applied automatically, so pass it explicitly.
Create a project › Responses
ProjectResource
idnametypeChosen when the project is created and fixed from then on: the types are counted in different ways (phases against periods), so switching would reinterpret everything already logged.
start_dateend_dateperiod_intervalperiod_interval_typepo_numbercreated_atupdated_atGet a project
Returns a single project by ID, including its contacts, websites, phases, assigned employees and deals. Its time and what it is worth are read separately, see the time statistics and financial endpoints.
path Parameters
projectThe project UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get a project › Responses
ProjectResource
idnametypeChosen when the project is created and fixed from then on: the types are counted in different ways (phases against periods), so switching would reinterpret everything already logged.
start_dateend_dateperiod_intervalperiod_interval_typepo_numbercreated_atupdated_atUpdate a project
Updates an existing project. Only the fields present in the request are changed. The type of a project cannot be changed. On a recurring project the dates have to keep covering the hours and planning already on it.
path Parameters
projectThe project UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update a project › Request Body
company_idUUID of the company the project is for. Send it together with contact_ids.
contact_idsUUIDs of the company contacts on the project. Only applied together with company_id.
namepo_numberPurchase-order number.
project_status_idUUID of the project status.
website_idsUUIDs of websites to link to the project. Replaces the linked websites.
start_dateRecurring projects only: the day the first period starts, on or before end_date.
end_dateRecurring projects only: the last day of the last period, on or after start_date.
period_intervalRecurring projects only: length of a period in period_interval_type units, 1 to 365.
period_interval_typeRecurring projects only: days, weeks, months or years.
Recurring projects only: what a period is worth, each entry from a day onward. Replaces the list, at least one entry.
Recurring projects only: hours sold per period, each entry from a day onward. Replaces the list.
Update a project › Responses
ProjectResource
idnametypeChosen when the project is created and fixed from then on: the types are counted in different ways (phases against periods), so switching would reinterpret everything already logged.
start_dateend_dateperiod_intervalperiod_interval_typepo_numbercreated_atupdated_atDelete a project
Deletes a project together with its spaces. A project whose spaces hold collection items cannot be deleted.
path Parameters
projectThe project UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete a project › Responses
ProjectResource
idnametypeChosen when the project is created and fixed from then on: the types are counted in different ways (phases against periods), so switching would reinterpret everything already logged.
start_dateend_dateperiod_intervalperiod_interval_typepo_numbercreated_atupdated_atGet project time statistics
Returns what the project holds in time: worked, planned and available, in total, per phase and
per period, all in minutes. per_phase is empty on a recurring project and per_period is null on a
fixed one. The entries and the planning themselves are listed through their own endpoints.
path Parameters
projectThe project UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get project time statistics › Responses
ProjectTimeStatisticsResource
idworked_minutesscheduled_minutesavailable_minutestime_entry_countplanning_allocation_countRecurring projects only: the hours a period holds as they were agreed, each entry from a day onward, oldest first. Kept in hours, the way they are entered and sent back.
Get project financials
Returns what the project is worth: the agreed amounts, its revenue items, what is billed of it and the cost of the hours worked on it.
path Parameters
projectThe project UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get project financials › Responses
ProjectFinancialResource
idnon_recurring_total_revenue_excluding_taxnon_recurring_total_revenue_including_taxnon_recurring_billed_revenue_excluding_taxnon_recurring_billed_revenue_including_taxhour_purchase_costThe logged hours at their purchase rate, the project rate before the employee's own.
hour_sale_costThe logged hours at their sale rate, the project rate before the employee's own.
hour_purchase_marginThe non-recurring revenue less hour_purchase_cost. Null on a recurring project.
hour_sale_marginThe non-recurring revenue less hour_sale_cost. Null on a recurring project.
Recurring projects only: what a period is worth, each entry from a day onward, oldest first.
current_periodRecurring projects only: the period of today, measured against what it was sold for.
Update project revenue items
Replaces the project's non-recurring revenue items and their priced sub-items. Send the UUIDs of existing items and sub-items to keep them. Items that are left out are removed. Answers with the financials of the project.
path Parameters
projectThe project UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update project revenue items › Responses
ProjectFinancialResource
idnon_recurring_total_revenue_excluding_taxnon_recurring_total_revenue_including_taxnon_recurring_billed_revenue_excluding_taxnon_recurring_billed_revenue_including_taxhour_purchase_costThe logged hours at their purchase rate, the project rate before the employee's own.
hour_sale_costThe logged hours at their sale rate, the project rate before the employee's own.
hour_purchase_marginThe non-recurring revenue less hour_purchase_cost. Null on a recurring project.
hour_sale_marginThe non-recurring revenue less hour_sale_cost. Null on a recurring project.
Recurring projects only: what a period is worth, each entry from a day onward, oldest first.
current_periodRecurring projects only: the period of today, measured against what it was sold for.
Bill project revenue
Creates an invoice for the given revenue sub-items of the project and returns the new invoice.
path Parameters
projectThe project UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Bill project revenue › Request Body
referenceReference/title of the invoice.
subitem_idsUUIDs of the project revenue sub-items to bill.
Bill project revenue › Responses
InvoiceReferenceResource
idreferenceformatted_numberdocument_titlestatustotal_excluding_taxtotal_including_taxAdd a project phase
Adds a phase at the end of a fixed project. available_hours is the number of hours sold for the
phase. Logged and planned hours are measured against it. The project's start and end date follow
from the earliest and latest phase dates. Answers with the phase and the updated project. A
recurring project has no phases and is answered with a 422.
path Parameters
projectThe project UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Add a project phase › Request Body
nameavailable_hoursHours sold for the phase, at most 10000.
start_dateFirst day of the phase. Given together with end_date, or both null.
end_dateLast day of the phase. Given together with start_date, or both null.
Add a project phase › Responses
ProjectPhaseResource
Reorder the project phases
Sets the position of the project's phases. Phases of other projects are ignored. Returns the
project with its phases in the new order. Only on a fixed project.
path Parameters
projectThe project UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Reorder the project phases › Responses
ProjectResource
idnametypeChosen when the project is created and fixed from then on: the types are counted in different ways (phases against periods), so switching would reinterpret everything already logged.
start_dateend_dateperiod_intervalperiod_interval_typepo_numbercreated_atupdated_atUpdate a project phase
Updates a phase. Only the fields present in the request are changed. Send start_date and
end_date together, or both as null. Answers with the phase and the updated project. Only on a
fixed project.
path Parameters
projectThe project UUID
projectPhaseThe project phase UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update a project phase › Request Body
nameavailable_hoursHours sold for the phase, at most 10000.
start_dateFirst day of the phase. Given together with end_date, or both null.
end_dateLast day of the phase. Given together with start_date, or both null.
Update a project phase › Responses
ProjectPhaseResource
Delete a project phase
Deletes a phase. A phase with logged or planned hours cannot be deleted, and neither can the
last phase of a project. Answers with the deleted phase and the updated project. Only on a
fixed project.
path Parameters
projectThe project UUID
projectPhaseThe project phase UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete a project phase › Responses
ProjectPhaseResource
Assign an employee to a project
Adds the employee (identified in the path) to the project team, with the employee's own hourly rates as the project rates. Assigning an employee who is already on the team changes nothing. A deactivated employee cannot be assigned.
path Parameters
projectThe project UUID
employeeThe employee UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Assign an employee to a project › Responses
ProjectResource
idnametypeChosen when the project is created and fixed from then on: the types are counted in different ways (phases against periods), so switching would reinterpret everything already logged.
start_dateend_dateperiod_intervalperiod_interval_typepo_numbercreated_atupdated_atRemove an employee from a project
Removes the employee (identified in the path) from the project team. An employee who has logged time or is planned on the project cannot be removed.
path Parameters
projectThe project UUID
employeeThe employee UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Remove an employee from a project › Responses
ProjectResource
idnametypeChosen when the project is created and fixed from then on: the types are counted in different ways (phases against periods), so switching would reinterpret everything already logged.
start_dateend_dateperiod_intervalperiod_interval_typepo_numbercreated_atupdated_atUpdate an employee's project rates
Sets the purchase and sale hourly rates for the employee on this project. Both rates are written on every call: a rate that is left out or null is cleared, and the employee's own rate applies again. Answers with the financials of the project.
path Parameters
projectThe project UUID
employeeThe employee UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update an employee's project rates › Request Body
purchase_hourly_rateCost (purchase) hourly rate for the employee on this project.
sale_hourly_rateBillable (sale) hourly rate for the employee on this project.
Update an employee's project rates › Responses
ProjectFinancialResource
idnon_recurring_total_revenue_excluding_taxnon_recurring_total_revenue_including_taxnon_recurring_billed_revenue_excluding_taxnon_recurring_billed_revenue_including_taxhour_purchase_costThe logged hours at their purchase rate, the project rate before the employee's own.
hour_sale_costThe logged hours at their sale rate, the project rate before the employee's own.
hour_purchase_marginThe non-recurring revenue less hour_purchase_cost. Null on a recurring project.
hour_sale_marginThe non-recurring revenue less hour_sale_cost. Null on a recurring project.
Recurring projects only: what a period is worth, each entry from a day onward, oldest first.
current_periodRecurring projects only: the period of today, measured against what it was sold for.
List activities
Returns a paginated list of activities logged on the parent resource, newest first. Activities cover both system-generated events and manually logged remarks.
With include_related the list is the timeline of the resource: its own activities together with
those of the records that belong to it, such as the domain names, applications and mailbox domains
of a website. Each activity then names the record it belongs to in subject.
path Parameters
projectThe project UUID
query Parameters
typeOnly return activities of this type (for example remark).
include_relatedAlso return the activities of the records that belong to the resource, each naming its record in subject.
sourceWith include_related: only return the activities of one record, as <type>:<id>, for example domain:<uuid>. The record has to be the resource itself or belong to it.
pagePage number of the paginated result set.
per_pageNumber of items per page. Defaults to the endpoint's own page size; capped at 500.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List activities › Responses
Array of ActivityWithSubjectResource
Array of ActivityResource
Log a remark
Logs a manual remark as an activity on the parent resource. The remark may contain basic HTML
(p, br, b, strong, i, em, u, s, ul, ol, li, a, span). Other tags
and attributes are stripped and line breaks become <br>. To mention an employee and notify
them, add a span with a data-employee-id attribute holding the employee's UUID, for example
<span data-employee-id="…">@Jan</span>. The answer names the record in subject, like the
timeline does.
path Parameters
projectThe project UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Log a remark › Responses
ActivityWithSubjectResource
idtypetitledataThe contact who did it in the customer portal, if any.
The AI connection the activity was done through, if any.
updated_atcreated_atnull when the record is gone