Clienvy API documentation

List project statuses

GET
https://api.clienvy.io/employee/v1
/project-statuses

Returns all project statuses, ordered by their position.

List project statuses › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

List project statuses › Responses

Array of ProjectStatusResource

id
​string · uuid
name
​string
color
​Color · enum
Enum values:
gray
blue
orange
green
red
type
​string | null · enum
Enum values:
active
completed
cancelled
position
​integer

Create a project status

POST
https://api.clienvy.io/employee/v1
/project-statuses

Creates a new project status and appends it to the end of the list.

Create a project status › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Create a project status › Request Body

name
​string · maxLength: 32 · required
color
​string · required

Status color: gray, blue, orange, green or red.

Create a project status › Responses

ProjectStatusResource

id
​string · uuid
name
​string
color
​Color · enum
Enum values:
gray
blue
orange
green
red
type
​string | null · enum
Enum values:
active
completed
cancelled
position
​integer

Reorder project statuses

PUT
https://api.clienvy.io/employee/v1
/project-statuses/reorder

Sets the position of one or more project statuses and returns the full ordered list.

Reorder project statuses › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Reorder project statuses › Request Body

​object[] · required

The statuses and their new positions.

Reorder project statuses › Responses

Array of ProjectStatusResource

id
​string · uuid
name
​string
color
​Color · enum
Enum values:
gray
blue
orange
green
red
type
​string | null · enum
Enum values:
active
completed
cancelled
position
​integer

Get a project status

GET
https://api.clienvy.io/employee/v1
/project-statuses/{projectStatus}

Returns a single project status by ID.

Get a project status › path Parameters

projectStatus
​string · uuid · required

The project status UUID

Get a project status › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Get a project status › Responses

ProjectStatusResource

id
​string · uuid
name
​string
color
​Color · enum
Enum values:
gray
blue
orange
green
red
type
​string | null · enum
Enum values:
active
completed
cancelled
position
​integer

Update a project status

PUT
https://api.clienvy.io/employee/v1
/project-statuses/{projectStatus}

Updates a project status. Only the fields present in the request are changed.

Update a project status › path Parameters

projectStatus
​string · uuid · required

The project status UUID

Update a project status › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Update a project status › Request Body

name
​string · maxLength: 32
color
​string

Status color: gray, blue, orange, green or red.

Update a project status › Responses

ProjectStatusResource

id
​string · uuid
name
​string
color
​Color · enum
Enum values:
gray
blue
orange
green
red
type
​string | null · enum
Enum values:
active
completed
cancelled
position
​integer

Delete a project status

DELETE
https://api.clienvy.io/employee/v1
/project-statuses/{projectStatus}

Deletes a project status. A status that is still in use by projects, or a built-in status with a fixed type, cannot be deleted.

Delete a project status › path Parameters

projectStatus
​string · uuid · required

The project status UUID

Delete a project status › Headers

X-Organization-Id
​string · uuid · required

UUID of the organization (tenant) the request operates on.

Delete a project status › Responses

ProjectStatusResource

id
​string · uuid
name
​string
color
​Color · enum
Enum values:
gray
blue
orange
green
red
type
​string | null · enum
Enum values:
active
completed
cancelled
position
​integer