Skip to main content
POST
Create a project type
A classification that can be assigned to projects and used to filter reports.

Authorizations

Authorization
string
header
required

An API key created in Settings > API Keys. Each key is either Read-Only or Full Access, chosen when the key is created. A Read-Only key can only make GET requests; POST, PATCH, and DELETE requests made with it return a 403 with the message This API key is read-only.

Body

application/json
name
string
required

The name of the project type. Max 255 characters.

invoiceItemId
string
required

The unique identifier of the invoice item associated with this project type.

isActive
boolean

Whether the project type is active. Defaults to true if not provided.

Response

200

id
string

The unique identifier for the object.

name
string

The name of the project type.

isActive
boolean

Whether the project type is active.

createdAt
string<date-time>

The timestamp when the object was created.

invoiceItem
object

The invoice item associated with this project type.