---
title: "Get the auth code for a domain"
method: GET
path: "/v1/registrar/domains/{domain}/auth-code"
tags: ["domains-registrar"]
---

# Get the auth code for a domain

`GET /v1/registrar/domains/{domain}/auth-code`

Get the auth code for a domain. This is required to transfer a domain from Vercel to another registrar.

## Path parameters

- `domain` string, required — A valid domain name

## Query parameters

- `teamId` string

## Response `200`

Success

- object
  - `authCode` string, required

## Other responses

- `400` — There was something wrong with the request
- `401` — Unauthorized
- `403` — NotAuthorizedForScope
- `404` — The domain was not found in our system.
- `409` — The domain cannot be transfered out until the specified date.
- `429` — TooManyRequests
- `500` — InternalServerError

## Changes

- **2026-07-14** `314022afff45` — 1 info
  - added the optional property `reason` to the response with the `401` status

[Change history](https://skmtc.dev/vercel/apis/api/changes/v1/registrar/domains/:domain/auth-code/get.md)

---

[API](https://skmtc.dev/vercel/apis/api.md) · [All operations](https://skmtc.dev/vercel/apis/api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vercel/api/revisions/4191ba96b0c1/schema)
