EaserixDocs
DevelopersAPI referenceCronCrunchProjects

Create a project

Creates a project. Defaults: color "#16233f", billable true. clientId is optional and not validated against ownership.

View as Markdown
POST
/v1/projects
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/projects" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "project": {    "id": "string",    "name": "string",    "color": "string",    "hourlyRate": 0,    "billable": true,    "clientId": "string",    "clientName": "string",    "created": "2019-08-24T14:15:22Z",    "visibility": "string",    "ownerId": "string",    "budgetSeconds": 0  }}