---
title: "Get the EPP transfer code."
method: GET
path: "/v1/domain-purchases/{id}/auth-code"
tags: ["Domain purchases"]
---

# Get the EPP transfer code.

`GET /v1/domain-purchases/{id}/auth-code`

## Request

- Base URL: `https://api.domainee.dev`
- URL: `https://api.domainee.dev/v1/domain-purchases/{id}/auth-code`
- Auth: HTTP bearer

The code a customer needs to move the domain to another registrar.

## Response `200`

The transfer authorization code.

- object
  - `hostname` string
  - `authCode` string

## Other responses

- `401`: Missing, malformed, revoked, or expired Bearer token.
- `404`: No such object in this workspace.

---

[API](https://skmtc.dev/domainee/apis/domainee-api.md) · [All operations](https://skmtc.dev/domainee/apis/domainee-api/llms.txt) · [OpenAPI document](https://skmtc.dev/domainee/apis/domainee-api/revisions/756d54434372?raw)
