Clienvy API documentation

Website applications


List website applications

GET
https://api.clienvy.io/employee/v1
/websites/{website}/applications

Returns all website applications for the given website, ordered by creation date.

List website applications › path Parameters

website
​string · uuid · required

The website UUID

List website applications › Headers

X-Organization-Id
​string · uuid · required

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

List website applications › Responses

Array of WebsiteApplicationResource

anyOf
At least one variant must match. Multiple variants may match simultaneously.

Decision Table

VariantMatching Criteria
type = object
type = object
type = object
Properties for Unmanaged:
id
​string · uuid
name
​string
status
​WebsiteApplicationStatus · enum
Enum values:
creating
active
deletion-scheduled
deleting
environment_type
​WebsiteApplicationEnvironmentType · enum
Enum values:
production
staging
type
​WebsiteApplicationType · enum
Enum values:
wordpress
shopify
laravel
main_url
​string | null
main_domain
​string
​IntegrationInstanceListResource | null
remarks
​string | null
parent_application_id
​string | null · uuid
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
updated_at
​string · date-time
created_at
​string · date-time

Get a website application

GET
https://api.clienvy.io/employee/v1
/websites/{website}/applications/{websiteApplication}

Returns a single website application, including its hosting instance, domains, pending operations and the provider-specific fields for its hosting platform.

Get a website application › path Parameters

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

Get a website application › Headers

X-Organization-Id
​string · uuid · required

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

Get a website application › Responses

WebsiteApplicationResource

anyOf
At least one variant must match. Multiple variants may match simultaneously.

Decision Table

VariantMatching Criteria
type = object
type = object
type = object
Properties for Unmanaged:
id
​string · uuid
name
​string
status
​WebsiteApplicationStatus · enum
Enum values:
creating
active
deletion-scheduled
deleting
environment_type
​WebsiteApplicationEnvironmentType · enum
Enum values:
production
staging
type
​WebsiteApplicationType · enum
Enum values:
wordpress
shopify
laravel
main_url
​string | null
main_domain
​string
​IntegrationInstanceListResource | null
remarks
​string | null
parent_application_id
​string | null · uuid
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
updated_at
​string · date-time
created_at
​string · date-time

Create an unmanaged website application

POST
https://api.clienvy.io/employee/v1
/websites/{website}/applications/create-unmanaged

Creates a website application hosted outside Clienvy (unmanaged) and links its primary domain.

Create an unmanaged website application › path Parameters

website
​string · uuid · required

The website UUID

Create an unmanaged website application › Headers

X-Organization-Id
​string · uuid · required

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

Create an unmanaged website application › Request Body

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

Application type: wordpress, shopify or laravel.

subdomain
​string | null · maxLength: 64
unmanaged_hosting_name
​string | null · maxLength: 64
unmanaged_hosting_url
​string | null · maxLength: 255
domain_id
​string · uuid

UUID of a domain linked to the website to use as the primary domain.

Create an unmanaged website application › Responses

WebsiteApplicationResource

anyOf
At least one variant must match. Multiple variants may match simultaneously.

Decision Table

VariantMatching Criteria
type = object
type = object
type = object
Properties for Unmanaged:
id
​string · uuid
name
​string
status
​WebsiteApplicationStatus · enum
Enum values:
creating
active
deletion-scheduled
deleting
environment_type
​WebsiteApplicationEnvironmentType · enum
Enum values:
production
staging
type
​WebsiteApplicationType · enum
Enum values:
wordpress
shopify
laravel
main_url
​string | null
main_domain
​string
​IntegrationInstanceListResource | null
remarks
​string | null
parent_application_id
​string | null · uuid
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
updated_at
​string · date-time
created_at
​string · date-time

POST
https://api.clienvy.io/employee/v1
/websites/{website}/applications/{websiteApplication}/unlink

