Create a project (ADMIN or higher)
POST
/construction/projects
const url = 'https://api.invogi.com/v1/construction/projects';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"company_id":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","code":"example","name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.invogi.com/v1/construction/projects \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "company_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "code": "example", "name": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”X-Invogi-Organization
string format: uuid
For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
company_id
string | null format: uuid
code
required
string
name
required
string
Example generated
{ "company_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "code": "example", "name": "example"}Responses
Section titled “Responses”Project created
Media typeapplication/json
object
name
required
string
code
required
string
id
required
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
organizationId
required
string
companyId
required
null | string
kind
required
string
description
required
null | string
metadata
required
Example generated
{ "name": "example", "code": "example", "id": "example", "createdAt": "2026-04-15T12:00:00Z", "updatedAt": "2026-04-15T12:00:00Z", "organizationId": "example", "archivedAt": "example", "companyId": "example", "kind": "example", "description": "example", "metadata": "example"}Invalid request
Media typeapplication/json
API key lacks required scope/role
Media typeapplication/json
A project already uses this code