Skip to content

Extensions & ordering

All operations require authentication, except the 2 marked Public.

15 operationsv1/domain/configurationRule · /domain/data · /domain/extensions · +1
Agent setup

List all extensionsProduction

GET
/1.0/domain/extensions

Query parameters

geolocalizations
string

Filter only extensions related to this list of geolocalization places (comma separated). Default to empty.

orderBy
OrderByTypeEnum

Order results by name (alphabetical) or trending importance (trending). Default to alphabetical.

Valuesalphabeticaltrending
ovhSubsidiary
OvhSubsidiaryEnum

OVHcloud subsidiary targeted. Useful only when orderBy is equal to trending. Default to FR.

ValuesCZDEESEUFIFRGBIEITLTMANLPLPTSNTN
thematics
string

Filter only extensions related to this list of thematics (comma separated). Default to empty.

Response

200string[]successful operation

Reads your token from $OVH_TOKEN

$ curl https://api.eu.ovhcloud.com/1.0/domain/extensions \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "string"]

Get an extensionProduction

GET
/1.0/domain/extensions/{name}

Path parameters

name
required
string

Name

Response

200Extensionsuccessful operation
name
read-only
string

The extension name

Example uses name = string

$ curl https://api.eu.ovhcloud.com/1.0/domain/extensions/{name} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "name": "string"}

List extensions, grouped by category types (like 'thematic', 'geolocalization') and category names (like 'europe')Production

GET
/1.0/domain/extensions/byCategory

Query parameters

categoryType
CategoryTypeEnum[]

Filter by category types

Valuesgeolocalizationthematic

Response

200ExtensionsByCategorysuccessful operation
geolocalization
read-only
CategoryNameWithExtensions[]

Geolocalizations groups extensions by geographical place, like 'europe'

thematic
read-only
CategoryNameWithExtensions[]

Thematics groups extensions by a thematic like 'gastronomy' for '.pizza'

Reads your token from $OVH_TOKEN

$ curl https://api.eu.ovhcloud.com/1.0/domain/extensions/byCategory \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "geolocalization": [ { "extensions": [ "string" ], "name": "string" } ], "thematic": [ { "extensions": [ "string" ], "name": "string" } ]}

List highlighted extensions, ordered by decreased importanceProduction

GET
/1.0/domain/extensions/highlighted

Query parameters

ovhSubsidiary
OvhSubsidiaryEnum

OVHcloud subsidiary targeted. Highlighted extensions are different from one subsidiary to another. Default to FR.

ValuesCZDEESEUFIFRGBIEITLTMANLPLPTSNTN

Response

200string[]successful operation

Reads your token from $OVH_TOKEN

$ curl https://api.eu.ovhcloud.com/1.0/domain/extensions/highlighted \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ "string"]

List extensions with their pricing attributesProduction

GET
/1.0/domain/extensions/pricingAttributes

List extensions with their pricing attributes. It especially documents whether an extension has been implemented recently or whether the price has dropped.

Query parameters

ovhSubsidiary
OvhSubsidiaryEnum

OVHcloud subsidiary targeted. Attributes may be different from one subsidiary to another. Default to FR.

ValuesCZDEESEUFIFRGBIEITLTMANLPLPTSNTN

Response

200ExtensionsPricingAttributes[]successful operation
brandNew
read-only
boolean

Parameter is true when the extension has been created recently and we want to highlight this fact

name
read-only
string

Extension name, like 'com' or 'co.uk'

priceDrop
read-only
boolean

Parameter is true when the extension price has dropped recently and we want to highlight this fact

Reads your token from $OVH_TOKEN

$ curl https://api.eu.ovhcloud.com/1.0/domain/extensions/pricingAttributes \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "brandNew": true, "name": "string", "priceDrop": true }]

Retrieve registry configuration for an extensionProduction

GET
/1.0/domain/extensions/{name}/registryConfigurations

Path parameters

name
required
string

Name

Response

200RegistryConfigurationssuccessful operation
dns
read-only
DNSRegistryConfiguration

Configurations on the DNS associated to the domain for the given extension

domain
read-only
DomainRegistryConfiguration