Removes the application from Clienvy without touching it at the hosting provider. The site keeps running there, only the link with Clienvy disappears. Staging environments below the application are released with it, and Clienvy Connect is disconnected from the WordPress site.

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

X-Organization-Id
​string · uuid · required

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

WebsiteApplicationResource

anyOf
At least one variant must match. Multiple variants may match simultaneously.

Decision Table

VariantMatching Criteria
type = object
type = object
type = object
Properties for Unmanaged:
id
​string · uuid
name
​string
status
​WebsiteApplicationStatus · enum
Enum values:
creating
active
deletion-scheduled
deleting
environment_type
​WebsiteApplicationEnvironmentType · enum
Enum values:
production
staging
type
​WebsiteApplicationType · enum
Enum values:
wordpress
shopify
laravel
main_url
​string | null
main_domain
​string
​IntegrationInstanceListResource | null
remarks
​string | null
parent_application_id
​string | null · uuid
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
updated_at
​string · date-time
created_at
​string · date-time

Update an unmanaged website application

PUT
https://api.clienvy.io/employee/v1
/websites/{website}/applications/{websiteApplication}/unmanaged

Updates the name, hosting details, remarks and primary domain of an unmanaged website application.

Update an unmanaged website application › path Parameters

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

Update an unmanaged website application › Headers

X-Organization-Id
​string · uuid · required

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

Update an unmanaged website application › Request Body

name
​string · maxLength: 64
subdomain
​string | null · maxLength: 64
unmanaged_hosting_name
​string | null · maxLength: 64
unmanaged_hosting_url
​string | null · maxLength: 255
remarks
​string | null · maxLength: 10000
domain_id
​string · uuid

UUID of a domain linked to the website to use as the primary domain.

Update an unmanaged website application › Responses

WebsiteApplicationResource

anyOf
At least one variant must match. Multiple variants may match simultaneously.

Decision Table

VariantMatching Criteria
type = object
type = object
type = object
Properties for Unmanaged:
id
​string · uuid
name
​string
status
​WebsiteApplicationStatus · enum
Enum values:
creating
active
deletion-scheduled
deleting
environment_type
​WebsiteApplicationEnvironmentType · enum
Enum values:
production
staging
type
​WebsiteApplicationType · enum
Enum values:
wordpress
shopify
laravel
main_url
​string | null
main_domain
​string
​IntegrationInstanceListResource | null
remarks
​string | null
parent_application_id
​string | null · uuid
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
updated_at
​string · date-time
created_at
​string · date-time

Delete an unmanaged website application

DELETE
https://api.clienvy.io/employee/v1
/websites/{website}/applications/{websiteApplication}/unmanaged

Permanently deletes the unmanaged website application and its linked domain.

Delete an unmanaged website application › path Parameters

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

Delete an unmanaged website application › Headers

X-Organization-Id
​string · uuid · required

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

Delete an unmanaged website application › Responses

WebsiteApplicationResource

anyOf
At least one variant must match. Multiple variants may match simultaneously.

Decision Table

VariantMatching Criteria
type = object
type = object
type = object
Properties for Unmanaged:
id
​string · uuid
name
​string
status
​WebsiteApplicationStatus · enum
Enum values:
creating
active
deletion-scheduled
deleting
environment_type
​WebsiteApplicationEnvironmentType · enum
Enum values:
production
staging
type
​WebsiteApplicationType · enum
Enum values:
wordpress
shopify
laravel
main_url
​string | null
main_domain
​string
​IntegrationInstanceListResource | null
remarks
​string | null
parent_application_id
​string | null · uuid
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
updated_at
​string · date-time
created_at
​string · date-time

List importable applications

GET
https://api.clienvy.io/employee/v1
/websites/{website}/applications/importable

Returns the applications that exist at the given hosting provider integration and are not linked to a website application yet, so an application that was created outside Clienvy can be linked to a website.

List importable applications › path Parameters

website
​string · uuid · required

The website UUID

List importable applications › query Parameters

