Scaleway logo
Domain names - Registrar API

There are up to three different types of contacts for a domain: Owner: The owner is the registrant and owner of the domain. Administrative: The administrative contact of a domain is typically in charge of performing all domain-related actions. Technical: The technical contact of a domain takes care of technical issues like DNS records.

It is possible to be the Owner and the Administrative and / or the Technical contact all at once but some registries may have specific requirements.


Check if contacts are compatible with a domain or a TLD

POST
https://api.scaleway.com
/domain/v2beta1/check-contacts-compatibility

Check whether contacts are compatible with a domain or a TLD. If contacts are not compatible with either the domain or the TLD, the information that needs to be corrected is returned.

Check if contacts are compatible with a domain or a TLD › Request Body

domains
​string[]

List of domains to check contacts compatibility against.

tlds
​string[]

List of TLDs to check contacts compatibility against.

owner_contact_id
​string | null

ID of the existing contact to check as the domain's owner. Precisely one of owner_contact_id, owner_contact can be set.

​

New contact to check as the domain's owner. Precisely one of owner_contact_id, owner_contact can be set.

administrative_contact_id
​string | null

ID of the existing contact to check as the domain's administrative contact. Precisely one of administrative_contact_id, administrative_contact can be set.

​

New contact to check as the domain's administrative contact. Precisely one of administrative_contact_id, administrative_contact can be set.

technical_contact_id
​string | null

ID of the existing contact to check as the domain's technical contact. Precisely one of technical_contact_id, technical_contact can be set.

​

New contact to check as the domain's technical contact. Precisely one of technical_contact_id, technical_contact can be set.

Check if contacts are compatible with a domain or a TLD › Responses

200
compatible
​boolean

Indicates whether all contacts are compatible with the domains or TLDs.

Compatibility check result for the owner contact.

Compatibility check result for the administrative contact.

Compatibility check result for the technical contact.


List contacts

GET
https://api.scaleway.com
/domain/v2beta1/contacts

Retrieve the list of contacts and their associated domains and roles. You can filter the list by domain name.

List contacts › query Parameters

page
​integer · int32

Page number for the returned contacts.

page_size
​integer · uint32

Maximum number of contacts per page.

domain
​string

Filter contacts by domain name.

project_id
​string

Filter contacts by project ID.

organization_id
​string

Filter contacts by organization ID.

Filter contacts by role (owner, administrative, technical).

Enum values:
unknown_role
owner
administrative
technical
Default: unknown_role
email_status
​scaleway.domain.v2beta1.Contact.EmailStatus · enum

Filter contacts by email validation status.

Enum values:
email_status_unknown
validated
not_validated
invalid_email
Default: email_status_unknown

Sort order of the returned contacts.

Enum values:
created_at_asc
created_at_desc
email_asc
email_desc
Default: created_at_asc
status
​scaleway.domain.v2beta1.Contact.Status · enum

Filter by contact status.

Enum values:
status_unknown
active
pending
Default: status_unknown
legal_form
​scaleway.domain.v2beta1.Contact.LegalForm · enum

Filter by legal form.

Enum values:
legal_form_unknown
individual
corporate
association
other
Default: legal_form_unknown
email
​string

Filter by email address.

search
​string

Fuzzy search in firstname, lastname, email, and company_name.

List contacts › Responses

200
total_count
​integer · uint32

Total count of contacts matching the request.

List of contacts with their associated roles.


Get a contact

GET
https://api.scaleway.com
/domain/v2beta1/contacts/{contact_id}

Retrieve a contact's details from the registrar using the given contact's ID.

Get a contact › path Parameters

contact_id
​string · required

ID of the contact to retrieve.

Get a contact › Responses

200
id
​string

The unique identifier of the contact.

legal_form
​scaleway.domain.v2beta1.Contact.LegalForm · enum

Legal form of the contact (individual, corporate, association, other).

Enum values:
legal_form_unknown
individual
corporate
association
other
Default: legal_form_unknown
firstname
​string

First name of the contact.

lastname
​string

Last name of the contact.

company_name
​string

Company name of the contact (required for corporate legal forms).

email
​string

Email address of the contact.

email_alt
​string

Alternative email address of the contact.

phone_number
​string

Phone number of the contact, normalized to +CC.NationalNumber format.

fax_number
​string

Fax number of the contact, normalized to +CC.NationalNumber format.

address_line_1
​string

First line of the contact's address.

address_line_2
​string

Second line of the contact's address.

zip
​string

Postal code of the contact.

city
​string

City of the contact.

country
​string

Country code of the contact (ISO 3166-1 alpha-2 format).

vat_identification_code
​string

VAT identification code of the contact.

company_identification_code
​string

Company identification code of the contact (SIRET/SIREN for French contacts, any format for others).

lang
​scaleway.std.LanguageCode · enum

Preferred language of the contact.

