Clienvy API documentation

Website application wordpress


Update WordPress settings

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

Updates the login identity and customer-access settings (access, registration, default role) for the connected WordPress application.

Update WordPress settings › path Parameters

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

Update WordPress settings › Headers

X-Organization-Id
​string · uuid · required

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

Update WordPress settings › Request Body

customer_access
​boolean
customer_allow_registration
​boolean
customer_default_role
​string · maxLength: 64
identity_id
​string · uuid

UUID of the WordPress login identity to associate.

Update WordPress settings › 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
​WebsiteApplicationOperationResource[]
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
​WebsiteApplicationWordpressResource | null
updated_at
​string · date-time
created_at
​string · date-time

Connect a WordPress application

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

Verifies and stores the connection secret from the Clienvy WordPress plugin, linking the application to its WordPress site.

Connect a WordPress application › path Parameters

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

Connect a WordPress application › Headers

X-Organization-Id
​string · uuid · required

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

Connect a WordPress application › Request Body

connection_secret
​string · maxLength: 64 · required

Connect a WordPress 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
​WebsiteApplicationOperationResource[]
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
​WebsiteApplicationWordpressResource | null
updated_at
​string · date-time
created_at
​string · date-time

Synchronize a WordPress application

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

Pulls the latest site data (versions, settings) from the connected WordPress site.

Synchronize a WordPress application › path Parameters

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

Synchronize a WordPress application › Headers

X-Organization-Id
​string · uuid · required

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

Synchronize a WordPress 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
​WebsiteApplicationOperationResource[]
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
​WebsiteApplicationWordpressResource | null
updated_at
​string · date-time
created_at
​string · date-time

Disconnect a WordPress application

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

Removes the link to the WordPress site and clears its stored connection secret.

Disconnect a WordPress application › path Parameters

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

Disconnect a WordPress application › Headers

X-Organization-Id
​string · uuid · required

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

Disconnect a WordPress 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
​WebsiteApplicationOperationResource[]
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
​WebsiteApplicationWordpressResource | null
updated_at
​string · date-time
created_at
​string · date-time

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

Generates a one-time auto-login URL into the WordPress admin for the current employee.

Create a WordPress login link › path Parameters

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

Create a WordPress login link › Headers

X-Organization-Id
​string · uuid · required

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

Create a WordPress login link › Responses

url
​string · required

Update WordPress SMTP settings

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

Configures how the WordPress site sends e-mail. Depending on mode the required fields differ: none disables SMTP, account uses an existing domain SMTP account and external uses a custom SMTP server.

Update WordPress SMTP settings › path Parameters

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

Update WordPress SMTP settings › Headers

X-Organization-Id
​string · uuid · required

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

Update WordPress SMTP settings › Request Body

mode
​string · required

SMTP mode: none, account or external.

domain_smtp_account_id
​string · uuid

UUID of the domain SMTP account to use. Required when mode is account.

smtp_sender_name
​string · maxLength: 255

Sender (From) name.

smtp_reply_to_enabled
​boolean

Whether a custom reply-to address is used.

smtp_reply_to_name
​string · maxLength: 255

Reply-to name. Required when reply-to is enabled.

smtp_reply_to_email
​string · email · maxLength: 255

Reply-to e-mail address. Required when reply-to is enabled.

smtp_external_host
​string · maxLength: 255

External SMTP host. Required when mode is external.

smtp_external_port
​integer

External SMTP port. Required when mode is external.

smtp_external_username
​string · maxLength: 255

External SMTP username. Required when mode is external.

smtp_external_password
​string · maxLength: 255

External SMTP password. Required when mode is external.

smtp_sender_email
​string · email · maxLength: 255

Sender (From) e-mail address. Required when mode is external.

Update WordPress SMTP settings › 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
​WebsiteApplicationOperationResource[]
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
​WebsiteApplicationWordpressResource | null
updated_at
​string · date-time
created_at
​string · date-time

Toggle WP-Cron takeover

PUT
https://api.clienvy.io/employee/v1
/websites/{website}/applications/{websiteApplication}/managed/wordpress/wp-cron-takeover

Enables or disables the server-side WP-Cron takeover for the managed WordPress application, which replaces the built-in WordPress cron with a system cron job.

Toggle WP-Cron takeover › path Parameters

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

Toggle WP-Cron takeover › Headers

X-Organization-Id
​string · uuid · required

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

Toggle WP-Cron takeover › Request Body

wp_cron_takeover
​boolean · required

Toggle WP-Cron takeover › 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
​WebsiteApplicationOperationResource[]
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
​WebsiteApplicationWordpressResource | null
updated_at
​string · date-time
created_at
​string · date-time

Reinstall the Clienvy Connect plugin

POST
https://api.clienvy.io/employee/v1
/websites/{website}/applications/{websiteApplication}/managed/wordpress/reinstall-connect-plugin

Reinstalls the Clienvy Connect plugin on the managed WordPress application and reconnects it. The work runs asynchronously as an operation. Only one reinstall can be pending at a time.

Reinstall the Clienvy Connect plugin › path Parameters

website
​string · uuid · required

The website UUID

websiteApplication
​string · uuid · required

The website application UUID

Reinstall the Clienvy Connect plugin › Headers

X-Organization-Id
​string · uuid · required

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

Reinstall the Clienvy Connect plugin › 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
​WebsiteApplicationOperationResource[]
unmanaged_hosting_name
​string | null
unmanaged_hosting_url
​string | null
​WebsiteApplicationWordpressResource | null
updated_at
​string · date-time
created_at
​string · date-time