Configurations on the domain name itself for the given extension

lifecycle
read-only
LifecycleRegistryConfiguration

Configurations on the lifecycle of a domain for the given extension

Example uses name = string

$ curl https://api.eu.ovhcloud.com/1.0/domain/extensions/{name}/registryConfigurations \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "dns": { "isDNSSECSupported": true, "maxNumber": 0, "minNumber": 0 }, "domain": { "extension_type": "cctld", "isAuthInfoSupported": true, "isPremiumSupported": true, "label": { "isIDNSupported": true, "maxLength": 0, "minLength": 0 } }, "lifecycle": { "create": { "allowedPeriodsInMonths": [ 0 ] }, "order": { "active": true, "maxMonths": 0, "minMonths": 0 }, "renew": { "allowedPeriodsInMonths": [ 0 ], "gracePeriodInDays": 0 }, "restore": { "gracePeriodInDays": 0 }, "transfer": { "allowedPeriodsInMonths": [ 0 ], "includeRenew": true, "incomingTransferDelayMaxDays": 0, "incomingTransferDelayMinDays": 0, "isAuthInfoRequired": true, "transferBlockDelayInDays": 0 } }}

Get configuration rule applied for a domain in a given actionProductionPublic

GET
/1.0/domain/configurationRule

Query parameters

action
required
ActionEnum

Depending on the action, the applied rule will change (transfer vs create)

Valuescreatetradetransferupdate
domain
required
string

The domain to get the configuration rule for

Response

200Rulesuccessful operation
and
read-only
Rule[]

An "and" operator on multiple rules

conditions
read-only
Rule

Whether this rule is applied or not

constraints
read-only
Constraint[]

The constraints of the rule

contexts
read-only
ContextEnum[]

The context on which the rule applies

Valuesaccept_conditionsclaimscreateorderpremiumprotected_codereasontradetransferupdate
description
read-only
string

The description of the rule

fields
read-only
Rule

The fields with specific rules

label
read-only
string

The label of the rule

or
read-only
Rule[]

An "or" operator on multiple rules

placeholder
read-only
string

The default value used for the rule

type
read-only
TypeEnum

The type of the object the rule applies on

Valuesboolcontactdate_ISO8601domainjsonnumberstringstring[]text

Public: no token needed

$ curl https://api.eu.ovhcloud.com/1.0/domain/configurationRule
ResponseExample
{ "and": [ {} ], "conditions": {}, "constraints": [ { "conditions": {}, "contexts": [ "accept_conditions" ], "operator": "between", "value": "string", "values": [ "string" ] } ], "contexts": [ "accept_conditions" ], "description": "string", "fields": {}, "label": "string", "or": [ {} ], "placeholder": "string", "type": "bool"}

Validate a rule data for a specified domainProduction

POST
/1.0/domain/configurationRule/check

Query parameters

action
required
ActionEnum

Depending on the action, the applied rule will change (transfer vs create)

Valuescreatetradetransferupdate
domain
required
string

The domain to check the rule data for

Request body (required)

adminAccount
Nichandle

The admin contact data

domain
Data

The domain data

extras
RuleExtraData

The extra data of the rule

owner
Contact

The owner contact data

techAccount
Nichandle

The tech contact data

Response

200—successful operation

Reads your token from $OVH_TOKEN

$ curl https://api.eu.ovhcloud.com/1.0/domain/configurationRule/check \
  -H "authorization: Bearer $OVH_TOKEN"

Retrieve claim notices associated to a domainProductionPublic

GET
/1.0/domain/data/claimNotice

Query parameters

domain
required
string

Domain name

Response

200ClaimNoticesuccessful operation
claims
read-only
ClaimNoticeDecision[]

Array of claim notice for the domain

endingDate
read-only
string

Ending date of claim notice

id
read-only
string

Claim notice ID

label
read-only
string

Label referring to claim notice

startingDate
read-only
string

Beginning date of claim notice

type
read-only
ClaimNoticeTypeEnum

Type of claim notice

ValuesTRADEMARKUK

Public: no token needed

