contacts

Create a contact

Changed on

Create a new contact for use in domain registration and management. A verification email will be sent to the contact's email address. Use $preview=true to validate without creating the contact.

post/contacts

Request

Query parameters

$previewboolean required

Request body

firstNamestring required
lastNamestring required
organizationstring
countryCodestring required

ISO 3166-1 alpha-2 country code (e.g., "US", "CA", "GB")

streetstring required
citystring required
postalCodestring required

Postal/ZIP code. Validated against the provided countryCode.

stateProvincestring required

State or province. Validated against the provided countryCode.

emailstring email required

Example request

{
  "phone": {
    "dialingPrefix": "+1"
  }
}

Response

Contact creation operation

@type'unstoppabledomains.com/partner.v3.ContactOperationResult' required

Example response

{
  "operation": {
    "id": "op-a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "dependencies": [
      {
        "id": "plop_abc12345-1234-1234-1234-abc123456789",
        "parameters": {
          "owner": {
            "id": "con_abc12345-1234-1234-1234-abc123456789"
          },
          "contacts": {
            "admin": {
              "id": "con_abc12345-1234-1234-1234-abc123456789"
            },
            "billing": {
              "id": "con_abc12345-1234-1234-1234-abc123456789"
            },
            "tech": {
              "id": "con_abc12345-1234-1234-1234-abc123456789"
            }
          },
          "period": 1
        }
      }
    ]
  }
}

Changes

    • warning

      added the new DOMAIN_ADMIN_DNS_ZONE_MIGRATE enum value to the / response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      removed the request property