hosting_instance_id
​string · required
search
​string | null · maxLength: 64

List importable applications › Headers

X-Organization-Id
​string · uuid · required

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

List importable applications › Responses

Array of ImportableWebsiteApplication


Import an existing application

POST
https://api.clienvy.io/employee/v1
/websites/{website}/applications/import

Links an application that already exists at the hosting provider to a new website application on this website. The application is imported as it is: nothing is created or installed at the hosting provider.

Import an existing application › path Parameters

website
​string · uuid · required

The website UUID

Import an existing application › Headers

X-Organization-Id
​string · uuid · required

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

Import an existing application › Request Body

hosting_instance_id
​string · uuid · required

ID of the hosting provider instance the application lives on.

name
​string · required

Name for the application within Clienvy.

external_id
​string · required

ID of the application at the hosting provider.

Import an existing application › Responses

WebsiteApplicationResource

anyOf
At least one variant must match. Multiple variants may match simultaneously.

Decision Table

VariantMatching Criteria
type = object
type = object
type = object
Properties for Unmanaged:
id
​string · uuid
name
​string
status
​WebsiteApplicationStatus · enum
Enum values:
creating
active
deletion-scheduled
deleting
environment_type
​WebsiteApplicationEnvironmentType · enum
Enum values:
production
staging
type
​WebsiteApplicationType · enum
Enum values:
wordpress
shopify
laravel
main_url
​string | null
main_domain
​string
​IntegrationInstanceListResource | null
remarks
​string | null
parent_application_id
​string | null · uuid
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
updated_at
​string · date-time
created_at
​string · date-time

List activities

GET
https://api.clienvy.io/employee/v1
/websites/{website}/applications/{website_application}/activities

Returns a paginated list of activities logged on the parent resource, newest first. Activities cover both system-generated events and manually logged remarks.

With include_related the list is the timeline of the resource: its own activities together with those of the records that belong to it, such as the domain names, applications and mailbox domains of a website. Each activity then names the record it belongs to in subject.

List activities › path Parameters

website
​string · uuid · required

The website UUID

website_application
​string · uuid · required

The website application UUID

List activities › query Parameters

type
​string

Only return activities of this type (for example remark).

include_related
​boolean

Also return the activities of the records that belong to the resource, each naming its record in subject.

source
​string

With include_related: only return the activities of one record, as <type>:<id>, for example domain:<uuid>. The record has to be the resource itself or belong to it.

page
​integer

Page number of the paginated result set.

per_page
​integer

Number of items per page. Defaults to the endpoint's own page size; capped at 500.

List activities › Headers

X-Organization-Id
​string · uuid · required

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

List activities › Responses

Array of ActivityWithSubjectResource

Array of ActivityResource

​
​object

Log a remark

POST
https://api.clienvy.io/employee/v1
/websites/{website}/applications/{website_application}/activities

Logs a manual remark as an activity on the parent resource. The remark may contain basic HTML (p, br, b, strong, i, em, u, s, ul, ol, li, a, span). Other tags and attributes are stripped and line breaks become <br>. To mention an employee and notify them, add a span with a data-employee-id attribute holding the employee's UUID, for example <span data-employee-id="…">@Jan</span>. The answer names the record in subject, like the timeline does.

Log a remark › path Parameters

website
​string · uuid · required

The website UUID

website_application
​string · uuid · required

The website application UUID

Log a remark › Headers

X-Organization-Id
​string · uuid · required

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

Log a remark › Request Body

remark
​string · maxLength: 20000 · required

Log a remark › Responses

ActivityWithSubjectResource

id
​string · uuid
type
​string
title
​string
data
​string
​ContactReferenceResource | null

The contact who did it in the customer portal, if any.

​OAuthConnectionReferenceResource | null

The AI connection the activity was done through, if any.

updated_at
​string · date-time
created_at
​string · date-time
​ActivitySubjectResource | null

null when the record is gone