Skip to main content
POST
/
projects
Create a project
curl --request POST \
  --url https://api.sandbox.monite.com/v1/projects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-monite-entity-id: <x-monite-entity-id>' \
  --header 'x-monite-version: <x-monite-version>' \
  --data '
{
  "name": "Marketing",
  "code": "<string>",
  "color": "<string>",
  "description": "<string>",
  "end_date": "2023-12-25",
  "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "partner_metadata": {},
  "start_date": "2023-12-25",
  "tag_ids": []
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "entity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "Marketing",
  "code": "<string>",
  "color": "<string>",
  "created_by_entity_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "description": "<string>",
  "end_date": "2023-12-25",
  "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "partner_metadata": {},
  "start_date": "2023-12-25",
  "tags": [
    {
      "id": "ea837e28-509b-4b6a-a600-d54b6aa0b1f5",
      "created_at": "2022-09-07T16:35:18.484507+00:00",
      "updated_at": "2022-09-07T16:35:18.484507+00:00",
      "name": "Marketing",
      "category": "department",
      "created_by_entity_user_id": "ea837e28-509b-4b6a-a600-d54b6aa0b1f5",
      "description": "Tag for the Marketing Department"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-monite-version
string<date>
required
x-monite-entity-id
string<uuid>
required

The ID of the entity that owns the requested resource.

Example:

"9d2b4c8f-2087-4738-ba91-7359683c49a4"

Body

application/json
name
string
required

The project name.

Required string length: 1 - 255
Example:

"Marketing"

code
string

Project code

Required string length: 1 - 20
color
string

Project color

Maximum string length: 128
description
string

Description of project

Maximum string length: 1024
end_date
string<date>

Project end date

parent_id
string<uuid>

Parent project ID

partner_metadata
object

Project metadata

start_date
string<date>

Project start date

tag_ids
string<uuid>[]

A list of IDs of user-defined tags (labels) assigned to this project.

Response

Successful Response

id
string<uuid>
required

A unique ID assigned to this project.

created_at
string<date-time>
required

Project created at

updated_at
string<date-time>
required

Last time project was updated at

entity_id
string<uuid>
required

The ID of the entity to which the project was issued.

name
string
required

The project name.

Required string length: 1 - 255
Example:

"Marketing"

code
string

Project code

Required string length: 1 - 20
color
string

Project color

Maximum string length: 128
created_by_entity_user_id
string<uuid>

Project created by entity user

description
string

Description of project

Maximum string length: 1024
end_date
string<date>

Project end date

parent_id
string<uuid>

Parent project ID

partner_metadata
object

Project metadata

start_date
string<date>

Project start date

tags
object[]

A list of user-defined tags (labels) assigned to this project.