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[]
tlds
​string[]
owner_contact_id
​string | null
​
administrative_contact_id
​string | null
​
technical_contact_id
​string | null
​

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


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
​google.protobuf.Int32Value · int32
page_size
​integer · uint32
project_id
​google.protobuf.StringValue
organization_id
​google.protobuf.StringValue
Enum values:
unknown_role
owner
administrative
technical
Default: unknown_role
email_status
​scaleway.domain.v2beta1.Contact.EmailStatus · enum
Enum values:
email_status_unknown
validated
not_validated
invalid_email
Default: email_status_unknown

List contacts › Responses

200
total_count
​integer · uint32

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

Get a contact › Responses

200
id
​string
legal_form
​scaleway.domain.v2beta1.Contact.LegalForm · enum
Enum values:
legal_form_unknown
individual
corporate
association
other
Default: legal_form_unknown
firstname
​string
lastname
​string
company_name
​string
email
​string
email_alt
​string
phone_number
​string
fax_number
​string
address_line_1
​string
address_line_2
​string
zip
​string
city
​string
country
​string
vat_identification_code
​string
company_identification_code
​string
lang
​scaleway.std.LanguageCode · enum
Enum values:
unknown_language_code
en_US
fr_FR
de_DE
Default: unknown_language_code
resale
​boolean
whois_opt_in
​boolean
email_status
​scaleway.domain.v2beta1.Contact.EmailStatus · enum
Enum values:
email_status_unknown
validated
not_validated
invalid_email
Default: email_status_unknown
state
​string
status
​scaleway.domain.v2beta1.Contact.Status · enum
Enum values:
status_unknown
active
pending
Default: status_unknown

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

Update contact › Request Body

phone_number
​google.protobuf.StringValue
fax_number
​google.protobuf.StringValue
address_line_1
​google.protobuf.StringValue
address_line_2
​google.protobuf.StringValue
vat_identification_code
​google.protobuf.StringValue
company_identification_code
​google.protobuf.StringValue
lang
​scaleway.std.LanguageCode · enum
Enum values:
unknown_language_code
en_US
fr_FR
de_DE
Default: unknown_language_code
whois_opt_in
​google.protobuf.BoolValue

Update contact › Responses

200
id
​string
legal_form
​scaleway.domain.v2beta1.Contact.LegalForm · enum
Enum values:
legal_form_unknown
individual
corporate
association
other
Default: legal_form_unknown
firstname
​string
lastname
​string
company_name
​string
email
​string
email_alt
​string
phone_number
​string
fax_number
​string
address_line_1
​string
address_line_2
​string
zip
​string
city
​string
country
​string
vat_identification_code
​string
company_identification_code
​string
lang
​scaleway.std.LanguageCode · enum
Enum values:
unknown_language_code
en_US
fr_FR
de_DE
Default: unknown_language_code
resale
​boolean
whois_opt_in
​boolean
email_status
​scaleway.domain.v2beta1.Contact.EmailStatus · enum
Enum values:
email_status_unknown
validated
not_validated
invalid_email
Default: email_status_unknown
state
​string
status
​scaleway.domain.v2beta1.Contact.Status · enum
Enum values:
status_unknown
active
pending
Default: status_unknown