List domains
Returns a paginated list of domains.
query Parameters
searchSearch by domain name.
is_externalWhen true, only return external (non-registered) domains.
website_idsOnly return domains linked to one of these websites. Accepts a comma-separated list of UUIDs.
sort_fieldField to sort by: domain, expires_at or will_renew.
sort_directionSort direction: asc or desc.
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 domains › Responses
Array of DomainResource
Check domain availability
Checks whether a domain already exists at the default registrar of the organization and whether it
can be registered or requires a transfer, including the price when available. Through the
registrar of Clienvy the price is what Clienvy charges from the credit of the organization, with
what is available of that credit (the balance without what is reserved) and its threshold, and
what a year of renewal costs after it (renewal_price, null when Clienvy does not renew it). Or
null with the reason (premium, extension-unavailable) when Clienvy does not offer the domain.
The credit fields are null at a registrar of the organization's own, everything after registerable
while the domain cannot be registered.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Check domain availability › Request Body
domainThe fully-qualified domain name to check.
website_idUUID of the website the domain would be linked to.
Check domain availability › Responses
already_createdlinked_to_websiteregisterablerequires_transferpriceunavailable_reasonrenewal_pricewallet_availablewallet_thresholdAdd an external domain
Links an externally-registered domain to a website. The domain will be created if it does not exist yet.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Add an external domain › Request Body
domainThe fully-qualified domain name.
website_idUUID of the website to link the domain to.
Add an external domain › Responses
DomainResource
idstatusactive |
registering From the request until the registrar reports the domain as active, or the request as failed. |
transferring From the request until the registrar reports the domain as active, or the request as failed. A transfer can take days, for some extensions up to a week. |
failed The registrar did not carry out the registration or transfer. It can be requested again, or the domain made external. |
quarantine |
request_failure_reasondomaintldexpires_atregistered_atrenewal_allowedhas_active_subscriptionwill_renewdesired_nameserverscurrent_nameserversnameservers_statusnameservers_last_status_checkis_lockableis_lockedupdated_atcreated_atRegister or transfer a domain
Registers a new domain or transfers an existing one at the default registrar of the organization,
with a domain holder of that registrar, and links it to a website.
Use action register for a new domain or transfer (with a transfer_token) to move an existing
one. The domain is returned straight away with status registering or transferring, and the
rest happens in the background: whether the registrar has the domain as requested (a registration
that is taken already, or a transfer of a domain that is free, does not go through), through the
registrar of Clienvy whether Clienvy offers it with its price reserved on the credit, and then the
registrar is asked. The price is taken off the credit once the domain is active. The domain becomes
active once the registrar reports it, which for a transfer can take days, or failed with the
reason in request_failure_reason. A failed domain can be requested again, or its request
cancelled: until then the price stays reserved, as the registrar may still carry it out.
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Register or transfer a domain › Request Body
domainThe fully-qualified domain name.
website_idUUID of the website to link the domain to.
actionWhether to register a new domain or transfer an existing one.
domain_holder_idUUID of the domain holder (registrant) to use, of the default registrar.
nameserversThe nameservers to set (at least two).
transfer_tokenTransfer/auth code. Required when action is transfer.
Register or transfer a domain › Responses
DomainResource
idstatusactive |
registering From the request until the registrar reports the domain as active, or the request as failed. |
transferring From the request until the registrar reports the domain as active, or the request as failed. A transfer can take days, for some extensions up to a week. |
failed The registrar did not carry out the registration or transfer. It can be requested again, or the domain made external. |
quarantine |
request_failure_reasondomaintldexpires_atregistered_atrenewal_allowedhas_active_subscriptionwill_renewdesired_nameserverscurrent_nameserversnameservers_statusnameservers_last_status_checkis_lockableis_lockedupdated_atcreated_atGet a domain
Returns a single domain by ID, including its DNS zones and records, holder, redirects and SMTP domains.
path Parameters
domainThe domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get a domain › Responses
DomainResource
idstatusactive |
registering From the request until the registrar reports the domain as active, or the request as failed. |
transferring From the request until the registrar reports the domain as active, or the request as failed. A transfer can take days, for some extensions up to a week. |
failed The registrar did not carry out the registration or transfer. It can be requested again, or the domain made external. |
quarantine |
request_failure_reasondomaintldexpires_atregistered_atrenewal_allowedhas_active_subscriptionwill_renewdesired_nameserverscurrent_nameserversnameservers_statusnameservers_last_status_checkis_lockableis_lockedupdated_atcreated_atUpdate a domain
Updates a domain's primary DNS zone or renewal settings.
path Parameters
domainThe domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update a domain › Request Body
primary_dns_zone_idUUID of the DNS zone to make primary.
renewal_allowedWhether the domain is allowed to auto-renew.
Update a domain › Responses
DomainResource
idstatusactive |
registering From the request until the registrar reports the domain as active, or the request as failed. |
transferring From the request until the registrar reports the domain as active, or the request as failed. A transfer can take days, for some extensions up to a week. |
failed The registrar did not carry out the registration or transfer. It can be requested again, or the domain made external. |
quarantine |
request_failure_reasondomaintldexpires_atregistered_atrenewal_allowedhas_active_subscriptionwill_renewdesired_nameserverscurrent_nameserversnameservers_statusnameservers_last_status_checkis_lockableis_lockedupdated_atcreated_atVerify nameservers
Looks up and stores the current nameservers of an external domain. Only available for external (non-registered) domains.
path Parameters
domainThe domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Verify nameservers › Responses
DomainResource
idstatusactive |
registering From the request until the registrar reports the domain as active, or the request as failed. |
transferring From the request until the registrar reports the domain as active, or the request as failed. A transfer can take days, for some extensions up to a week. |
failed The registrar did not carry out the registration or transfer. It can be requested again, or the domain made external. |
quarantine |
request_failure_reasondomaintldexpires_atregistered_atrenewal_allowedhas_active_subscriptionwill_renewdesired_nameserverscurrent_nameserversnameservers_statusnameservers_last_status_checkis_lockableis_lockedupdated_atcreated_atGet a transfer token
Returns the domain's transfer (auth) code, or resets it. Only available for active registered domains.
path Parameters
domainThe domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Get a transfer token › Request Body
actionWhether to get the current token or reset it.
Get a transfer token › Responses
transfer_tokenSet the transfer lock
Enables or disables the transfer lock at the registrar. Only available for active registered domains whose TLD supports locking.
path Parameters
domainThe domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Set the transfer lock › Request Body
is_lockedWhether the domain is transfer-locked.
Set the transfer lock › Responses
DomainResource
idstatusactive |
registering From the request until the registrar reports the domain as active, or the request as failed. |
transferring From the request until the registrar reports the domain as active, or the request as failed. A transfer can take days, for some extensions up to a week. |
failed The registrar did not carry out the registration or transfer. It can be requested again, or the domain made external. |
quarantine |
request_failure_reasondomaintldexpires_atregistered_atrenewal_allowedhas_active_subscriptionwill_renewdesired_nameserverscurrent_nameserversnameservers_statusnameservers_last_status_checkis_lockableis_lockedupdated_atcreated_atUpdate nameservers
Sets the domain's nameservers at the registrar. Only available for active registered domains without a primary DNS zone.
path Parameters
domainThe domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Update nameservers › Request Body
nameserversThe nameservers to set (at least two).
Update nameservers › Responses
DomainResource
idstatusactive |
registering From the request until the registrar reports the domain as active, or the request as failed. |
transferring From the request until the registrar reports the domain as active, or the request as failed. A transfer can take days, for some extensions up to a week. |
failed The registrar did not carry out the registration or transfer. It can be requested again, or the domain made external. |
quarantine |
request_failure_reasondomaintldexpires_atregistered_atrenewal_allowedhas_active_subscriptionwill_renewdesired_nameserverscurrent_nameserversnameservers_statusnameservers_last_status_checkis_lockableis_lockedupdated_atcreated_atDelete an external domain
Unlinks an external domain from a website (and deletes it when no other website links to it). Only available for external domains without an active application on the website.
path Parameters
domainThe domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Delete an external domain › Request Body
website_idUUID of the website to unlink the domain from.
Delete an external domain › Responses
DomainResource
idstatusactive |
registering From the request until the registrar reports the domain as active, or the request as failed. |
transferring From the request until the registrar reports the domain as active, or the request as failed. A transfer can take days, for some extensions up to a week. |
failed The registrar did not carry out the registration or transfer. It can be requested again, or the domain made external. |
quarantine |
request_failure_reasondomaintldexpires_atregistered_atrenewal_allowedhas_active_subscriptionwill_renewdesired_nameserverscurrent_nameserversnameservers_statusnameservers_last_status_checkis_lockableis_lockedupdated_atcreated_atUnlink a registered domain
Unlinks a registered (internal) domain from a website without deleting the registration. Not available when an active application on the website uses the domain.
path Parameters
domainThe domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Unlink a registered domain › Request Body
website_idUUID of the website to unlink the domain from.
Unlink a registered domain › Responses
DomainResource
idstatusactive |
registering From the request until the registrar reports the domain as active, or the request as failed. |
transferring From the request until the registrar reports the domain as active, or the request as failed. A transfer can take days, for some extensions up to a week. |
failed The registrar did not carry out the registration or transfer. It can be requested again, or the domain made external. |
quarantine |
request_failure_reasondomaintldexpires_atregistered_atrenewal_allowedhas_active_subscriptionwill_renewdesired_nameserverscurrent_nameserversnameservers_statusnameservers_last_status_checkis_lockableis_lockedupdated_atcreated_atCancel a failed request
Gives up the registration or transfer that failed: the domain is external again, for when it stays registered elsewhere. Through the registrar of Clienvy what was held on the credit for it is available again. It can be registered or transferred again later.
path Parameters
domainThe domain UUID
Headers
X-Organization-IdUUID of the organization (tenant) the request operates on.
Cancel a failed request › Responses
DomainResource
idstatusactive |
registering From the request until the registrar reports the domain as active, or the request as failed. |
transferring From the request until the registrar reports the domain as active, or the request as failed. A transfer can take days, for some extensions up to a week. |
failed The registrar did not carry out the registration or transfer. It can be requested again, or the domain made external. |
quarantine |
request_failure_reasondomaintldexpires_atregistered_atrenewal_allowedhas_active_subscriptionwill_renewdesired_nameserverscurrent_nameserversnameservers_statusnameservers_last_status_checkis_lockableis_lockedupdated_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
domainThe 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
domainThe 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