Download OpenAPI specification:
The following section will walk you through the steps and endpoints necessary to get started with basic domain name management functions via the Brandsight Domain API. A full list of available endpoints is available in the Domain Endpoints section.
To request your Brandsight account API Key and Secret:
To check the availability and price for specific domain names:
Check if a domain name is available using the single domain availability endpoint.
Note: SPEED checks do not connect to registry and are local checks to determine the outcome of the availability calls whereas ACCURACY checks connects to the registry, are more reliable and are recommended.
Check if a list of domain names is available using the bulk domains availability endpoint.
To register an available domain name:
Different TLDs require different payloads to be able to register a schema. Retrieve the Registration Schema for a specific TLD using the register schema endpoint and passing the tld
. For example, send com
to get the schema required for a .com registration.
Validate the registration payload using the validation endpoint.
Once the payload is validated, request to register the domain name using the register endpoint.
Check status of the registration request using the actions endpoint and passing the type
value as REGISTER
.
To renew a managed domain name for a specified period:
Retrieve the price for your specified registration term using the single domain availability endpoint and passing the type
to RENEWAL
and specifying the period
in years.
Include the exact amounts retrieved previously to renew an active domain name using renew endpoint.
Check status of the renewal request using the actions endpoint and passing the type
value as RENEW
.
To raise a transfer in request for a specific domain name:
Determine transfer in availability of a domain name with AuthCode using the transferAvailable endpoint.
Purchase and start or restart transfer in request for a domain name using the transfer endpoint.
Cancel a transfer in request for a domain name using the TransferInCancel endpoint.
To retrieve the list of managed domain names in your account with/without the given filters:
Retrieve a list all the domain names in the account using the get domain endpoint. There are multiple filters that can be applied to filter the list. This endpoint will return a maximum of 500 domain names at a time.
Retrieve additional details about a domain name using the get domain details endpoint such as DNSSEC
, contacts
and authcode
.
To regenerate an AuthCode for a specific managed domain name:
Regenerate an AuthCode for a domain name using the regenerate endpoint.
Check status of the AuthCode update request using the actions endpoint and passing the type
value as AUTH_CODE_REGENERATE
.
To check for trademark claim on a specific domain name:
To retrieve a list of legal agreements for a specific TLD:
To update the registrar lock or auto-renew status of a specific managed domain name:
Update the locked status or auto-renew status of a domain name using the update domain endpoint.
Check status of the update request using the actions endpoint and passing the type
value as DOMAIN_UPDATE
.
Cancel a specific action for a domain using the actions cancel endpoint.
To update the nameservers of a specific managed domain name:
type
value as DOMAIN_UPDATE_NAME_SERVERS
.It is only possible to toggle between "Brandsight Privacy"(Enable Privacy) and "GDPR"(Disable Privacy). For setting it to "Full Whois" option, please use the UI. To enable Brandsight Privacy Service for a specific managed domain name
Enable privacy service for a domain name using the privacy on endpoint and passing the agreement keys that can be discovered using the agreements endpoint.
Check status of the privacy service update request using the actions endpoint and passing the type
value as PRIVACY_PURCHASE
.
To disable Brandsight Privacy Service for a specific managed domain name:
Remove privacy service for a domain name using the privacy off endpoint.
Check status of the privacy service update request using the actions endpoint and passing the type
value as PRIVACY_DELETE
.
To update the contact details of a specific managed domain name:
Retrieve the TLD specific schema to be submitted when creating a contact using the contact schema endpoint.
Update the contact info of a managed domain name using the update contact endpoint.
Check status of the contact update request using the actions endpoint and passing the type
value as CONTACT_UPDATE
.
To create or update a DNSSEC record of a specific managed domain name:
Create or update the DNSSEC records of a domain name using the update dnssec endpoint.
Check status of the DNSSEC create or update request using the actions endpoint and passing the type
value as DNSSEC_CREATE
.
To delete a DNSSEC record of a specific managed domain name:
Delete the DNSSEC records of a domain name using the delete dnssec endpoint.
Check status of the DNSSEC delete request using the actions endpoint and passing the type
value as DNSSEC_DELETE
.
customerId required | string The Brandsight customer identifier |
statuses | Array of strings Items Enum: "ACTIVE" "CANCELLED" "DELETED_REDEEMABLE" "EXPIRED" "FAILED" "LOCKED_REGISTRAR" "PARKED" "HELD_REGISTRAR" "OWNERSHIP_CHANGED" "PENDING_TRANSFER" "PENDING_REGISTRATION" "REPOSSESSED" "SUSPENDED" "TRANSFERRED" Only include results with
|
statusGroups | Array of strings Items Enum: "PENDING" "REGISTERED" "PENDING_TERMINAL" "TERMINAL" Only include results with
|
modifiedAtAfter | string <iso-datetime> Only include domains with |
expiresAtBefore | string <iso-datetime> Only include domains with |
limit | integer [ 1 .. 500 ] Maximum number of domains to return |
marker | string <domain> Marker Domain to use as the offset in results |
includes | Array of strings Items Value: "actions" Optional details to be included in the response |
curl --request GET \ --url 'https://api.godaddy.com/v2/customers/<CUSTOMER_ID>/domains?limit=10&marker=abc.com' \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
[- {
- "createdAt": "string",
- "deletedAt": "string",
- "domain": "string",
- "domainId": "string",
- "expirationProtected": true,
- "expiresAt": "string",
- "holdClient": true,
- "holdRegistrar": true,
- "locked": true,
- "modifiedAt": "string",
- "nameServers": [
- "string"
], - "privacy": true,
- "renewAuto": true,
- "renewDeadline": "string",
- "renewal": {
- "currency": "USD",
- "price": 0,
- "renewable": true
}, - "status": "ACTIVE",
- "transferAwayEligibleAt": "string",
- "transferProtected": true
}
]
customerId required | string The Brandsight Customer identifier |
domain required | string <domain> Domain name whose details are to be retrieved |
includes | Array of strings Items Enum: "authCode" "contacts" "dnssecRecords" "registryStatusCodes" "verifications" Optional details to be included in the response |
curl --request GET \ --url https://api.godaddy.com/v2/customers/<CUSTOMER_ID>/domains/thujun9.com \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
{- "authCode": "string",
- "contacts": {
- "admin": {
- "_createdAt": "string",
- "_deleted": true,
- "_modifiedAt": "string",
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "contactId": "string",
- "email": "user@example.com",
- "encoding": "ASCII",
- "exposeWhois": true,
- "fax": "string",
- "jobTitle": "string",
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "billing": {
- "_createdAt": "string",
- "_deleted": true,
- "_modifiedAt": "string",
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "contactId": "string",
- "email": "user@example.com",
- "encoding": "ASCII",
- "exposeWhois": true,
- "fax": "string",
- "jobTitle": "string",
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "registrant": {
- "_createdAt": "string",
- "_deleted": true,
- "_modifiedAt": "string",
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "contactId": "string",
- "email": "user@example.com",
- "encoding": "ASCII",
- "exposeWhois": true,
- "fax": "string",
- "jobTitle": "string",
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "tech": {
- "_createdAt": "string",
- "_deleted": true,
- "_modifiedAt": "string",
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "contactId": "string",
- "email": "user@example.com",
- "encoding": "ASCII",
- "exposeWhois": true,
- "fax": "string",
- "jobTitle": "string",
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}
}, - "createdAt": "string",
- "deletedAt": "string",
- "dnssecRecords": [
- {
- "algorithm": "RSASHA1",
- "digest": "string",
- "digestType": "SHA1",
- "flags": "ZSK",
- "keyTag": 65536,
- "publicKey": "string"
}
], - "domain": "string",
- "domainId": "string",
- "expirationProtected": true,
- "expiresAt": "string",
- "holdClient": true,
- "holdRegistrar": true,
- "hostnames": [
- "string"
], - "locked": true,
- "modifiedAt": "string",
- "nameServers": [
- "string"
], - "privacy": true,
- "registryStatusCodes": [
- "ADD_PERIOD"
], - "renewAuto": true,
- "renewDeadline": "string",
- "renewal": {
- "currency": "USD",
- "price": 0,
- "renewable": true
}, - "status": "ACTIVE",
- "transferAwayEligibleAt": "string",
- "transferProtected": true,
- "verifications": {
- "icann": "COMPLETED"
}
}
customerId required | string The Customer identifier |
domain required | string Domain name whose details are to be updated |
X-Request-Id | string A client provided identifier for tracking this request. |
Changes to apply to existing Domain name
locked | boolean Whether or not the domain name should be locked to prevent transfers |
renewAuto | boolean Whether or not the domain name should be configured to automatically renew |
{- "locked": true,
- "renewAuto": true
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
domain required | string Domain name whose availability is to be checked |
period | integer <integer-positive> [ 1 .. 10 ] ^[0-9]+$ Default: 1 The number of years to include in the price |
type | string Default: "REGISTRATION" Enum: "REGISTRATION" "RENEWAL" "TRANSFER" Check availability for registration, renewal or transfer |
optimizeFor | string Default: "SPEED" Enum: "SPEED" "ACCURACY" Optimize for time ('SPEED') or accuracy ('ACCURACY'). 'ACCURACY' is recommended |
curl --request GET \ --url 'https://api.godaddy.com/v2/domains/available?domain=thujun10.com&period=1&type=REGISTRATION&optimizeFor=ACCURACY' \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
{- "available": true,
- "currency": "USD",
- "definitive": true,
- "domain": "string",
- "period": 0,
- "price": 0,
- "reason": "INVALID_AUTH_CODE",
- "registryPremiumPricing": true,
- "rightsDomain": "string"
}
optimizeFor | string Default: "SPEED" Enum: "SPEED" "ACCURACY" Optimize for time ('SPEED') or accuracy ('ACCURACY'). 'ACCURACY' is recommended. |
Domain names for which to check availability
[- "string"
]
{- "domains": [
- {
- "available": true,
- "currency": "USD",
- "definitive": true,
- "domain": "string",
- "period": 0,
- "price": 0,
- "reason": "INVALID_AUTH_CODE",
- "registryPremiumPricing": true,
- "rightsDomain": "string"
}
]
}
customerId required | string The Brandsight Customer identifier |
tld required | string The Top-Level Domain whose schema should be retrieved |
curl --request GET \ --url https://api.godaddy.com/v2/customers/<CUSTOMER_ID>/domains/register/schema/com \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
{- "id": "string",
- "models": { },
- "properties": { },
- "required": [
- "string"
]
}
customerId required | string The Customer identifier |
An instance document expected to match the JSON schema returned by ./schema/{tld}
required | object (ConsentV2) |
object (DomainContactsCreateV2) | |
domain required | string <domain> ^[^.]{1,63}.[^.]{2,}$ For internationalized domain names with non-ascii characters, the domain name is converted to punycode before format and pattern validation rules are checked |
metadata | object The domain eligibility data fields as specified by GET /v2/customers/{customerId}/domains/register/schema/{tld} |
nameServers | Array of strings <host-name> <= 2 items [ items <host-name > ] |
period | integer <integer-positive> [ 1 .. 10 ] ^[0-9]+$ Default: 1 |
privacy | boolean Default: false |
renewAuto | boolean Default: true |
{- "consent": {
- "agreedAt": "string",
- "agreedBy": "string",
- "agreementKeys": [
- "string"
], - "claimToken": "string",
- "currency": "USD",
- "price": 0,
- "registryPremiumPricing": true
}, - "contacts": {
- "admin": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "billing": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "registrant": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "tech": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}
}, - "domain": "string",
- "metadata": { },
- "nameServers": [
- "string"
], - "period": 1,
- "privacy": false,
- "renewAuto": true
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
customerId required | string The Customer identifier |
X-Request-Id | string A client provided identifier for tracking this request. |
An instance document expected to match the JSON schema returned by ./schema/{tld}
required | object (ConsentV2) |
object (DomainContactsCreateV2) | |
domain required | string <domain> ^[^.]{1,63}.[^.]{2,}$ For internationalized domain names with non-ascii characters, the domain name is converted to punycode before format and pattern validation rules are checked |
metadata | object The domain eligibility data fields as specified by GET /v2/customers/{customerId}/domains/register/schema/{tld} |
nameServers | Array of strings <host-name> <= 2 items [ items <host-name > ] |
period | integer <integer-positive> [ 1 .. 10 ] ^[0-9]+$ Default: 1 |
privacy | boolean Default: false |
renewAuto | boolean Default: true |
{- "consent": {
- "agreedAt": "string",
- "agreedBy": "string",
- "agreementKeys": [
- "string"
], - "claimToken": "string",
- "currency": "USD",
- "price": 0,
- "registryPremiumPricing": true
}, - "contacts": {
- "admin": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "billing": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "registrant": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "tech": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}
}, - "domain": "string",
- "metadata": { },
- "nameServers": [
- "string"
], - "period": 1,
- "privacy": false,
- "renewAuto": true
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
tlds | Array of strings List of TLDs whose legal agreements are to be retrieved |
privacy | boolean Whether privacy has been requested |
forTransfer | boolean Whether or not domain transfer has been requested |
curl --request GET \ --url 'https://api.godaddy.com/v2/customers/<CUSTOMER_ID>/domains/agreements?privacy=false&tlds=com' \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
[- {
- "agreementKey": "string",
- "content": "string",
- "title": "string",
- "url": "string"
}
]
domain required | string Domain name to check for trademark claim |
curl --request GET \ --url 'https://api.godaddy.com/v2/domains/claim?domain=thujun9.com' \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
{- "claimToken": "string",
- "claimed": false,
- "url": "string"
}
customerId required | string The Customer identifier |
domain required | string Domain name to be renewed |
X-Request-Id | string A client provided identifier for tracking this request. |
Options for renewing existing domain name
required | object (ConsentRenew) |
expires required | string <iso-datetime> Current date when this domain name will expire |
period | integer <integer-positive> [ 1 .. 10 ] ^[0-9]+$ Number of years to extend the Domain name registration term. Must not exceed maximum for TLD. When omitted, defaults to |
{- "consent": {
- "agreedAt": "string",
- "agreedBy": "string",
- "currency": "USD",
- "price": 0,
- "registryPremiumPricing": true
}, - "expires": "string",
- "period": 1
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
customerId required | string The Customer identifier |
domain required | string Domain name for which to add privacy |
X-Request-Id | string A client provided identifier for tracking this request. |
Options for purchasing privacy
required | object (Consent) |
{- "consent": {
- "agreedAt": "string",
- "agreedBy": "string",
- "agreementKeys": [
- "string"
], - "claimToken": "string"
}
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
customerId required | string The Customer identifier |
domain required | string Domain name whose privacy is to be cancelled |
X-Request-Id | string A client provided identifier for tracking this request. |
curl --request DELETE \ --url https://api.godaddy.com/v2/customers/<CUSTOMER_ID>/domains/thujun9.com/privacy \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
Variations across TLDs will be restrictions on the fields, not adding/removing fields.
customerId required | string The Customer identifier |
tld required | string The Top-Level Domain whose schema should be retrieved |
curl --request GET \ --url https://api.godaddy.com/v2/customers/<CUSTOMER_ID>/domains/contacts/schema/com \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
{- "contacts": {
- "admin": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "billing": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "registrant": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "tech": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}
}, - "identityDocumentId": "string"
}
customerId required | string The Customer identifier |
domain required | string Domain whose Contacts are to be updated. |
X-Request-Id | string A client provided identifier for tracking this request. |
Changes to apply to existing Contacts
object (DomainContactsCreateV2) | |
identityDocumentId | string Unique identifier of the document, which the user wishes to associate with the domain name, whose registrant contact is being updated. This is required only if user is trying to update registrant contact and the owning registry has a requirement for an approved identity document. |
{- "contacts": {
- "admin": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "billing": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "registrant": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "tech": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}
}, - "identityDocumentId": "string"
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
customerId required | string The Customer identifier |
domain required | string Domain name whose name servers are to be replaced |
X-Request-Id | string A client provided identifier for tracking this request. |
Nameserver records to replace on the domain name
nameServers | Array of strings Fully qualified domain names of name servers to associate with the domain name |
{- "nameServers": [
- "string"
]
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
customerId required | string The Customer identifier |
domain required | string Domain which owns the host |
hostname required | string Hostname to retrieve |
curl --request GET \ --url https://api.godaddy.com/v2/customers/<CUSTOMER_ID>/domains/example.com/hosts/ns1.example.com \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
{- "hostname": "string",
- "ipAddresses": [
- "string"
], - "status": "ACTIVE"
}
customerId required | string The Customer identifier |
domain required | string Domain which owns the host |
hostname required | string Hostname to delete |
deleteLinked | boolean Default: false Whether or not the host should be deleted if it is linked. |
curl --request DELETE \ --url https://api.godaddy.com/v2/customers/<CUSTOMER_ID>/domains/example.com/hosts/ns1.example.com \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
customerId required | string The Customer identifier |
domain required | string Domain name to which to add the DNSSEC record |
X-Request-Id | string A client provided identifier for tracking this request. |
DNSSEC records to add
algorithm required | string Enum: "RSASHA1" "RSASHA1_NSEC3_SHA1" "RSASHA256" "RSASHA512" "ECDSAP256SHA256" "ECDSAP384SHA384" "ED25519" "ED448" "PRIVATEDNS" "PRIVATEOID" This identifies the cryptographic algorithm used to generate the signature
|
digest | string The digest is an alpha-numeric value |
digestType | string Enum: "SHA1" "SHA256" "SHA384" This identifies the algorithm used to construct the digest
|
flags | string Enum: "ZSK" "KSK" This identifies the key type; either a Zone-Signing Key or a Key-Signing Key
|
keyTag | integer <integer-positive> <= 65536 This is an integer value less than 65536 used to identify the DNSSEC record for the domain name. |
publicKey | string Registries use this value to encrypt DS records. Decryption requires a matching public key |
[- {
- "algorithm": "RSASHA1",
- "digest": "string",
- "digestType": "SHA1",
- "flags": "ZSK",
- "keyTag": 65536,
- "publicKey": "string"
}
]
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
customerId required | string The Customer identifier |
domain required | string Domain name to delete the DNSSEC record for |
X-Request-Id | string A client provided identifier for tracking this request. |
DNSSEC records to remove
algorithm required | string Enum: "RSASHA1" "RSASHA1_NSEC3_SHA1" "RSASHA256" "RSASHA512" "ECDSAP256SHA256" "ECDSAP384SHA384" "ED25519" "ED448" "PRIVATEDNS" "PRIVATEOID" This identifies the cryptographic algorithm used to generate the signature
|
digest | string The digest is an alpha-numeric value |
digestType | string Enum: "SHA1" "SHA256" "SHA384" This identifies the algorithm used to construct the digest
|
flags | string Enum: "ZSK" "KSK" This identifies the key type; either a Zone-Signing Key or a Key-Signing Key
|
keyTag | integer <integer-positive> <= 65536 This is an integer value less than 65536 used to identify the DNSSEC record for the domain name. |
publicKey | string Registries use this value to encrypt DS records. Decryption requires a matching public key |
[- {
- "algorithm": "RSASHA1",
- "digest": "string",
- "digestType": "SHA1",
- "flags": "ZSK",
- "keyTag": 65536,
- "publicKey": "string"
}
]
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
customerId required | string The Customer identifier |
domain required | string Domain name whose actions are to be retrieved |
curl --request GET \ --url https://api.godaddy.com/v2/customers/<CUSTOMER_ID>/domains/thujun23.com/actions \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
[- {
- "completedAt": "string",
- "createdAt": "string",
- "modifiedAt": "string",
- "origination": "USER",
- "reason": {
- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}, - "requestId": "string",
- "startedAt": "string",
- "status": "ACCEPTED",
- "type": "AUTH_CODE_PURCHASE"
}
]
customerId required | string The Customer identifier |
domain required | string Domain name whose action is to be retrieved |
type required | string Enum: "AUTH_CODE_PURCHASE" "AUTH_CODE_REGENERATE" "AUTO_RENEWAL" "DNS_VERIFICATION" "DNSSEC_CREATE" "DNSSEC_DELETE" "DOMAIN_DELETE" "DOMAIN_UPDATE" "DOMAIN_UPDATE_CONTACTS" "DOMAIN_UPDATE_DATA_QUALITY" "DOMAIN_UPDATE_NAME_SERVERS" "DOMAIN_UPDATE_REGISTRY_STATUS" "EXPIRY" "ICANN_VERIFICATION" "MIGRATE" "MIGRATE_IN" "PREMIUM" "PRIVACY_PURCHASE" "PRIVACY_DELETE" "REDEEM" "REGISTER" "RENEW" "RENEW_UNDO" "TRADE" "TRADE_CANCEL" "TRADE_PURCHASE" "TRADE_PURCHASE_AUTH_TEXT_MESSAGE" "TRADE_RESEND_AUTH_EMAIL" "TRANSFER" "TRANSFER_IN" "TRANSFER_IN_CANCEL" "TRANSFER_OUT" "TRANSFER_OUT_ACCEPT" "TRANSFER_OUT_REJECT" "TRANSFER_OUT_REQUESTED" "TRANSIT" The action type to retrieve |
curl --request GET \ --url https://api.godaddy.com/v2/customers/<CUSTOMER_ID>/domains/thujun23.com/actions/REGISTER \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
{- "completedAt": "string",
- "createdAt": "string",
- "modifiedAt": "string",
- "origination": "USER",
- "reason": {
- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}, - "requestId": "string",
- "startedAt": "string",
- "status": "ACCEPTED",
- "type": "AUTH_CODE_PURCHASE"
}
customerId required | string The Customer identifier |
domain required | string Domain name whose action is to be retrieved |
type required | string Enum: "AUTH_CODE_REGENERATE" "CONTACT_UPDATE" "DNSSEC_CREATE" "DNSSEC_DELETE" "DOMAIN_UPDATE" "DOMAIN_UPDATE_CONTACTS" "DOMAIN_UPDATE_NAME_SERVERS" "PRIVACY_PURCHASE" "PRIVACY_DELETE" "REDEEM" "REGISTER" "RENEW" "TRANSFER_IN" The action type to retrieve |
curl --request DELETE \ --url https://api.godaddy.com/v2/customers/<CUSTOMER_ID>/domains/thujun23.com/actions/TRANSFER_IN \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
Details for domain name transfer availability check
authCode | string Auth-Code, required for some TLDs, for domain name holder to transfer a domain name from one registrar to another |
domain required | string <domain> <= 255 characters Domain name for which to check transfer availability |
period | integer <integer-positive> [ 1 .. 10 ] ^([1-9]|10)$ Default: 1 The number of years to extend the registration term at time of transfer |
[- {
- "authCode": "string",
- "domain": "string",
- "period": 1
}
]
{- "domains": [
- {
- "available": true,
- "currency": "USD",
- "definitive": true,
- "domain": "string",
- "period": 0,
- "price": 0,
- "reason": "INVALID_AUTH_CODE",
- "registryPremiumPricing": true,
- "rightsDomain": "string"
}
]
}
customerId required | string The Customer identifier |
domain required | string Domain name to transfer in |
X-Request-Id | string A client provided identifier for tracking this request. |
Details for domain transfer purchase
authCode required | string Auth-Code, required for some TLDs, for domain name holder to transfer a domain name from one registrar to another |
required | object (ConsentV2) |
object (DomainContactsCreateV2) | |
metadata | object The domain name eligibility data fields as specified by GET /v2/customers/{customerId}/domains/register/schema/{tld} |
period | integer <integer-positive> [ 1 .. 10 ] ^[0-9]+$ Default: 1 Can be more than 1 but no more than 10 years total including current registration term |
privacy | boolean Default: false Whether Brandsight privacy service has been requested |
renewAuto | boolean Default: true Whether the domain name should be configured to automatically renew |
{- "authCode": "string",
- "consent": {
- "agreedAt": "string",
- "agreedBy": "string",
- "agreementKeys": [
- "string"
], - "claimToken": "string",
- "currency": "USD",
- "price": 0,
- "registryPremiumPricing": true
}, - "contacts": {
- "admin": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "billing": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "registrant": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}, - "tech": {
- "addressMailing": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "email": "user@example.com",
- "encoding": "ASCII",
- "fax": "string",
- "jobTitle": "string",
- "metadata": { },
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "organization": "string",
- "phone": "string"
}
}, - "metadata": { },
- "period": 1,
- "privacy": false,
- "renewAuto": true
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
customerId required | string The Customer identifier |
domain required | string Domain Name |
X-Request-Id | string A client provided identifier for tracking this request. |
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
customerId required | string The Customer identifier |
domain required | string Domain name for which to update the authCode |
X-Request-Id | string A client provided identifier for tracking this request. |
curl --request POST \ --url https://api.godaddy.com/v2/customers/<CUSTOMER-ID>/domains/<DOMAIN>/regenerateAuthCode \ --header 'Authorization: sso-key <API_KEY>:<SECRET>'
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string",
- "pathRelated": "string"
}
], - "message": "string"
}
Creating a certificate order can be a long running asynchronous operation in the PKI workflow. The PKI API supports 2 options for getting the completion stateful actions for this asynchronous operations: 1) by polling operations -- see /v1/certificates/{certificateId}/actions 2) via WebHook style callback -- see '/v1/certificates/{certificateId}/callback'.
X-Market-Id | string Default: Default locale for shopper account Setting locale for communications such as emails and error messages |
The certificate order information
callbackUrl | string Required if client would like to receive stateful actions via callback during certificate lifecyle |
commonName | string Name to be secured in certificate. If provided, CN field in CSR will be ignored. |
required | object (CertificateContact) |
csr required | string Certificate Signing Request |
intelVPro | boolean Default: false Only used for OV |
object (CertificateOrganizationCreate) | |
period required | integer Number of years for certificate validity period |
productType required | string Enum: "DV_SSL" "DV_WILDCARD_SSL" "EV_SSL" "OV_CS" "OV_DS" "OV_SSL" "OV_WILDCARD_SSL" "UCC_DV_SSL" "UCC_EV_SSL" "UCC_OV_SSL" Type of product requesting a certificate. Only required non-renewal |
rootType | string Default: "STARFIELD_SHA_2" Enum: "GODADDY_SHA_1" "GODADDY_SHA_2" "STARFIELD_SHA_1" "STARFIELD_SHA_2" Root Type. Depending on certificate expiration date, SHA_1 not be allowed. Will default to SHA_2 if expiration date exceeds sha1 allowed date |
slotSize | string Enum: "FIVE" "TEN" "FIFTEEN" "TWENTY" "THIRTY" "FOURTY" "FIFTY" "ONE_HUNDRED" Number of subject alternative names(SAN) to be included in certificate |
subjectAlternativeNames | Array of strings unique Subject Alternative names. Collection of subjectAlternativeNames to be included in certificate. |
{- "callbackUrl": "string",
- "commonName": "string",
- "contact": {
- "email": "string",
- "jobTitle": "string",
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "phone": "string",
- "suffix": "string"
}, - "csr": "string",
- "intelVPro": false,
- "organization": {
- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "assumedName": "string",
- "name": "string",
- "phone": "string",
- "registrationAgent": "string",
- "registrationNumber": "string"
}, - "period": 0,
- "productType": "DV_SSL",
- "rootType": "GODADDY_SHA_1",
- "slotSize": "FIVE",
- "subjectAlternativeNames": [
- "string"
]
}
{- "certificateId": "string"
}
X-Market-Id | string Default: Default locale for shopper account Setting locale for communications such as emails and error messages |
The certificate order info
callbackUrl | string Required if client would like to receive stateful actions via callback during certificate lifecyle |
commonName | string Name to be secured in certificate. If provided, CN field in CSR will be ignored. |
required | object (CertificateContact) |
csr required | string Certificate Signing Request |
intelVPro | boolean Default: false Only used for OV |
object (CertificateOrganizationCreate) | |
period required | integer Number of years for certificate validity period |
productType required | string Enum: "DV_SSL" "DV_WILDCARD_SSL" "EV_SSL" "OV_CS" "OV_DS" "OV_SSL" "OV_WILDCARD_SSL" "UCC_DV_SSL" "UCC_EV_SSL" "UCC_OV_SSL" Type of product requesting a certificate. Only required non-renewal |
rootType | string Default: "STARFIELD_SHA_2" Enum: "GODADDY_SHA_1" "GODADDY_SHA_2" "STARFIELD_SHA_1" "STARFIELD_SHA_2" Root Type. Depending on certificate expiration date, SHA_1 not be allowed. Will default to SHA_2 if expiration date exceeds sha1 allowed date |
slotSize | string Enum: "FIVE" "TEN" "FIFTEEN" "TWENTY" "THIRTY" "FOURTY" "FIFTY" "ONE_HUNDRED" Number of subject alternative names(SAN) to be included in certificate |
subjectAlternativeNames | Array of strings unique Subject Alternative names. Collection of subjectAlternativeNames to be included in certificate. |
{- "callbackUrl": "string",
- "commonName": "string",
- "contact": {
- "email": "string",
- "jobTitle": "string",
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "phone": "string",
- "suffix": "string"
}, - "csr": "string",
- "intelVPro": false,
- "organization": {
- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "assumedName": "string",
- "name": "string",
- "phone": "string",
- "registrationAgent": "string",
- "registrationNumber": "string"
}, - "period": 0,
- "productType": "DV_SSL",
- "rootType": "GODADDY_SHA_1",
- "slotSize": "FIVE",
- "subjectAlternativeNames": [
- "string"
]
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string"
}
], - "message": "string"
}
Once the certificate order has been created, this method can be used to check the status of the certificate. This method can also be used to retrieve details of the certificate.
certificateId required | string Certificate id to lookup |
{- "certificateId": "string",
- "commonName": "string",
- "contact": {
- "email": "string",
- "jobTitle": "string",
- "nameFirst": "string",
- "nameLast": "string",
- "nameMiddle": "string",
- "phone": "string",
- "suffix": "string"
}, - "createdAt": "string",
- "deniedReason": "string",
- "organization": {
- "address": {
- "address1": "string",
- "address2": "string",
- "city": "string",
- "country": "AC",
- "postalCode": "string",
- "state": "string"
}, - "assumedName": "string",
- "jurisdictionOfIncorporation": {
- "city": "string",
- "country": "string",
- "county": "string",
- "state": "string"
}, - "name": "string",
- "phone": "string",
- "registrationAgent": "string",
- "registrationNumber": "string"
}, - "period": 0,
- "productType": "DV_SSL",
- "progress": 0,
- "revokedAt": "string",
- "rootType": "GODADDY_SHA_1",
- "serialNumber": "string",
- "serialNumberHex": "string",
- "slotSize": "FIVE",
- "status": "PENDING_ISSUANCE",
- "subjectAlternativeNames": [
- {
- "status": "PENDING",
- "subjectAlternativeName": "string"
}
], - "validEnd": "string",
- "validStart": "string"
}
This method is used to retrieve all stateful actions relating to a certificate lifecycle.
certificateId required | string Certificate id to register for callback |
[- {
- "createdAt": "string",
- "type": "CERTIFICATE_ISSUED"
}
]
This method can be used to resend emails by providing the certificate id and the email id
certificateId required | string Certificate id to resend email |
emailId required | string Email id for email to resend |
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string"
}
], - "message": "string"
}
This method adds an alternate email address to a certificate order and re-sends all existing request emails to that address.
certificateId required | string Certificate id to resend emails |
emailAddress required | string Specific email address to resend email |
{- "id": 0,
- "accountId": 0,
- "templateType": "string",
- "fromType": "string",
- "recipients": "string",
- "body": "string",
- "dateEntered": "string",
- "subject": "string"
}
This method can be used to resend emails by providing the certificate id, the email id, and the recipient email address
certificateId required | string Certificate id to resend emails |
emailId required | string Email id for email to resend |
emailAddress required | string Specific email address to resend email |
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string"
}
], - "message": "string"
}
This method can be used to retrieve all emails sent for a certificate.
certificateId required | string Certificate id to retrieve email history |
{- "id": 0,
- "accountId": 0,
- "templateType": "string",
- "fromType": "string",
- "recipients": "string",
- "body": "string",
- "dateEntered": "string",
- "subject": "string"
}
Unregister the callback for a particular certificate.
certificateId required | string Certificate id to unregister callback |
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string"
}
], - "message": "string"
}
This method is used to retrieve the registered callback url for a certificate.
certificateId required | string Certificate id to register for stateful action callback |
{- "callbackUrl": "string"
}
This method is used to register/replace url for callbacks for stateful actions relating to a certificate lifecycle. The callback url is a Webhook style pattern and will receive POST http requests with json body defined in the CertificateAction model definition for each certificate action. Only one callback URL is allowed to be registered for each certificateId, so it will replace a previous registration.
certificateId required | string Certificate id to register/replace for callback |
callbackUrl required | string Callback url registered/replaced to receive stateful actions |
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string"
}
], - "message": "string"
}
Use the cancel call to cancel a pending certificate order.
certificateId required | string Certificate id to cancel |
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string"
}
], - "message": "string"
}
Rekeying is the process by which the private and public key is changed for a certificate. It is a simplified reissue,where only the CSR is changed. Reissuing is the process by which domain names are added or removed from a certificate.Once a request is validated and approved, the certificate will be reissued with the new common name and sans specified. Unlimited reissues are available during the lifetime of the certificate.New names added to a certificate that do not share the base domain of the common name may take additional time to validate. If this API call is made before a previous pending reissue has been validated and issued, the previous reissue request is automatically rejected and replaced with the current request.
certificateId required | string Certificate id to reissue |
The reissue request info
callbackUrl | string Required if client would like to receive stateful action via callback during certificate lifecyle |
commonName | string Default: "Existing common name" The common name of certificate to be secured |
csr | string Default: "Existing CSR" Certificate Signing Request. |
delayExistingRevoke | integer <= 168 Default: 72 In hours, time to delay revoking existing certificate after issuance of new certificate. If revokeExistingCertOnIssuance is enabled, this value will be ignored |
rootType | string Default: "GODADDY_SHA_1" Enum: "GODADDY_SHA_1" "GODADDY_SHA_2" "STARFIELD_SHA_1" "STARFIELD_SHA_2" Root Type. Depending on certificate expiration date, SHA_1 not be allowed. Will default to SHA_2 if expiration date exceeds sha1 allowed date |
subjectAlternativeNames | Array of strings unique Only used for UCC products. An array of subject alternative names to include in certificate. |
forceDomainRevetting | Array of strings unique Optional field. Domain verification will be required for each domain listed here. Specify a value of * to indicate that all domains associated with the request should have their domain information reverified. |
{- "callbackUrl": "string",
- "commonName": "Existing common name",
- "csr": "Existing CSR",
- "delayExistingRevoke": 72,
- "rootType": "GODADDY_SHA_1",
- "subjectAlternativeNames": [
- "string"
], - "forceDomainRevetting": [
- "string"
]
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string"
}
], - "message": "string"
}
Renewal is the process by which the validity of a certificate is extended. Renewal is only available 60 days prior to expiration of the previous certificate and 30 days after the expiration of the previous certificate. The renewal supports modifying a set of the original certificate order information. Once a request is validated and approved, the certificate will be issued with extended validity. Since subject alternative names can be removed during a renewal, we require that you provide the subject alternative names you expect in the renewed certificate. New names added to a certificate that do not share the base domain of the common name may take additional time to validate.
certificateId required | string Certificate id to renew |
The renew request info
callbackUrl | string Required if client would like to receive stateful actions via callback during certificate lifecyle |
commonName | string Default: "Existing common name" The common name of certificate to be secured |
csr | string Default: "Existing CSR" Certificate Signing Request. |
period | integer Default: 0 Number of years for certificate validity period, if different from previous certificate |
rootType | string Default: "GODADDY_SHA_1" Enum: "GODADDY_SHA_1" "GODADDY_SHA_2" "STARFIELD_SHA_1" "STARFIELD_SHA_2" Root Type. Depending on certificate expiration date, SHA_1 not be allowed. Will default to SHA_2 if expiration date exceeds sha1 allowed date |
subjectAlternativeNames | Array of strings unique Only used for UCC products. An array of subject alternative names to include in certificate. Not including a subject alternative name that was in the previous certificate will remove it from the renewed certificate. |
{- "callbackUrl": "string",
- "commonName": "Existing common name",
- "csr": "Existing CSR",
- "period": 0,
- "rootType": "GODADDY_SHA_1",
- "subjectAlternativeNames": [
- "string"
]
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string"
}
], - "message": "string"
}
Use revoke call to revoke an active certificate, if the certificate has not been issued a 404 response will be returned.
certificateId required | string Certificate id to revoke |
The certificate revocation request
reason required | string Enum: "AFFILIATION_CHANGED" "CESSATION_OF_OPERATION" "KEY_COMPROMISE" "PRIVILEGE_WITHDRAWN" "SUPERSEDED" Reason for revocation |
{- "reason": "AFFILIATION_CHANGED"
}
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string"
}
], - "message": "string"
}
This method is used to obtain the site seal information for an issued certificate. A site seal is a graphic that the certificate purchaser can embed on their web site to show their visitors information about their SSL certificate. If a web site visitor clicks on the site seal image, a pop-up page is displayed that contains detailed information about the SSL certificate. The site seal token is used to link the site seal graphic image to the appropriate certificate details pop-up page display when a user clicks on the site seal. The site seal images are expected to be static images and hosted on the reseller's website, to minimize delays for customer page load times.
certificateId required | string Certificate id |
theme | string Default: "LIGHT" Enum: "DARK" "LIGHT" This value represents the visual theme of the seal. If seal doesn't exist, default values are used if params not present. If seal does exist, default values will not be used to update unless params present. |
locale | string Default: "en" Determine locale for text displayed in seal image and verification page. If seal doesn't exist, default values are used if params not present. If seal does exist, default values will not be used to update unless params present. |
{- "html": "string"
}
Domain control is a means for verifying the domain included in the certificate order. This resource is useful for resellers that control the domains for their customers, and can expedite the verification process. See https://www.godaddy.com/help/verifying-your-domain-ownership-for-ssl-certificate-requests-html-or-dns-7452
certificateId required | string Certificate id to lookup |
{- "code": "string",
- "fields": [
- {
- "code": "string",
- "message": "string",
- "path": "string"
}
], - "message": "string"
}