# Get domain transfer code (EPP)

`GET /v1/domain/@id/epp` · scope `domains:owner`

EPP code for transferring the domain to another registrar. Requires the `domains:owner` scope: only personal API tokens with an IP restriction.

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/domain/@id/epp` |
| Method | `GET` |
| Scope | `domains:owner` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (no body) |
| Tokens that can call it | personal API tokens (`tinopat_`) with an IP allow-list only |

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | integer | yes | Domain ID |

## Example request

```bash
curl "https://api.tino.vn/v1/domain/200001/epp" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is a token with the scope `domains:owner`. Path parameters in the example are sample values.

SDK ([SDK & examples](/en/docs/sdk)): Python `client.domains.get_epp_code(id)`, Node.js `await client.domains.getEppCode(id);`, PHP `$client->domains->getEppCode($id);`.

## Example response

```json
{
 "success": true,
 "domain_id": "200001",
 "epp_code": "<redacted>"
}
```

Live sample from a test account with personal data masked; long arrays and strings are trimmed (`… N more item(s)`, `… N more line(s)`).
