# 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](https://docs.openprovider.com) as your reference.*

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

In the [previous article](https://openprovider.help/books/api-plugins/page/15-domains-api-how-to-request-or-reset-an-authcode) 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 the [Request Authcode Domain method](https://openprovider.help/books/api-plugins/page/15-domains-api-how-to-request-or-reset-an-authcode).

<div id="bkmrk-use-the-endpoint-pat">![Entering Geo Fence icon](https://openprovider.help/uploads/images/gallery/2026-08/embedded-image-7shvobp8.png)Use the endpoint path below. The base URL is determined by both the target environment and the API version.</div><div id="bkmrk-post-%7Bbase_url%7D%2Fdoma">```
<span><strong>POST</strong> <a href="http://docs.openprovider.com/#operation/"><strong>{base_url}</strong></a>/domains/{id}/transfer/approve</span>
```

</div><div id="bkmrk-request-values-name-"><details><summary>REQUEST VALUES</summary>

<table><tbody><tr><td>**<span>Name</span>**</td><td>**<span>Type</span>**</td><td>**<span>Description</span>**</td></tr><tr><td>id</td><td>string</td><td>Domain id. **Required.**</td></tr><tr><td>domain</td><td>string</td><td>Domain name</td></tr><tr><td>approve</td><td>boolean</td><td>**Required.** 0 or 1</td></tr><tr><td>registrar\_tag</td><td>string</td><td>Required only for \*.uk domains </td></tr></tbody></table>

</details>  
<div id="bkmrk-request-examplecurl-"><div><details><summary>REQUEST EXAMPLE</summary>

```
curl -X POST \<br></br>'https://api.openprovider.eu/v1beta/domains/123456/transfer/approve' \<br></br>-H 'Authorization: ,Bearer 2831a37fb8*******90b5aac822' \<br></br>-H 'Content-Type: application/json' \<br></br>-d '{<br></br>      "approve": 1,<br></br>      "auth_code": "",<br></br>      "domain": {<br></br>      "extension": "london",<br></br>      "name": "test4"<br></br>      },<br></br>      "id": 0,<br></br>      "registrar_tag": "REGISTRAR-TAG"<br></br>   }'
```

</details></div><details><summary>RESPONSE EXAMPLE</summary>

```
{<br></br> "code": 0,<br></br> "data": {<br></br> "success": true<br></br> },<br></br> "desc": ""<br></br>}
```

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

<span>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.</span>

</div></div>