Domain Transfer

/domain-transfer

GET

Get all transfers for the current reseller.

JSON request

client_reference string Comma separated list of client references that uniquely identifies a domain transfer.
name string Full or partial domain transfer name to search for.
id string Comma separated list of domain transfer ids that uniquely identifies a domain transfer

JSON response

Sample

curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/domain-transfer" | python -m json.tool

POST

Start a new transfer for this domain. The system will automatically determine if this is an internal or an external transfer.

JSON request

name string The domain name
contacts array
role string One of ‘registrant’, ‘admin’, ‘billing’, ‘tech’
contact string A contact handle which belongs to the reseller
name_servers array
hostname string The hostname for the nameserver
authorization_code string The authorization code for the transfer (if required by the registry)
designated_agent string OPTIONAL: Possible values: ‘NONE’, ‘OLD’, ‘NEW’, ‘BOTH’ Indicates for whom you are acting as a designated agent. If a registry does not allow you to be designated agent or interaction with the registrant is still required this parameter is silently ignored.

JSON response

Possible errors

Sample

curl \
--request POST \
--user "{{api_username}}:{{api_key}}" \
--data '
    {
        "name": "example.com",
        "authorization_code": "nF3N4%9d89^#Uf4$N&^sh328234hj03(*7657",
        "contacts": [
            {
                "role": "registrant",
                "contact": "RP934K83F9k30K2904L"
            },
            {
                "role": "admin",
                "contact": "RP934K83F9k30K2904L"
            },
            {
                "role": "billing",
                "contact": "RP934K83F9k30K2904L"
            },
            {
                "role": "tech",
                "contact": "RP934K83F9k30K2904L"
            }
        ],
        "name_servers": [
            {
                "hostname": "ns1.example.com"
            },
            {
                "hostname": "ns2.example.com"
            }
        ]
    }
' \
"{{api_base_url}}/domain-transfer" | python -m json.tool

/domain-transfer/{id}

GET

Get detailed information about a transfer.

JSON response

Possible errors

Sample

curl \
--request GET \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/domain-transfer/{id}?extended=1" | python -m json.tool

DELETE

Try and cancel a transfer.

JSON response

Possible errors

Sample

curl \
--request DELETE \
--user "{{api_username}}:{{api_key}}" \
"{{api_base_url}}/domain-transfer/{id}" | python -m json.tool