Clienvy API documentation

List website tags

GET
https://api.clienvy.io/employee/v1
/website-tags

Returns all website tags, ordered by name. Their UUIDs are used when attaching tags to a website or filtering the website list.

List website tags › query Parameters

search
​string

Filter tags by name.

List website tags › Headers

X-Organization-Id
​string · uuid · required

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

List website tags › Responses

Array of WebsiteTagResource

id
​string · uuid
name
​string
color
​Color · enum
Enum values:
gray
blue
orange
green
red

Create a website tag

POST
https://api.clienvy.io/employee/v1
/website-tags

Creates a new website tag. The name must be unique among the website tags.

Create a website tag › Headers

X-Organization-Id
​string · uuid · required

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

Create a website tag › Request Body

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

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

Create a website tag › Responses

WebsiteTagResource

id
​string · uuid
name
​string
color
​Color · enum
Enum values:
gray
blue
orange
green
red

Get a website tag

GET
https://api.clienvy.io/employee/v1
/website-tags/{websiteTag}

Returns a single website tag by ID.

Get a website tag › path Parameters

websiteTag
​string · uuid · required

The website tag UUID

Get a website tag › Headers

X-Organization-Id
​string · uuid · required

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

Get a website tag › Responses

WebsiteTagResource

id
​string · uuid
name
​string
color
​Color · enum
Enum values:
gray
blue
orange
green
red

Update a website tag

PUT
https://api.clienvy.io/employee/v1
/website-tags/{websiteTag}

Updates a website tag. Only the fields present in the request are changed. The name must be unique among the website tags.

Update a website tag › path Parameters

websiteTag
​string · uuid · required

The website tag UUID

Update a website tag › Headers

X-Organization-Id
​string · uuid · required

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

Update a website tag › Request Body

name
​string · maxLength: 64
color
​string

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

Update a website tag › Responses

WebsiteTagResource

id
​string · uuid
name
​string
color
​Color · enum
Enum values:
gray
blue
orange
green
red

Delete a website tag

DELETE
https://api.clienvy.io/employee/v1
/website-tags/{websiteTag}

Deletes a website tag. It is removed from every website that carries it. The websites themselves are kept.

Delete a website tag › path Parameters

websiteTag
​string · uuid · required

The website tag UUID

Delete a website tag › Headers

X-Organization-Id
​string · uuid · required

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

Delete a website tag › Responses

WebsiteTagResource

id
​string · uuid
name
​string
color
​Color · enum
Enum values:
gray
blue
orange
green
red