$ curl https://api.eu.ovhcloud.com/1.0/domain/data/claimNotice
ResponseExample
{ "claims": [ { "classifications": [ { "description": "string", "number": "string" } ], "courtDecisions": [ { "countryCode": "string", "courtName": "string", "referenceNumber": "string", "regions": [ "string" ] } ], "goodsAndServices": "string", "jurisdiction": "string", "jurisdictionCountryCode": "string", "markName": "string", "trademarkContacts": [ { "address": { "city": "string", "countryCode": "AC", "fax": "string", "faxExtension": "string", "postalCode": "string", "stateOrProvince": "string", "streets": [ null ], "voice": "string", "voiceExtension": "string" }, "email": "string", "entitlement": "string", "name": "string", "organisation": "string", "type": "string" } ], "trademarkHolders": [ { "address": { "city": "string", "countryCode": "AC", "fax": "string", "faxExtension": "string", "postalCode": "string", "stateOrProvince": "string", "streets": [ null ], "voice": "string", "voiceExtension": "string" }, "email": "string", "entitlement": "string", "name": "string", "organisation": "string", "type": "string" } ], "trademarkUDRP": [ { "caseNumber": "string", "udrpProvider": "string" } ] } ], "endingDate": "string", "id": "string", "label": "string", "startingDate": "string", "type": "TRADEMARK"}

List all SMD filesProduction

GET
/1.0/domain/data/smd

Response

200Smd[]successful operation
data
read-only
string

SMD file content

id
read-only
stringuuid

UUID of SMD file

notAfter
read-only
stringdate-time

Date when information about SMD file aren't valid anymore

notBefore
read-only
stringdate-time

Date before when information about SMD file aren't valid yet

protectedLabels
read-only
SmdLabel[]

List of the labels that are protect with that SMD file

smdId
read-only
string

TMCH Internal identifier

Reads your token from $OVH_TOKEN

$ curl https://api.eu.ovhcloud.com/1.0/domain/data/smd \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
[ { "data": "string", "id": "00000000-0000-0000-0000-000000000000", "notAfter": "2024-01-01T12:00:00Z", "notBefore": "2024-01-01T12:00:00Z", "protectedLabels": [ { "label": "string", "trademark": "string" } ], "smdId": "string" }]

Get details about a SMD fileProduction

GET
/1.0/domain/data/smd/{smdId}

Path parameters

smdId
required
stringuuid

Smd ID

Response

200Smdsuccessful operation
data
read-only
string

SMD file content

id
read-only
stringuuid

UUID of SMD file

notAfter
read-only
stringdate-time

Date when information about SMD file aren't valid anymore

notBefore
read-only
stringdate-time

Date before when information about SMD file aren't valid yet

protectedLabels
read-only
SmdLabel[]

List of the labels that are protect with that SMD file

smdId
read-only
string

TMCH Internal identifier

Example uses smdId = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/domain/data/smd/{smdId} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "data": "string", "id": "00000000-0000-0000-0000-000000000000", "notAfter": "2024-01-01T12:00:00Z", "notBefore": "2024-01-01T12:00:00Z", "protectedLabels": [ { "label": "string", "trademark": "string" } ], "smdId": "string"}

Create a SMD fileProduction

POST
/1.0/domain/data/smd

Request body (required)

data
required
string

SMD file content in base64

Response

200Smdsuccessful operation
data
read-only
string

SMD file content

id
read-only
stringuuid

UUID of SMD file

notAfter
read-only
stringdate-time

Date when information about SMD file aren't valid anymore

notBefore
read-only
stringdate-time

Date before when information about SMD file aren't valid yet

protectedLabels
read-only
SmdLabel[]

List of the labels that are protect with that SMD file

smdId
read-only
string

TMCH Internal identifier

Reads your token from $OVH_TOKEN

$ curl https://api.eu.ovhcloud.com/1.0/domain/data/smd \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "data": "string", "id": "00000000-0000-0000-0000-000000000000", "notAfter": "2024-01-01T12:00:00Z", "notBefore": "2024-01-01T12:00:00Z", "protectedLabels": [ { "label": "string", "trademark": "string" } ], "smdId": "string"}

Delete a SMD fileProduction

DELETE
/1.0/domain/data/smd/{smdId}

Path parameters

