This article describes the WAPI commands for domains registered with WEDOS: registration, renewal, transfer and DNS server settings. WAPI setup, authentication and troubleshooting are covered in WAPI – Manual. The full list of codes is in WAPI – Return Codes.
This article covers the following commands:
- domains-list – list domains in the customer account
- domain-check – check whether a domain is available
- domain-create – register a new domain
- domain-info – information about a domain
- domain-renew – renew a domain
- domain-update-ns – change the domain’s DNS servers or NSSET
- domain-transfer-check – check whether a domain can be transferred to WEDOS
- domain-transfer – transfer a domain from another registrar
- domain-send-auth-info – send the domain AUTH-ID to the owner
- domain-update-keyset – set the domain’s DNSSEC (KEYSET)
- domain-tld-period-check – check whether a period can be used for a TLD
General information
- Identifiers: parameter names and values in JSON (
name,period,rules,expiration…) must be used exactly as shown in this article. - Common codes:
- any command can return 2100 (required parameter missing) and 2101 (invalid parameter value); they are not repeated for each command;
- commands with a domain name can also return 2201 (unsupported or reserved TLD) and 2202 (invalid domain name format).
- Test mode: a request with
"test": 1validates the input parameters and changes nothing. Nothing is ordered and nothing is charged to the credit account. - Query limit: domain-check, domain-create, domain-transfer-check and domain-transfer are subject to the hourly limit of domain availability queries, see WAPI – Manual. When it is exceeded, domain-check returns 2250 and domain-transfer-check returns 2252.
- DNS servers (
dnsin domain-create, domain-update-ns and domain-transfer):- in JSON, number the servers
server1,server2,server3…; keys with the same name would overwrite each other in JSON and only the last server would remain; - in XML, repeat the
<server>element; - each server has
name(required) andaddr_ipv4andaddr_ipv6(optional; IP addresses for glue records when the DNS server is inside the domain itself).
- in JSON, number the servers
- Credit account balance in the response: domain-create, domain-renew and domain-transfer return the
credititem with the credit account balance after the operation (amount,currency).
domains-list
Use domains-list to get a list of the domains in your customer account and their status. The list also includes deleted domains. If a domain has several orders, it appears several times with the corresponding status (for example deleted).
Parameters
- status = filter by domain status (optional). An unknown status returns 2242. The most common statuses:
fee_waiting– waiting for paymentsetup_processing– registration in progressactive– activerenew_processing– renewal in progressexpired– expireddisabled– suspendedcanceled– cancelledtransfer_fee_waiting– waiting for transfer paymenttransfer_processing– transfer from another registrar in progressdeleted– deleted
- search = text to search for in the domain name, case-insensitive (optional)
- page = page number starting from 1 (optional, default 1)
- page_limit = domains per page, at most 1000 (optional). If omitted or 0, all domains are returned.
If you enter search, page or page_limit, the command returns the domains as an array in the domain item and adds total (number of domains after filtering), page and page_limit. A page beyond the end of the list returns an empty array, not an error. An invalid page or page_limit value is replaced with the default. Paging is also described in WAPI – Manual.
Return codes
- 1000 = OK
- 2242 = unknown domain status
- 5001 = internal authentication error
Response data
- domain = list of domains, each with:
- name = domain name
- status = domain status
- expiration = expiration date (YYYY-MM-DD)
- total, page, page_limit = only when search or paging is used
The list is sorted by domain name. Without search and paging, the items may appear in JSON as an object with numeric keys.
Templates
JSON request:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domains-list",
"clTRID": "your request id",
"data": {
"status": "active"
}
}
}
JSON response (OK, without paging):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domains-list",
"data": {
"domain": {
"0": {
"name": "domain1.tld",
"status": "active",
"expiration": "YYYY-MM-DD"
},
"1": {
"name": "domain2.tld",
"status": "active",
"expiration": "YYYY-MM-DD"
}
}
}
}
}
JSON request (search and paging):
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domains-list",
"clTRID": "your request id",
"data": {
"status": "active",
"search": "example",
"page": 1,
"page_limit": 2
}
}
}
JSON response (OK, with paging):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domains-list",
"data": {
"domain": [
{
"name": "example.cz",
"status": "active",
"expiration": "YYYY-MM-DD"
},
{
"name": "example.eu",
"status": "active",
"expiration": "YYYY-MM-DD"
}
],
"total": 5,
"page": 1,
"page_limit": 2
}
}
}
domain-check
Use domain-check to check whether a domain can be registered. You can check several domains in one request.
Some domains cannot be registered even though they do not exist yet. They may be reserved, blocked or restricted in another way. It always depends on the rules of the particular registry.
Parameters
- name = domain name without www (required). Separate several domains with commas.
Return codes
For one domain, the result is the response code itself. For several domains, the response code is always 1000 and the result for each domain is in the data (code, result).
- 1000 = the domain is available for registration
- 2201 = unsupported or reserved TLD
- 2202 = invalid domain name format
- 2250 = hourly limit of domain availability queries exceeded
- 2251 = the check failed, try again later
- 3201 = the domain is already registered
- 3202 = the domain is not available (unknown reason)
- 3203 = the domain is not available
- 3204 = the domain is in quarantine
- 3205 = the domain is reserved
- 3206 = the domain name is blocked
- 3258 = registry outage, try again later
- 3268 = the domain is not available, an auction is in progress
- 3269 = only the auction winner can register the domain
- 3270 = the domain is in the auction phase, registration requires the auction winner’s allocation token
- 4201 = the check failed – connection error, try again later
Response data
- name = domain name
- code = result code for the domain (only for several domains)
- result = code description (only for several domains)
Templates
JSON request:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-check",
"clTRID": "your request id",
"data": {
"name": "domain.tld"
}
}
}
JSON response for one domain (OK):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-check",
"data": {
"name": "domain.tld"
}
}
}
JSON request for several domains:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-check",
"clTRID": "your request id",
"data": {
"name": "registered-domain.tld,free-domain.tld"
}
}
}
JSON response for several domains:
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-check",
"data": [
{
"name": "registered-domain.tld",
"code": 3201,
"result": "Domain is registered"
},
{
"name": "free-domain.tld",
"code": 1000,
"result": "OK"
}
]
}
}
domain-create
Use domain-create to register a new domain. Depending on the TLD, the command is synchronous (1000) or asynchronous (1001, the result arrives in a notification).
For all domains, we and the registry require the domain owner’s consent to the domain name registration rules. Our terms and conditions ⧉ require you to familiarize your customers with our terms and conditions and the terms of the registry. Failure to do so may result in the domain being taken down without compensation in the event of a dispute.
Parameters
- name = domain name including the TLD (required)
- period = number of years (required). Use domain-tld-period-check to check the allowed periods.
- dns or nsset = DNS servers or NSSET (CZ domains only). Exactly one of them is required; both at once return 2101.
- empty
dns("") = the default WEDOS DNS servers are used. You must include the parameter even when it is empty. dnswith a list of servers = your own DNS servers (not for CZ domains), see General information.nsset= NSSET identifier, e.g.WEDOS. It must not be empty.
- empty
- owner_c = owner contact ID (required)
- admin_c = administrative contact ID (optional). If the registry requires it and you omit it,
owner_cis used. - rules = first name (
fname) and last name (lname) of the person who agreed to our terms and conditions and the terms of the registry (typically the domain owner). Most registries require it; without it, the command returns 2245.
Return codes
- 1000 = the domain has been registered
- 1001 = request accepted, the result will arrive in a notification
- 2203 = invalid period
- 2204 = owner_c missing
- 2207 = invalid owner_c format
- 2208 = invalid admin_c format
- 2209 = invalid NSSET format
- 2210 = invalid DNS server format
- 2211 = too many DNS servers
- 2245 = consent to the terms (
rules) missing - 2246 = invalid consent data
- 2250 = hourly limit of domain availability queries exceeded
- 3001 = invalid credit account currency
- 3201 = the domain is already registered
- 3204 = the domain is in quarantine
- 3205 = the domain is reserved
- 3206 = the domain name is blocked
- 3211 = the owner_c contact is not available
- 3212 = the admin_c contact is not available
- 3221 = registration failed
- 3258 = registry outage, try again later
- 3268 = a domain auction is in progress
- 3269 = only the auction winner can register the domain
- 3270 = registration requires the auction winner’s allocation token
- 4002 = the payment could not be charged to the credit account (e.g. insufficient balance)
- 4003 = billing error
- 4207 = registration failed – connection error, try again later
- 5001 = internal authentication error
- 5002 = internal pricing error
- 5004 = billing outage, try again later
Response data
- num = order number
- expiration = domain expiration date (YYYY-MM-DD)
- credit = credit account balance after the registration:
- amount = amount
- currency = currency
Templates
JSON request with the WEDOS NSSET (CZ domain):
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-create",
"clTRID": "your request id",
"data": {
"name": "domain.cz",
"period": 1,
"nsset": "WEDOS",
"owner_c": "owner contact ID",
"admin_c": "admin contact ID",
"rules": {
"fname": "John",
"lname": "Smith"
}
}
}
}
JSON request with your own DNS servers:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-create",
"clTRID": "your request id",
"data": {
"name": "domain.tld",
"period": 1,
"dns": {
"server1": {
"name": "ns1.domain.tld",
"addr_ipv4": "203.0.113.10",
"addr_ipv6": "2001:db8::10"
},
"server2": {
"name": "ns2.dns-provider.tld"
}
},
"owner_c": "owner contact ID",
"rules": {
"fname": "John",
"lname": "Smith"
}
}
}
}
The same DNS servers in XML:
<dns>
<server>
<name>ns1.domain.tld</name>
<addr_ipv4>203.0.113.10</addr_ipv4>
<addr_ipv6>2001:db8::10</addr_ipv6>
</server>
<server>
<name>ns2.dns-provider.tld</name>
</server>
</dns>
JSON request with the default WEDOS DNS servers:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-create",
"clTRID": "your request id",
"data": {
"name": "domain.tld",
"period": 1,
"dns": "",
"owner_c": "owner contact ID",
"rules": {
"fname": "John",
"lname": "Smith"
}
}
}
}
JSON response (OK):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-create",
"data": {
"num": "order number",
"expiration": "YYYY-MM-DD",
"credit": {
"amount": "credit account balance",
"currency": "EUR"
}
}
}
}
domain-info
Use domain-info to get information about a domain. It works only for domains in your customer account. You can get information about several domains in one request.
Parameters
- name = domain name (required). Separate several domains with commas.
Return codes
For one domain, the result is the response code itself, and an error response contains no data. For several domains, the response code is always 1000 and an error for a particular domain is in the data (code, result).
- 1000 = OK
- 3216 = the domain information could not be loaded
- 3222 = the domain could not be loaded
- 3223 = the domain does not belong to your customer account
- 3258 = registry outage, try again later
- 4205 = registry connection error, try again later
Response data
The domain item contains the domain information: an object for one domain, an array for several domains. The available details depend on the registry. The most important items:
- name = domain name
- status = domain status at the registry
- owner_c, admin_c, tech_c = contact IDs
- nsset, keyset = NSSET and KEYSET (CZ domains)
- dns = the domain’s DNS servers:
{"server": [ … ]}, each withnameand possiblyaddr_ipv4andaddr_ipv6 - setup_date = registration date
- expiration = expiration date
- updated_date, transfer_date = date of the last change and of the last transfer
- reg_owner, reg_creator, reg_update = registrar
- items prefixed
own_= domain owner details
Some details may be hidden; they then have the value HIDDEN.
Templates
JSON request:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-info",
"clTRID": "your request id",
"data": {
"name": "domain.tld"
}
}
}
JSON response for one domain (OK):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-info",
"data": {
"domain": {
"name": "domain.tld",
"status": "registry status",
"owner_c": "owner contact ID",
"admin_c": "",
"nsset": "",
"keyset": "",
"dns": {
"server": [
{ "name": "ns1.dns-provider.tld" },
{ "name": "ns2.dns-provider.tld" }
]
},
"reg_owner": "",
"reg_creator": "",
"setup_date": "YYYY-MM-DD",
"expiration": "YYYY-MM-DD",
"reg_update": "",
"updated_date": "",
"transfer_date": "",
"own_company": "",
"own_name": "",
"own_fname": "",
"own_lname": "",
"own_email": "",
"own_email2": "",
"own_phone": "",
"own_fax": "",
"own_ic": "",
"own_dic": "",
"own_taxpayer": "",
"own_addr_street": "",
"own_addr_city": "",
"own_addr_zip": "",
"own_addr_country": "",
"own_addr_state": "",
"own_other": {
"notify_email": "",
"ident_type": "",
"ident": ""
}
}
}
}
}
JSON request for two domains:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-info",
"clTRID": "your request id",
"data": {
"name": "domain1.tld,domain2.tld"
}
}
}
JSON response for two domains (domain1.tld OK, domain2.tld error; the details of the first domain are shortened):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-info",
"data": {
"domain": [
{
"name": "domain1.tld",
"status": "registry status",
"owner_c": "owner contact ID",
"expiration": "YYYY-MM-DD"
},
{
"name": "domain2.tld",
"code": 3222,
"result": "Domain open failed"
}
]
}
}
}
domain-renew
Use domain-renew to renew a domain that does not have an ordered renewal yet.
By default, the system tries to renew domains automatically 30 days before expiration. You can turn this off in the expiration settings in the WEDOS customer administration ⧉.
Parameters
- name = domain name (required)
- period = number of years to renew (required)
Return codes
- 1000 = the domain has been renewed
- 1001 = request accepted, the result will arrive in a notification
- 2152 = renewal of the domain is disabled
- 2203 = invalid period
- 2269 = an unpaid renewal already exists
- 3001 = invalid credit account currency
- 3222 = the domain could not be loaded
- 3223 = the domain does not belong to your customer account
- 3224 = renewal failed
- 3258 = registry outage, try again later
- 3265 = the domain cannot be renewed yet, there are more days until expiration than the registry allows
- 4002 = the payment could not be charged to the credit account
- 4003 = billing error
- 4208 = renewal failed – connection error, try again later
- 5002 = internal pricing error
- 5004 = billing outage, try again later
Response data
- num = order number
- expiration = new expiration date (YYYY-MM-DD)
- credit = credit account balance after the renewal (
amount,currency)
Templates
JSON request:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-renew",
"clTRID": "your request id",
"data": {
"name": "domain.tld",
"period": 1
}
}
}
JSON response (OK):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-renew",
"data": {
"num": "order number",
"expiration": "YYYY-MM-DD",
"credit": {
"amount": "credit account balance",
"currency": "EUR"
}
}
}
}
domain-update-ns
Use domain-update-ns to change the domain’s DNS servers or NSSET.
Parameters
- name = domain name (required)
- dns or nsset = new DNS servers or NSSET (CZ domains only). Exactly one of them is required; both at once return 2101.
- empty
dns("") = the default WEDOS DNS servers. You must include the parameter even when it is empty. dnswith a list of servers = your own DNS servers (not for CZ domains), see General information.nsset= NSSET identifier, e.g.WEDOS. It must not be empty.
- empty
Return codes
- 1000 = the DNS servers have been set
- 1001 = request accepted, the result will arrive in a notification
- 2209 = invalid NSSET format
- 2210 = invalid DNS server format
- 2211 = too many DNS servers
- 3214 = the NSSET is not available
- 3222 = the domain could not be loaded
- 3223 = the domain does not belong to your customer account
- 3225 = changing the DNS servers failed
- 3258 = registry outage, try again later
- 3315 = the domain already has the same DNS servers
- 4003 = billing error
- 4204 = the NSSET is not available – connection error, try again later
- 4210 = changing the DNS servers failed – connection error, try again later
- 5002 = internal pricing error
- 5004 = billing outage, try again later
Response data
The command returns no data.
Templates
JSON request:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-update-ns",
"clTRID": "your request id",
"data": {
"name": "domain.tld",
"dns": {
"server1": {
"name": "ns1.dns-provider.tld"
},
"server2": {
"name": "ns2.dns-provider.tld"
}
}
}
}
}
JSON response (OK):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-update-ns"
}
}
domain-transfer-check
Use domain-transfer-check to check whether a domain can be transferred from another registrar to WEDOS.
Parameters
- name = domain name without www (required)
Return codes
- 1000 = the transfer is possible
- 2251 = the check failed, try again later
- 2252 = hourly limit of transfer queries exceeded
- 3206 = the domain name is blocked
- 3207 = the domain is already registered with WEDOS
- 3208 = the transfer is not possible, the expiration is too close
- 3258 = registry outage, try again later
- 3266 = the transfer is not possible, the domain has expired
- 4206 = the check failed – registry connection error, try again later
Depending on the registry, another code from the 32xx range may be returned with the reason why the domain cannot be transferred (e.g. 3204 = the domain is in quarantine).
Response data
The command returns no data.
Templates
JSON request:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-transfer-check",
"clTRID": "your request id",
"data": {
"name": "domain.tld"
}
}
}
JSON response (OK):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-transfer-check"
}
}
domain-transfer
Use domain-transfer to transfer a domain from another registrar to WEDOS.
For CZ and EU domains, the command is synchronous: with a correct AUTH-ID, the transfer is carried out immediately and the response contains the result. For other domains, it is asynchronous (1001) and the result arrives in a notification.
For all domains, we and the registry require the domain owner’s consent to the domain name registration rules. Our terms and conditions ⧉ require you to familiarize your customers with our terms and conditions and the terms of the registry. Failure to do so may result in the domain being taken down without compensation in the event of a dispute.
Parameters
- name = domain name without www (required)
- auth_info = domain AUTH-ID. Most registries require it; without it, the command returns 2215.
- rules = first name (
fname) and last name (lname) of the person who agreed to our terms and conditions and the terms of the registry (typically the domain owner). Most registries require it; without it, the command returns 2245. - owner_c = domain owner contact ID. Required only for some registries (SK, EU, gTLD). The contact must be registered with WEDOS.
- dns = the domain’s DNS servers (optional; only for registries that support it, e.g. EU and gTLD):
- parameter omitted = the domain keeps its current DNS servers. During the transfer they are checked to resolve; if they do not, the transfer may fail with 3267 (gTLD).
- empty
dns("") = the system sets the default WEDOS DNS servers. dnswith a list of servers = the system sets these servers. In JSON,dnsmay contain only the keysserver1,server2…; otherwise the command returns 2210.
Return codes
- 1000 = the domain has been transferred
- 1001 = request accepted, the result will arrive in a notification
- 2204 = owner_c missing
- 2207 = invalid owner_c or the contact is not registered with WEDOS
- 2210 = invalid DNS server format
- 2215 = AUTH-ID missing and the registry requires it
- 2245 = consent to the terms (
rules) missing - 2246 = invalid consent data
- 2251 = the check failed, try again later
- 2252 = hourly limit of transfer queries exceeded
- 2263 = the AUTH-ID is shorter than the registry requires
- 2271 = invalid AUTH-ID format
- 3001 = invalid credit account currency
- 3003 = credit account billing details missing
- 3206 = the domain name is blocked
- 3207 = the domain is already registered with WEDOS
- 3208 = the transfer is not possible, the expiration is too close
- 3219 = another transfer request for the domain is already pending
- 3220 = the domain is already in our system
- 3226 = the transfer failed
- 3227 = authorization error at the registry (e.g. invalid AUTH-ID)
- 3258 = registry outage, try again later
- 3266 = the transfer is not possible, the domain has expired
- 3267 = the domain’s authoritative DNS servers could not be resolved
- 4002 = the payment could not be charged to the credit account
- 4003 = billing error
- 4206 = the transfer check failed – connection error, try again later
- 4209 = the transfer failed – connection error, try again later
- 5001 = internal authentication error
- 5002 = internal pricing error
- 5004 = billing outage, try again later
Response data
- num = order number
- expiration = domain expiration date (YYYY-MM-DD)
- credit = credit account balance after the transfer (
amount,currency)
Templates
JSON request:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-transfer",
"clTRID": "your request id",
"data": {
"name": "domain.tld",
"auth_info": "AUTH-ID",
"dns": {
"server1": {
"name": "ns1.dns-provider.tld"
},
"server2": {
"name": "ns2.dns-provider.tld"
}
},
"rules": {
"fname": "John",
"lname": "Smith"
}
}
}
}
JSON response (OK):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-transfer",
"data": {
"num": "order number",
"expiration": "YYYY-MM-DD",
"credit": {
"amount": "credit account balance",
"currency": "EUR"
}
}
}
}
domain-send-auth-info
Use domain-send-auth-info to send the domain AUTH-ID to the domain owner’s email.
Parameters
- name = domain name (required)
Return codes
- 1000 = the AUTH-ID has been sent to the domain owner’s email
- 2243 = sending the AUTH-ID is not allowed for this domain
- 3209 = sending the AUTH-ID failed
- 3210 = sending the AUTH-ID failed – the domain is not available
- 3222 = the domain could not be loaded
- 3223 = the domain does not belong to your customer account
- 3258 = registry outage, try again later
- 4214 = sending the AUTH-ID failed – connection error, try again later
Response data
The command returns no data.
Templates
JSON request:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-send-auth-info",
"clTRID": "your request id",
"data": {
"name": "domain.tld"
}
}
}
JSON response (OK):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-send-auth-info"
}
}
domain-update-keyset
Use domain-update-keyset to change the domain’s KEYSET, i.e. to turn DNSSEC on, off or change its settings.
Parameters
- name = domain name (required)
- keyset = KEYSET setting (required):
0(or an empty value) = no KEYSET, turn DNSSEC off1= our KEYSET and WEDOS DNSSEC; only if the domain uses our DNS servers and is primary with us- KEYSET name = your own KEYSET; only if the domain does not use our DNS servers or is secondary with us
Return codes
- 1000 = OK
- 1001 = request accepted, the result will arrive in a notification
- 2264 = invalid KEYSET name
- 2265 = the domain does not support DNSSEC
- 2266 = the action is not supported for a secondary domain
- 2267 = the action is not supported for a primary domain
- 2322 = maximum number of domains in WEDOS DNS exceeded
- 3222 = the domain could not be loaded
- 3223 = the domain does not belong to your customer account
- 3258 = registry outage, try again later
- 3259 = the KEYSET is not available
- 3260 = a DNSSEC change is already in progress
- 3261 = the default KEYSET does not exist
- 3262 = setting DNSSEC failed
- 3263 = the domain does not use our DNS servers
- 3264 = the KEYSET is blocked
- 3302 = the domain could not be added to WEDOS DNS
- 4003 = billing error
- 4223 = the KEYSET is not available – connection error, try again later
- 4224 = setting DNSSEC failed – connection error, try again later
- 5002 = internal pricing error
- 5004 = billing outage, try again later
Response data
The command returns no data.
Templates
JSON request:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-update-keyset",
"clTRID": "your request id",
"data": {
"name": "domain.tld",
"keyset": "0, 1 or KEYSET name"
}
}
}
JSON response (OK):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-update-keyset"
}
}
domain-tld-period-check
Use domain-tld-period-check to find out whether a particular registration period can be used for a TLD.
Parameters
- tld = TLD without the dot, e.g.
cz(required) - period = number of years (required)
Return codes
- 1000 = the period can be used for this TLD
- 2201 = unsupported or reserved TLD
- 2203 = the period cannot be used for this TLD
Response data
The command returns no data.
Templates
JSON request:
{
"request": {
"user": "your@login.tld",
"auth": "generated auth string",
"command": "domain-tld-period-check",
"clTRID": "your request id",
"data": {
"tld": "cz",
"period": 2
}
}
}
JSON response (OK):
{
"response": {
"code": 1000,
"result": "OK",
"timestamp": "UNIX time",
"clTRID": "your request id",
"svTRID": "server request id",
"command": "domain-tld-period-check"
}
}