Knowledge Base

Check for answers to your questions by searching by keywords, or check categories below.

16 Domains API: How to approve outgoing domain transfer

This is a series of articles dedicated to demonstrating how to get acquainted with Openprovider Domains API methods.

This is a third article in a series in which we are going to cover outgoing domain transfer. To get more information about our API in general, please use our documentation portal as your reference.

Domain transfer is a procedure of changing the current registrar of a domain name.

In the previous article we have covered all prerequisites that have to be met in order to conduct a successful domain transfer.

Now that your domain is ready to be transferred the procedure itself should be initiated with the gaining registrar, so you'll need to contact them for specific instructions, but here's a general idea of what you'll need to do:

  • authenticate in the system of the gaining registrar;
  • begin the domain transfer process according to their instructions;
  • provide an EPP code you copied from the Domain management page in RCP or acquired via Request Authcode Domain method.
Entering Geo Fence iconUse endpoint path below. Base URL is determined by both the target environment and API version.
POST {base_url}/domains/{id}/transfer/approve

REQUEST VALUES

Name Type Description
id string Domain id. Required.
approve boolean Required. 0 or 1
registrar_tag string Required only for *.uk domains 

REQUEST EXAMPLE

curl -X POST \
'https://api.cte.openprovider.eu/v1beta/domains/123456/transfer/approve' \
-H 'Authorization: ,Bearer 2831a37fb8*******90b5aac822' \
-H 'Content-Type: application/json' \
-d '{
"approve": 1,
"domain": {
"extension": "co.uk",
"name": "domain",
},
"registrar_tag": "UK-DOMAINS-REGISTRAR"
}'

RESPONSE EXAMPLE

{
"code": 0,
"data": {
"success": true
},
"desc": ""
}

After the transfer at the new registrar is initiated and the auth code is provided, the transfer will be initiated at the Registry level.

Check the TLD documentation for the domain in question in order to see what the procedures are. Our documentation also tells you how long a transfer can take. This can range from near an instant to over a month.

Was this article helpful?
0 out of 0 found this helpful