---
title: "Request a transfer code"
method: POST
path: "/domains/{id}/transfer_out"
tags: ["Domains"]
---

# Request a transfer code

`POST /domains/{id}/transfer_out`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/domains/{id}/transfer_out`
- Auth: API key in header `Authorization`

Asks Crevio to unlock a domain bought here and email its transfer (EPP) code, so the owner can move the registration to another registrar. Support emails the code to the requester within 2 business days. Registries block transfers for 60 days after registration: before `transfer_out_available_on` this returns 422 `transfer_out_unavailable`. Repeating the request is a no-op. The site and email keep working during the transfer.

## Path parameters

- `id` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

Transfer requested

- Domain
  - `object` string, required
  - `id` string, required
  - `domain` string, required
  - `purchase_status` 'pending_payment' | 'registering' | 'registered' | 'failed' | 'null', nullable, required
  - `auto_renew` boolean, nullable, required: Whether the registration renews itself before expires_at; null for a domain connected rather than bought here. Change it with PATCH auto_renew.
  - `expires_at` string, date-time, nullable
  - `transfer_out_available_on` string, nullable, required: First date the registration can move to another registrar (60 days after registration); null for a domain connected rather than bought here.
  - `transfer_out_requested_at` string, date-time, nullable
  - `transfer_in_status` 'pending_payment' | 'transferring' | 'completed' | 'failed' | 'null', nullable, required: pending_payment, transferring, completed or failed for a domain moved here from another registrar (POST /v1/domains/transfer_in); null otherwise.
  - `transfer_in_state` string, nullable, required: The registrar's last reported step of a transfer to Crevio: pending, in_progress, blocked (waiting on the current registrar, up to 5 days), action_required (the owner must approve an email from the current registrar), succeeded or failed.
  - `transfer_in_error` string, nullable, required: Why the last transfer to Crevio failed, as the registrar put it.
  - `site_id` string, nullable, required
  - `page` string, nullable, required
  - `pages` boolean, required: True when the domain serves every published page of the account at https://<domain>/<slug>.
  - `managed_zone` boolean, required
  - `zone_id` string, nullable, required
  - `capabilities` object, required
  - `records` object[], required
    - `purpose` string, required
    - `domain` string, required
    - `type` string, required
    - `name` string, required
    - `value` string, required
    - `ttl` union
      - number
      - string
    - `priority` number, nullable
    - `status` string, required
  - `next_step` string, nullable, required
  - `verified_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `verification_errors` string[], required

## Other responses

- `401`: Authentication required
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account's team keys share another. Retry after the number of seconds in `Retry-After`.

## Changes

- **2026-11-28** `cc5a1b85f792`: 6 breaking
  - the response property `next_step` became nullable for the status `200`
  - the response property `site_id` became nullable for the status `200`
  - the response property `zone_id` became nullable for the status `200`
  - the `next_step` response's property type changed from `object` to `string, null` for status `200`
  - …2 more
- **2026-11-24** `6f825a6bd243`: 1 breaking
  - the `records` response's property type changed from `object` to `array` for status `200`
- **2026-11-15** `56c22ab9b282`: 4 warning
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `404`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `422`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `429`
- **2026-11-10** `b0b1ec92f58f`: 3 info
  - added the required property `transfer_in_error` to the response with the `200` status
  - added the required property `transfer_in_state` to the response with the `200` status
  - added the required property `transfer_in_status` to the response with the `200` status
- **2026-11-10** `2f124dc4abe6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/domains/:id/transfer_out/post.md)

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/ccbd8fcbd6d7?raw)
