Website mailbox domain
List mailbox domains
Returns all mailbox domains configured for the website.
path Parameters
websiteThe website UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List mailbox domains › Responses
Array of WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atCreate a mailbox domain
Adds a mailbox domain to the website. When an integration instance is given, the domain is
created at the mail provider and starts in the ownership-not-verified state. Otherwise the
domain is registered as external. In the ownership-not-verified state, add the records in
ownership_records to the DNS and then call the 'Apply ownership DNS' or 'Verify domain
ownership' endpoint.
path Parameters
websiteThe website UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Create a mailbox domain › Request Body
domain_idUUID of the domain to host the mailboxes on.
subdomainexternal_nameintegration_instance_idUUID of the mail provider integration. Omit to add an external (unmanaged) domain.
Create a mailbox domain › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atGet a mailbox domain
Returns a single mailbox domain, including its accounts and forwards.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get a mailbox domain › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atDelete a mailbox domain
Deletes the managed mailbox domain. One whose ownership is not verified is deleted right away: it is
only created at the provider once its ownership is verified, so there is nothing to delete there and
no date is needed. A verified one is deleted on deletion_scheduled_for, at the provider together
with its mailboxes, forwards and backups. If that date is today the deletion starts right away.
Until the day comes the domain keeps working as before: its mailboxes, forwards, catch-all and
backups can still be managed, and it can be suspended or activated. While the deletion runs the
status is deleting and nothing about the domain can be changed.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete a mailbox domain › Request Body
deletion_scheduled_forThe date to delete a verified domain on, today or later. Not needed for a domain whose ownership is not verified.
Delete a mailbox domain › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atCancel scheduled deletion
Cancels a scheduled deletion and returns the domain to the status active. This endpoint requires
the status deletion-scheduled: a deletion that is already running cannot be undone.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Cancel scheduled deletion › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atVerify domain ownership
Checks the ownership DNS records at the provider and activates the domain once ownership is
confirmed. This endpoint requires the status ownership-not-verified.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Verify domain ownership › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atApply ownership DNS
Adds the ownership_records DNS record to the domain when its DNS is managed by Clienvy. Also
requires the domain.manage-dns permission.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Apply ownership DNS › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atUpdate the catch-all
Configures how mail sent to unknown addresses on the domain is handled and applies the change at the provider.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update the catch-all › Request Body
catch_all_typeHow unknown addresses are handled: fail, blackhole or address.
catch_all_targetDestination email address. Required when catch_all_type is address.
Update the catch-all › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atVerify mail DNS
Checks the mail (MX, SPF, DKIM) DNS records for the domain and updates its verification state. This endpoint requires the status active.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Verify mail DNS › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atApply mail DNS
Adds the required mail (MX, SPF, DKIM) DNS records from dns_records for the domain when its DNS is managed by
Clienvy. Also requires the domain.manage-dns permission.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Apply mail DNS › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atSuspend a mailbox domain
Suspends the domain at the provider so its mailboxes can no longer send or receive mail. This sets
is_suspended and leaves the status as it is, so it also works while a deletion is planned. Until it
is activated, the domain, its accounts, forwards, backups and imports can only be read: only stopping
a running import and deleting the domain still work.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Suspend a mailbox domain › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atActivate a mailbox domain
Reactivates a suspended domain at the provider so its mailboxes can send and receive mail again.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Activate a mailbox domain › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atUpdate an external mailbox domain
Updates the display name of an external (unmanaged) mailbox domain.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update an external mailbox domain › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atDelete an external mailbox domain
Removes an external (unmanaged) mailbox domain from the website.
path Parameters
websiteThe website UUID
websiteMailboxDomainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete an external mailbox domain › Responses
WebsiteMailboxDomainResource
idfull_domainsubdomainstatusis_suspendedwhether its mailboxes are stopped from sending and receiving mail, whatever the status
deletion_scheduled_forthe date the domain is deleted on, while its status is deletion-scheduled or deleting
external_idexternal_namedns_verifiedcatch_all_typecatch_all_targetupdated_atcreated_atList 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.
path Parameters
websiteThe website UUID
website_mailbox_domainThe website mailbox domain UUID
query Parameters
typeOnly return activities of this type (for example remark).
include_relatedAlso return the activities of the records that belong to the resource, each naming its record in subject.
sourceWith 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.
pagePage number of the paginated result set.
per_pageNumber of items per page. Defaults to the endpoint's own page size; capped at 500.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
List activities › Responses
Array of ActivityWithSubjectResource
Array of ActivityResource
Log a remark
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.
path Parameters
websiteThe website UUID
website_mailbox_domainThe website mailbox domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Log a remark › Responses
ActivityWithSubjectResource
idtypetitledataThe contact who did it in the customer portal, if any.
The AI connection the activity was done through, if any.
updated_atcreated_atnull when the record is gone