Enum values:
unknown_language_code
en_US
fr_FR
de_DE
Default: unknown_language_code
resale
​boolean

Indicates whether the contact's information can be resold.

Additional information required for AFNIC-managed TLDs (.fr, .re, .pm, .yt, .wf, .tf).

Additional information required for .eu domains. Conditionally required.

whois_opt_in
​boolean

Indicates whether the contact's information is published in the WHOIS database.

email_status
​scaleway.domain.v2beta1.Contact.EmailStatus · enum

Email validation status of the contact.

Enum values:
email_status_unknown
validated
not_validated
invalid_email
Default: email_status_unknown
state
​string

State or region of the contact.

Additional information required for .nl domains. Auto-populated for individuals.

status
​scaleway.domain.v2beta1.Contact.Status · enum

Status of the contact.

Enum values:
status_unknown
active
pending
Default: status_unknown

Additional information required for .it domains. Contains a PIN.

srn
​string · pattern: ^srn://domain\.[^/]+…

The SRN of the contact.


Update contact

PATCH
https://api.scaleway.com
/domain/v2beta1/contacts/{contact_id}

Edit the contact's information.

Update contact › path Parameters

contact_id
​string · required

ID of the contact to update.

Update contact › Request Body

email
​string | null

Email address of the contact.

email_alt
​string | null

Alternative email address of the contact.

phone_number
​string | null

Phone number of the contact, normalized to +CC.NationalNumber format.

fax_number
​string | null

Fax number of the contact, normalized to +CC.NationalNumber format.

address_line_1
​string | null

First line of the contact's address.

address_line_2
​string | null

Second line of the contact's address.

zip
​string | null

Postal code of the contact.

city
​string | null

City of the contact.

country
​string | null

Country code of the contact (ISO 3166-1 alpha-2 format). Not updatable; returns an error if changed.

vat_identification_code
​string | null

VAT identification code of the contact.

company_identification_code
​string | null

Company identification code of the contact (SIRET/SIREN for French contacts, any format for others).

lang
​scaleway.std.LanguageCode · enum

Preferred language of the contact.

Enum values:
unknown_language_code
en_US
fr_FR
de_DE
Default: unknown_language_code
resale
​boolean | null

Indicates whether the contact's information can be resold.

Additional information required for AFNIC-managed TLDs (.fr, .re, .pm, .yt, .wf, .tf).

Additional information required for .eu domains. Conditionally required.

Additional information required for .nl domains. Auto-populated for individuals.

Additional information required for .it domains. Contains a PIN.

whois_opt_in
​boolean | null

Indicates whether the contact's information is published in the WHOIS database.

state
​string | null

State or region of the contact.

Update contact › Responses

200
id
​string

The unique identifier of the contact.

legal_form
​scaleway.domain.v2beta1.Contact.LegalForm · enum

Legal form of the contact (individual, corporate, association, other).

Enum values:
legal_form_unknown
individual
corporate
association
other
Default: legal_form_unknown
firstname
​string

First name of the contact.

lastname
​string

Last name of the contact.

company_name
​string

Company name of the contact (required for corporate legal forms).

email
​string

Email address of the contact.

email_alt
​string

Alternative email address of the contact.

phone_number
​string

Phone number of the contact, normalized to +CC.NationalNumber format.

fax_number
​string

Fax number of the contact, normalized to +CC.NationalNumber format.

address_line_1
​string

First line of the contact's address.

address_line_2
​string

Second line of the contact's address.

zip
​string

Postal code of the contact.

city
​string

City of the contact.

country
​string

Country code of the contact (ISO 3166-1 alpha-2 format).

vat_identification_code
​string

VAT identification code of the contact.

company_identification_code
​string

Company identification code of the contact (SIRET/SIREN for French contacts, any format for others).

lang
​scaleway.std.LanguageCode · enum

Preferred language of the contact.

Enum values:
unknown_language_code
en_US
fr_FR
de_DE
Default: unknown_language_code
resale
​boolean

Indicates whether the contact's information can be resold.

Additional information required for AFNIC-managed TLDs (.fr, .re, .pm, .yt, .wf, .tf).

Additional information required for .eu domains. Conditionally required.

whois_opt_in
​boolean

Indicates whether the contact's information is published in the WHOIS database.

email_status
​scaleway.domain.v2beta1.Contact.EmailStatus · enum

Email validation status of the contact.

Enum values:
email_status_unknown
validated
not_validated
invalid_email
Default: email_status_unknown
state
​string

State or region of the contact.

Additional information required for .nl domains. Auto-populated for individuals.

status
​scaleway.domain.v2beta1.Contact.Status · enum

Status of the contact.

Enum values:
status_unknown
active
pending
Default: status_unknown

Additional information required for .it domains. Contains a PIN.

srn
​string · pattern: ^srn://domain\.[^/]+…

The SRN of the contact.