smdId
required
stringuuid

Smd ID

Response

200—successful operation

Example uses smdId = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/domain/data/smd/{smdId} \
  -H "authorization: Bearer $OVH_TOKEN"

Update a SMD fileProduction

PUT
/1.0/domain/data/smd/{smdId}

Path parameters

smdId
required
stringuuid

Smd ID

Request body (required)

data
required
string

SMD file content in base64

Response

200Smdsuccessful operation
data
read-only
string

SMD file content

id
read-only
stringuuid

UUID of SMD file

notAfter
read-only
stringdate-time

Date when information about SMD file aren't valid anymore

notBefore
read-only
stringdate-time

Date before when information about SMD file aren't valid yet

protectedLabels
read-only
SmdLabel[]

List of the labels that are protect with that SMD file

smdId
read-only
string

TMCH Internal identifier

Example uses smdId = 00000000-0000-0000-0000-000000000000

$ curl https://api.eu.ovhcloud.com/1.0/domain/data/smd/{smdId} \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "data": "string", "id": "00000000-0000-0000-0000-000000000000", "notAfter": "2024-01-01T12:00:00Z", "notBefore": "2024-01-01T12:00:00Z", "protectedLabels": [ { "label": "string", "trademark": "string" } ], "smdId": "string"}

Order a new domain nameBeta

POST
/1.0/domain/order/create

Query parameters

dryRun
boolean

If true, simulate the order and return the pricing without actually placing it. Default to false.

Request body (required)

contacts
Contacts

Admin, tech and owner contacts

dns
string[]

List of DNS servers (hostnames) to set on the domain. Optional: if omitted, OVHcloud's recommended DNS servers for the domain are used.

domain
required
string

Fully-qualified domain name to order, including the extension (e.g. example.com)

duration
stringduration

Order duration in ISO-8601 format, whole years only (e.g. P1Y). Allowed values depend on the extension's registry configuration; an unsupported duration is rejected. Defaults to P1Y if omitted.

priceAcknowledge
PriceAcknowledge

Price the customer acknowledged before placing the order. Required for aftermarket or premium domains, optional otherwise. Its value/currency must equal the retail price quoted for this domain (e.g. via a dryRun order); a mismatch rejects the order.

promoCodes
string[]

Promotion codes to apply. Optional.

waiveRetractationPeriod
boolean

Acknowledgment that the customer waives the legal retractation period. Must be set to true to place the order.

zone
ZoneOptions

DNS zone options

Response

200OrderResponsesuccessful operation
contacts
read-only
Contacts

Contacts attached to the order

contracts
read-only
Contract[]

Legal contracts (terms, as PDFs) the customer subscribes to with this order

dns
read-only
string[]

DNS servers set on the domain

domain
read-only
string

Ordered domain name

duration
read-only
stringduration

Order duration in ISO-8601 format, whole years only (e.g. P1Y)

orderId
read-only
integer

Identifier of the created order, used with url to finalize and pay it

pricing
read-only
Pricing

Pricing breakdown of the order

url
read-only
string

Payment/finalization URL where the customer completes and pays the order

zone
read-only
ZoneOptions

DNS zone options applied to the order

Reads your token from $OVH_TOKEN

$ curl https://api.eu.ovhcloud.com/1.0/domain/order/create \
  -H "authorization: Bearer $OVH_TOKEN"
ResponseExample
{ "contacts": { "admin": "string", "owner": { "id": 0 }, "tech": "string" }, "contracts": [ { "name": "string", "url": "string" } ], "dns": [ "string" ], "domain": "string", "duration": "string", "orderId": 0, "pricing": { "basePriceWithoutTax": { "currencyCode": "AUD", "text": "string", "value": 0 }, "discount": { "currencyCode": "AUD", "text": "string", "value": 0 }, "finalPriceWithTax": { "currencyCode": "AUD", "text": "string", "value": 0 }, "finalPriceWithoutTax": { "currencyCode": "AUD", "text": "string", "value": 0 }, "tax": { "currencyCode": "AUD", "text": "string", "value": 0 } }, "url": "string", "zone": { "anycast": true, "create": true, "dnssec": true }}