Register Domains
View as MarkdownRegister new domains, retrieve registration schemas by TLD, and validate registration requests.
Purchase and register the specified Domain
Path Parameters
The Customer identifier. Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount customer identifier you're operating on behalf of.
Header Parameters
A client provided identifier for tracking this request.
Request Body
application/json
An instance document expected to match the JSON schema returned by ./schema/{tld}
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.godaddy.com/v2/customers/string/domains/register" \ -H "Content-Type: application/json" \ -d '{ "domain": "string", "consent": { "agreementKeys": [ "string" ], "price": 0, "currency": "USD", "agreedBy": "string", "agreedAt": "string" } }'{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string",
"retryAfterSec": 0
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}Retrieve the schema to be submitted when registering a Domain for the specified TLD
Path Parameters
The Customer identifier. Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount customer identifier you're operating on behalf of.
The Top-Level Domain whose schema should be retrieved
Header Parameters
A client provided identifier for tracking this request.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.godaddy.com/v2/customers/string/domains/register/schema/string"{
"id": "string",
"models": [
{}
],
"properties": [
{
"defaultValue": "string",
"format": "string",
"items": [
{
"format": "string",
"pattern": "string",
"type": "string"
}
],
"maxItems": 0,
"maximum": 0,
"minItems": 0,
"minimum": 0,
"pattern": "string",
"required": true,
"type": "string"
}
],
"required": [
"string"
],
"type": "object"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string",
"retryAfterSec": 0
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}Validate the request body using the Domain Registration Schema for the specified TLD
Path Parameters
The Customer identifier. Note: For API Resellers, performing actions on behalf of your customers, you need to specify the Subaccount customer identifier you're operating on behalf of.
Header Parameters
A client provided identifier for tracking this request.
Request Body
application/json
An instance document expected to match the JSON schema returned by ./schema/{tld}
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://api.godaddy.com/v2/customers/string/domains/register/validate" \ -H "Content-Type: application/json" \ -d '{ "domain": "string", "consent": { "agreementKeys": [ "string" ], "price": 0, "currency": "USD", "agreedBy": "string", "agreedAt": "string" } }'{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string",
"retryAfterSec": 0
}{
"code": "string",
"fields": [
{
"code": "string",
"message": "string",
"path": "string",
"pathRelated": "string"
}
],
"message": "string"
}Agent & Automation Notes
domains.domain:read, domains.domain:create, domains.domain:update, domains.contact:update, domains.nameserver:update, domains.transfer:execute, domains.transfer:update, domains.forward:updateRelated
Last updated on
How is this guide?