Skip to main content

domains

Creates, updates, deletes, gets or lists a domains resource.

Overview

Namedomains
TypeResource
Idgodaddy.domains.domains

Fields

The following fields are returned by SELECT queries:

Request was successful

NameDatatypeDescription
authCodestringAuthorization code for transferring the Domain
contactAdminobjectAdministrative contact for the domain registration
contactBillingobjectBilling contact for the domain registration
contactRegistrantobjectRegistration contact for the domain
contactTechobjectTechnical contact for the domain registration
createdAtstring (date-time)Date and time when this domain was created
deletedAtstring (date-time)Date and time when this domain was deleted
domainstringName of the domain
domainIdnumber (double)Unique identifier for this Domain
expirationProtectedbooleanWhether or not the domain is protected from expiration
expiresstring (date-time)Date and time when this domain will expire
holdRegistrarbooleanWhether or not the domain is on-hold by the registrar
lockedbooleanWhether or not the domain is locked to prevent transfers
nameServersarrayFully-qualified domain names for DNS servers
privacybooleanWhether or not the domain has privacy protection
renewAutobooleanWhether or not the domain is configured to automatically renew
renewDeadlinestring (date-time)Date the domain must renew on
statusstringProcessing status of the domain ACTIVE - All is well AWAITING* - System is waiting for the end-user to complete an action CANCELLED* - Domain has been cancelled, and may or may not be reclaimable CONFISCATED - Domain has been confiscated, usually for abuse, chargeback, or fraud DISABLED* - Domain has been disabled EXCLUDED* - Domain has been excluded from Firehose registration EXPIRED* - Domain has expired FAILED* - Domain has failed a required action, and the system is no longer retrying HELD* - Domain has been placed on hold, and likely requires intervention from Support LOCKED* - Domain has been locked, and likely requires intervention from Support PARKED* - Domain has been parked, and likely requires intervention from Support PENDING* - Domain is working its way through an automated workflow RESERVED* - Domain is reserved, and likely requires intervention from Support REVERTED - Domain has been reverted, and likely requires intervention from Support SUSPENDED* - Domain has been suspended, and likely requires intervention from Support TRANSFERRED* - Domain has been transferred out UNKNOWN - Domain is in an unknown state UNLOCKED* - Domain has been unlocked, and likely requires intervention from Support UNPARKED* - Domain has been unparked, and likely requires intervention from Support UPDATED* - Domain ownership has been transferred to another account
subaccountIdstringReseller subaccount shopperid who can manage the domain
transferProtectedbooleanWhether or not the domain is protected from transfer
verificationsobjectProgress and status for each of the verification processes requested for this domain

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomainX-Shopper-IdRetrieve details for the specified Domain
listselectX-Shopper-Id, statuses, statusGroups, limit, marker, includes, modifiedDateRetrieve a list of Domains for the specified Shopper
contacts_validateexecdomainsX-Private-Label-Id, marketIdAll contacts specified in request will be validated against all domains specifed in "domains". As an alternative, you can also pass in tlds, with the exception of uk, which requires full domain names
purchaseexecdomain, consentX-Shopper-IdPurchase and register the specified Domain
validateexecdomain, consentValidate the request body using the Domain Purchase Schema for the specified TLD
cancelexecdomainCancel a purchased domain
updateexecdomainX-Shopper-IdUpdate details for the specified Domain
update_contactsexecdomain, contactRegistrantX-Shopper-IdUpdate domain
cancel_privacyexecdomainX-Shopper-IdSubmit a privacy cancellation request for the given domain
purchase_privacyexecdomain, consentX-Shopper-IdPurchase privacy for a specified domain
renewexecdomainX-Shopper-IdRenew the specified Domain
transfer_inexecdomain, authCode, consentX-Shopper-IdPurchase and start or restart transfer process
verify_emailexecdomainX-Shopper-IdRe-send Contact E-mail Verification for specified Domain

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
domainstringDomain whose Contact E-mail should be verified.
X-Private-Label-IdintegerPrivateLabelId to operate as, if different from JWT
X-Shopper-IdstringShopper for whom domain contact e-mail should be verified. NOTE: This is only required if you are a Reseller managing a domain purchased outside the scope of your reseller account. For instance, if you're a Reseller, but purchased a Domain via http://www.godaddy.com
includesarrayOptional details to be included in the response
limitintegerMaximum number of domains to return
markerstringMarker Domain to use as the offset in results
marketIdstring (bcp-47)MarketId in which the request is being made, and for which responses should be localized
modifiedDatestring (iso-datetime)Only include results that have been modified since the specified date
statusGroupsarrayOnly include results with status value in any of the specified groups
statusesarrayOnly include results with status value in the specified set

SELECT examples

Retrieve details for the specified Domain

SELECT
authCode,
contactAdmin,
contactBilling,
contactRegistrant,
contactTech,
createdAt,
deletedAt,
domain,
domainId,
expirationProtected,
expires,
holdRegistrar,
locked,
nameServers,
privacy,
renewAuto,
renewDeadline,
status,
subaccountId,
transferProtected,
verifications
FROM godaddy.domains.domains
WHERE domain = '{{ domain }}' -- required
AND X-Shopper-Id = '{{ X-Shopper-Id }}'
;

Lifecycle Methods

All contacts specified in request will be validated against all domains specifed in "domains". As an alternative, you can also pass in tlds, with the exception of uk, which requires full domain names

EXEC godaddy.domains.domains.contacts_validate 
@X-Private-Label-Id='{{ X-Private-Label-Id }}',
@marketId='{{ marketId }}'
@@json=
'{
"contactAdmin": "{{ contactAdmin }}",
"contactBilling": "{{ contactBilling }}",
"contactPresence": "{{ contactPresence }}",
"contactRegistrant": "{{ contactRegistrant }}",
"contactTech": "{{ contactTech }}",
"domains": "{{ domains }}",
"entityType": "{{ entityType }}"
}'
;