Clienvy API documentation

Website mailbox account


Create a mailbox account

POST
https://api.clienvy.io/employee/v1
/websites/{website}/mailboxes/domains/{websiteMailboxDomain}/accounts

Creates a new mailbox (email account) on the domain and provisions it at the provider.

Create a mailbox account › path Parameters

website
​string · uuid · required

The website UUID

websiteMailboxDomain
​string · uuid · required

The website mailbox domain UUID

Create a mailbox account › Headers

X-Organization-Id
​string · uuid · required

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

Create a mailbox account › Request Body

username
​string · maxLength: 64 · required

The part of the address before the @. An address that was deleted before gets its backups back.

password
​string · maxLength: 64 · required

At least 8 characters, with at least one letter and one digit.

Create a mailbox account › Responses

WebsiteMailboxAccountResource

​WebsiteMailboxAccountResource · required
​WebsiteMailboxDomainResource · required

Change the mailbox password

PUT
https://api.clienvy.io/employee/v1
/websites/{website}/mailboxes/domains/{websiteMailboxDomain}/accounts/{websiteMailboxAccount}/change-password

Sets a new password for the mailbox account and applies it at the provider.

Change the mailbox password › path Parameters

website
​string · uuid · required

The website UUID

websiteMailboxDomain
​string · uuid · required

The website mailbox domain UUID

websiteMailboxAccount
​string · uuid · required

The website mailbox account UUID

Change the mailbox password › Headers

X-Organization-Id
​string · uuid · required

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

Change the mailbox password › Request Body

password
​string · maxLength: 64 · required

At least 8 characters, with at least one letter and one digit.

Change the mailbox password › Responses

WebsiteMailboxAccountResource

​WebsiteMailboxAccountResource · required
​WebsiteMailboxDomainResource · required

Update the mailbox quota

PUT
https://api.clienvy.io/employee/v1
/websites/{website}/mailboxes/domains/{websiteMailboxDomain}/accounts/{websiteMailboxAccount}/quota

Updates the storage quota and daily send limit of the mailbox account and applies them at the provider.

Update the mailbox quota › path Parameters

website
​string · uuid · required

The website UUID

websiteMailboxDomain
​string · uuid · required

The website mailbox domain UUID

websiteMailboxAccount
​string · uuid · required

The website mailbox account UUID

Update the mailbox quota › Headers

X-Organization-Id
​string · uuid · required

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

Update the mailbox quota › Request Body

maximum_storage
​integer | null · min: 1 · max: 51200
sent_limit_per_day
​integer | null · min: 1 · max: 9600

Update the mailbox quota › Responses

WebsiteMailboxAccountResource

​WebsiteMailboxAccountResource · required
​WebsiteMailboxDomainResource · required

Delete a mailbox account

DELETE
https://api.clienvy.io/employee/v1
/websites/{website}/mailboxes/domains/{websiteMailboxDomain}/accounts/{websiteMailboxAccount}

Marks the mailbox account as deleting and answers right away: deleting it at the provider and removing it from the domain happens in the background. If that fails, the account returns to active. The backups of the account stay with the domain until they expire.

Delete a mailbox account › path Parameters

website
​string · uuid · required

The website UUID

websiteMailboxDomain
​string · uuid · required

The website mailbox domain UUID

websiteMailboxAccount
​string · uuid · required

The website mailbox account UUID

Delete a mailbox account › Headers

X-Organization-Id
​string · uuid · required

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

Delete a mailbox account › Responses

WebsiteMailboxAccountResource

​WebsiteMailboxAccountResource · required
​WebsiteMailboxDomainResource · required

Create a mailbox migration

POST
https://api.clienvy.io/employee/v1
/websites/{website}/mailboxes/domains/{websiteMailboxDomain}/accounts/{websiteMailboxAccount}/migrations

Starts an IMAP migration that copies mail from an external mailbox into this account. The source credentials are verified before the migration is queued and run asynchronously.

Create a mailbox migration › path Parameters

website
​string · uuid · required

The website UUID

websiteMailboxDomain
​string · uuid · required

The website mailbox domain UUID

websiteMailboxAccount
​string · uuid · required

The website mailbox account UUID

Create a mailbox migration › Headers

X-Organization-Id
​string · uuid · required

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

Create a mailbox migration › Request Body

source_host
​string · maxLength: 255 · required
source_port
​integer · min: 1 · max: 65535 · required
source_mailbox
​string · maxLength: 255 · required
source_password
​string · maxLength: 64 · required

Create a mailbox migration › Responses

WebsiteMailboxMigrationResource

​WebsiteMailboxMigrationResource · required
​WebsiteMailboxDomainResource · required

Get the migration log

GET
https://api.clienvy.io/employee/v1
/websites/{website}/mailboxes/domains/{websiteMailboxDomain}/accounts/{websiteMailboxAccount}/migrations/{websiteMailboxMigration}/log

Returns the log entries recorded while the migration ran.

Get the migration log › path Parameters

website
​string · uuid · required

The website UUID

websiteMailboxDomain
​string · uuid · required

The website mailbox domain UUID

websiteMailboxAccount
​string · uuid · required

The website mailbox account UUID

websiteMailboxMigration
​string · uuid · required

The website mailbox migration UUID

Get the migration log › Headers

X-Organization-Id
​string · uuid · required

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

Get the migration log › Responses

​object[] · required

Run a migration again

POST
https://api.clienvy.io/employee/v1
/websites/{website}/mailboxes/domains/{websiteMailboxDomain}/accounts/{websiteMailboxAccount}/migrations/{websiteMailboxMigration}/again

Starts a new migration reusing the source settings of a completed one. The credentials are re-verified before the new migration is queued.

Run a migration again › path Parameters

website
​string · uuid · required

The website UUID

websiteMailboxDomain
​string · uuid · required

The website mailbox domain UUID

websiteMailboxAccount
​string · uuid · required

The website mailbox account UUID

websiteMailboxMigration
​string · uuid · required

The website mailbox migration UUID

Run a migration again › Headers

X-Organization-Id
​string · uuid · required

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

Run a migration again › Responses

WebsiteMailboxMigrationResource

​WebsiteMailboxMigrationResource · required
​WebsiteMailboxDomainResource · required

Cancel a mailbox migration

POST
https://api.clienvy.io/employee/v1
/websites/{website}/mailboxes/domains/{websiteMailboxDomain}/accounts/{websiteMailboxAccount}/migrations/{websiteMailboxMigration}/cancel

Cancels a migration that is still pending or running.

Cancel a mailbox migration › path Parameters

website
​string · uuid · required

The website UUID

websiteMailboxDomain
​string · uuid · required

The website mailbox domain UUID

websiteMailboxAccount
​string · uuid · required

The website mailbox account UUID

websiteMailboxMigration
​string · uuid · required

The website mailbox migration UUID

Cancel a mailbox migration › Headers

X-Organization-Id
​string · uuid · required

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

Cancel a mailbox migration › Responses

WebsiteMailboxMigrationResource

​WebsiteMailboxMigrationResource · required
​WebsiteMailboxDomainResource · required