---
title: Registrar Sandbox
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/typescript)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Registrar Sandbox

Use the Registrar Sandbox API to test domain search, availability checks, registration, and domain management flows without buying real domains.

**This API is a test environment for the production Registrar API.**

## Prerequisites

Before using this API, make sure you have:

1. **Cloudflare account** — the caller must have a valid Cloudflare account.
2. **API authentication** — create an API token with Registrar Sandbox permissions.

## How the Sandbox API differs from the production Registrar API

Because the Sandbox API is intended for testing, it behaves differently from the production Registrar API in a few important ways:

1. **No billing** — you will not be charged real money for purchasing a domain.
2. **No real domains** — purchased domains are test records and will not be reachable on the Internet.
3. **No DNS zones** — purchasing a domain does not create a zone resource.
4. **No Registration Express Mode** — you must provide full contact data.

Sandbox purchases are still persisted. If you purchase a domain in the sandbox, that domain will not be available for others to purchase in the sandbox.

## Terminology: domain extension

Throughout this API, “extension” refers to the domain extension part of a fully qualified domain name — the portion after the registrable label. For example, in `example.co.uk`, the extension is `co.uk` (not just `uk`). This covers both top-level domains like `com` and multi-level extensions like `co.uk`. This is distinct from other uses of the word “extension” (e.g., EPP extensions).

## Supported extensions

The Sandbox API currently supports programmatic registration for these extensions:

`com`, `net`

The production Registrar API supports 40+ extensions.

Cloudflare Registrar supports 400+ extensions in the dashboard. Extensions not listed above can be registered at `https://dash.cloudflare.com/{account_id}/domains/registrations`.

## Typical workflow

1. **Search** — call `GET /domain-search?q={keyword}` to discover available domains.
2. **Check** — call `POST /domain-check` with candidate domains to verify real-time availability and pricing.
3. **Review the response** — if `registrable: false`, inspect `reason` to understand whether the domain is unavailable, the extension is not supported by this API, the extension is not supported by Cloudflare Registrar at all, or the extension’s registry has frozen new registrations.
4. **Handle premium domains** — if `tier: premium`, premium registration is not currently supported by this API. The Sandbox API currently supports only `com` and `net`, which do not have premium registrations, but clients should still handle this response for consistency with the production Registrar API. Surface the premium pricing to the user, but do not proceed to `POST /registrations` for that domain.
5. **Observe the registration schema** — call `GET /extensions/:extension_name` to discover the required values for registering this extension.
6. **Register** — call `POST /registrations` with the chosen domain name for supported non-premium registrations.
7. **Confirm completion** — if the response is `201 Created`, registration completed within the default timeout and no polling is needed.
8. **Poll when needed** — if the response is `202 Accepted`, poll `links.self` from the workflow response.
9. **Stop for user action** — if `state: action_required`, stop polling and surface `context.action` to the user. The workflow will not resolve on its own.
10. **Continue when blocked** — if `state: blocked`, continue polling and inform the user that a third party, such as the extension registry or losing registrar, is delaying progress.
11. **Review failures before retrying** — if `state: failed`, review `error.code` and `error.message`, then decide whether user action or a new Check call is needed.

## Default behavior for mutating operations

By default, mutating operations such as create and update hold the connection for a bounded, server-defined amount of time while the operation completes. In most cases, the response contains a completed workflow status and no polling is required.

- **Completed within the synchronous wait window:** Returns `201` (create) or `200` (update) with a `workflow_status` where `state: succeeded` and `completed: true`.
- **Still processing after the synchronous wait window:** Returns `202 Accepted` with a `workflow_status` where `completed: false`. Use the `links.self` URL to poll for completion.

## Non-blocking mode

To receive an immediate `202 Accepted` response without waiting, send the `Prefer: respond-async` request header (RFC 7240). The server will acknowledge it with a `Preference-Applied: respond-async` response header.

## Polling

When the response is `202`, poll the workflow status endpoint indicated by `links.self` in the response body until the workflow reaches a terminal state or requires user action.

##### [Search for available domains](https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox/methods/search)

client.registrarSandbox.search(RegistrarSandboxSearchParams {account\_id, q, extensions, limit } params, RequestOptionsoptions?): [RegistrarSandboxSearchResponse](<https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)>) {domains }

GET/accounts/{account\_id}/registrar-sandbox/domain-search

##### [Check domain availability](https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox/methods/check)

client.registrarSandbox.check(RegistrarSandboxCheckParams {account\_id, domains } params, RequestOptionsoptions?): [RegistrarSandboxCheckResponse](<https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)>) {domains }

POST/accounts/{account\_id}/registrar-sandbox/domain-check

##### ModelsExpand Collapse

<details>

<summary>

Registration {auto\_renew, created\_at, domain\_name, 4 more }

A domain registration resource representing the current state of a registered domain.

</summary>

auto\_renew: boolean

Whether automatic renewal occurs before expiration.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20auto_renew">Link to this property</a>

created\_at: string

When the domain was registered. Present when the registration resource exists.

formatdate-time

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

domain\_name: string

Provides a fully qualified domain name (FQDN), including the extension (e.g., <code>example.com</code>, <code>mybrand.app</code>). The domain name uniquely identifies a registration. Cloudflare permits only one registration per domain, making the domain name a natural idempotency key for registration requests.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20domain_name">Link to this property</a>

expires\_at: string| null

When the domain registration expires. Ready registrations include this value; only <code>registration_pending</code> and <code>transfer_pending</code> may return null.

formatdate-time

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20expires_at">Link to this property</a>

locked: boolean

Whether the domain is locked for transfer.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20locked">Link to this property</a>

<details>

<summary>

privacy\_mode: "off"| "redaction"

Current WHOIS privacy mode for the registration.

</summary>

One of the following:

"off"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20privacy_mode%20%3E%20(member)%200">Link to this property</a>

"redaction"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20privacy_mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20privacy_mode">Link to this property</a>

<details>

<summary>

status: "active"| "registration\_pending"| "transfer\_pending"| 4 more

Current registration status.

- <code>active</code>: The domain operates with an active registration.
- <code>registration_pending</code>: Registration remains in progress.
- <code>transfer_pending</code>: Domain transfer is in progress.
- <code>expired</code>: The domain registration expired.
- <code>suspended</code>: The registry suspended the domain.
- <code>redemption_period</code>: The domain entered the redemption grace period.
- <code>pending_delete</code>: The registry scheduled the domain for deletion.

</summary>

One of the following:

"active"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"registration\_pending"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"transfer\_pending"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"expired"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"suspended"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"redemption\_period"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"pending\_delete"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox%20%3E%20(model)%20registration%20%3E%20(schema)>)

<details>

<summary>

WorkflowStatus {completed, created\_at, links, 4 more }

Status of an async registration workflow.

</summary>

completed: boolean

Indicates whether the workflow reached a terminal state. A <code>succeeded</code> or <code>failed</code> state returns <code>true</code>; <code>pending</code>, <code>in_progress</code>, <code>action_required</code>, and <code>blocked</code> return <code>false</code>.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20completed">Link to this property</a>

created\_at: string

formatdate-time

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

links: Links {self, resource }

</summary>

self: string

URL to this status resource.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20links%20%3E%20(property)%20self">Link to this property</a>

resource?: string

URL to the domain resource.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20links%20%3E%20(property)%20resource">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20links">Link to this property</a>

<details>

<summary>

state: "pending"| "in\_progress"| "action\_required"| 3 more

Describes the workflow lifecycle state.

- <code>pending</code>: The workflow awaits processing.
- <code>in_progress</code>: Processing started. Continue polling <code>links.self</code>. An internal deadline limits the duration of this state.
- <code>action_required</code>: The workflow pauses for user action. See <code>context.action</code> for details. Stop automated polling until the user completes the required action.
- <code>blocked</code>: A third party, such as the domain extension’s registry or a losing registrar, prevents progress. Continue polling because the block may resolve when the third party responds.
- <code>succeeded</code>: Terminal state. The operation completed successfully. <code>completed</code> equals <code>true</code>. For registrations, <code>context.registration</code> contains the resulting registration resource.
- <code>failed</code>: Terminal state. The operation failed. <code>completed</code> equals <code>true</code>. See <code>error.code</code> and <code>error.message</code> for the reason. Require user review before retrying.

</summary>

One of the following:

"pending"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"in\_progress"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

"action\_required"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%202">Link to this property</a>

"blocked"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%203">Link to this property</a>

"succeeded"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%204">Link to this property</a>

"failed"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

updated\_at: string

formatdate-time

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

context?: Record&lt;string, unknown&gt;

Provides workflow-specific data.

For domain-centric workflows, <code>context.domain_name</code> identifies the workflow subject.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20context">Link to this property</a>

<details>

<summary>

error?: Error| null

Provides error details when a workflow reaches the <code>failed</code> state. The workflow type (registration, update, etc.) and underlying registry response determine the specific codes and messages. Workflow error codes differ from immediate HTTP error <code>errors[].code</code> values in non-2xx responses. Surface <code>error.message</code> to the user for context.

</summary>

code: string

Machine-readable error code identifying the failure reason.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20code">Link to this property</a>

message: string

Human-readable explanation of the failure. May include registry-specific details.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20message">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)%20%3E%20(property)%20error">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox%20%3E%20(model)%20workflow_status%20%3E%20(schema)>)

<details>

<summary>

RegistrarSandboxSearchResponse {domains }

Contains the search results.

</summary>

<details>

<summary>

domains: Array&lt;Domain&gt;

Lists domain suggestions in relevance order. An empty array indicates that the search criteria matched zero domains.

</summary>

name: string

The fully qualified domain name (FQDN) in punycode format for internationalized domain names (IDNs).

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

registrable: boolean

Indicates domain availability according to potentially stale, non-authoritative search data.

- <code>true</code>: The domain appears available. Use POST /domain-check to confirm before registration.
- <code>false</code>: Search results mark the domain ineligible for registration through this API. See <code>reason</code> for details.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20registrable">Link to this property</a>

<details>

<summary>

pricing?: Pricing {currency, registration\_cost, renewal\_cost }

Provides annual pricing information for a given domain. The API returns all per-year prices as strings to preserve decimal precision.

<code>renewal_cost</code> and <code>registration_cost</code> or <code>transfer_cost</code> are frequently the same value, but may differ due to premium rates for certain domains.

For a multi-year operations, the operation’s cost applies to the first year and <code>renewal_cost</code> applies to each subsequent year. The values reflect the current registry rate, which can change over time.

</summary>

currency: string

ISO-4217 currency code for the prices (e.g., “USD”, “EUR”, “GBP”).

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20pricing%20%3E%20(property)%20currency">Link to this property</a>

registration\_cost: string

The first-year cost to register this domain.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20pricing%20%3E%20(property)%20registration_cost">Link to this property</a>

renewal\_cost: string

Per-year renewal cost for this domain. Applied to each year beyond the first year of a multi-year registration, and to each annual auto-renewal thereafter. May differ from <code>registration_cost</code>, especially for premium domains where initial registration often costs more than renewals.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20pricing%20%3E%20(property)%20renewal_cost">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20pricing">Link to this property</a>

<details>

<summary>

reason?: "extension\_not\_supported\_via\_api"| "extension\_not\_supported"| "extension\_disallows\_registration"| 2 more

Appears only when <code>registrable</code> is <code>false</code> and explains the advisory search result. Use POST /domain-check for authoritative status.

- <code>extension_not_supported_via_api</code>: Cloudflare Registrar supports this extension in the dashboard but currently excludes it from programmatic registration through this API.
- <code>extension_not_supported</code>: Cloudflare Registrar excludes this extension entirely.
- <code>extension_disallows_registration</code>: The extension’s registry temporarily or permanently freezes new registrations.
- <code>domain_premium</code>: The domain carries premium pricing. This API currently supports standard registrations only.
- <code>domain_unavailable</code>: The domain appears unavailable.

</summary>

One of the following:

"extension\_not\_supported\_via\_api"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%200">Link to this property</a>

"extension\_not\_supported"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%201">Link to this property</a>

"extension\_disallows\_registration"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%202">Link to this property</a>

"domain\_premium"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%203">Link to this property</a>

"domain\_unavailable"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason">Link to this property</a>

<details>

<summary>

tier?: "standard"| "premium"

The pricing tier for this domain. A <code>registrable</code> value of <code>true</code> always includes this field, which defaults to <code>standard</code> for most domains. A <code>registrable</code> value of <code>false</code> may omit it.

- <code>standard</code>: Standard registry pricing.
- <code>premium</code>: Premium domain with higher pricing from the registry.

</summary>

One of the following:

"standard"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20tier%20%3E%20(member)%200">Link to this property</a>

"premium"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20tier%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20tier">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)%20%3E%20(property)%20domains">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_search_response%20%3E%20(schema)>)

<details>

<summary>

RegistrarSandboxCheckResponse {domains }

Contains the availability check results.

</summary>

<details>

<summary>

domains: Array&lt;Domain&gt;

Array of domain availability results. Results for unsupported extensions contain <code>registrable: false</code> and a <code>reason</code> field. The response may omit malformed domain names.

</summary>

name: string

The fully qualified domain name (FQDN) in punycode format for internationalized domain names (IDNs).

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20name">Link to this property</a>

registrable: boolean

Indicates programmatic registration eligibility according to a real-time registry check.

- <code>true</code>: The domain is available for registration. The response includes the <code>pricing</code> object.
- <code>false</code>: A restriction prevents registration. See the <code>reason</code> field for details. Some results, such as premium domains, may still include <code>tier</code>.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20registrable">Link to this property</a>

<details>

<summary>

pricing?: Pricing {currency, registration\_cost, renewal\_cost }

Provides annual pricing information for a given domain. The API returns all per-year prices as strings to preserve decimal precision.

<code>renewal_cost</code> and <code>registration_cost</code> or <code>transfer_cost</code> are frequently the same value, but may differ due to premium rates for certain domains.

For a multi-year operations, the operation’s cost applies to the first year and <code>renewal_cost</code> applies to each subsequent year. The values reflect the current registry rate, which can change over time.

</summary>

currency: string

ISO-4217 currency code for the prices (e.g., “USD”, “EUR”, “GBP”).

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20pricing%20%3E%20(property)%20currency">Link to this property</a>

registration\_cost: string

The first-year cost to register this domain.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20pricing%20%3E%20(property)%20registration_cost">Link to this property</a>

renewal\_cost: string

Per-year renewal cost for this domain. Applied to each year beyond the first year of a multi-year registration, and to each annual auto-renewal thereafter. May differ from <code>registration_cost</code>, especially for premium domains where initial registration often costs more than renewals.

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20pricing%20%3E%20(property)%20renewal_cost">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20pricing">Link to this property</a>

<details>

<summary>

reason?: "extension\_not\_supported\_via\_api"| "extension\_not\_supported"| "extension\_disallows\_registration"| 2 more

Appears only when <code>registrable</code> is <code>false</code> and explains the result.

- <code>extension_not_supported_via_api</code>: Cloudflare Registrar supports this extension in the dashboard but currently excludes it from programmatic registration through this API. The user can register via <code>https://dash.cloudflare.com/{account_id}/domains/registrations</code>.
- <code>extension_not_supported</code>: Cloudflare Registrar excludes this extension entirely.
- <code>extension_disallows_registration</code>: The extension’s registry temporarily or permanently freezes new registrations. Registrars currently cannot register domains on this extension.
- <code>domain_premium</code>: The domain carries premium pricing. This API currently supports standard registrations only.
- <code>domain_unavailable</code>: An existing registration, reservation, or other registry restriction makes the domain unavailable on a supported extension.

</summary>

One of the following:

"extension\_not\_supported\_via\_api"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%200">Link to this property</a>

"extension\_not\_supported"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%201">Link to this property</a>

"extension\_disallows\_registration"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%202">Link to this property</a>

"domain\_premium"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%203">Link to this property</a>

"domain\_unavailable"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20reason">Link to this property</a>

<details>

<summary>

tier?: "standard"| "premium"

The pricing tier for this domain. A <code>registrable</code> value of <code>true</code> always includes this field, which defaults to <code>standard</code> for most domains. A <code>registrable</code> value of <code>false</code> may omit it.

- <code>standard</code>: Standard registry pricing.
- <code>premium</code>: Premium domain with higher pricing from the registry.

</summary>

One of the following:

"standard"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20tier%20%3E%20(member)%200">Link to this property</a>

"premium"

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20tier%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains%20%3E%20(items)%20%3E%20(property)%20tier">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)%20%3E%20(property)%20domains">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox%20%3E%20(model)%20registrar_sandbox_check_response%20%3E%20(schema)>)

#### Registrar SandboxRegistrations

##### [Create Registration](https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox/subresources/registrations/methods/create)

client.registrarSandbox.registrations.create(RegistrationCreateParams {account\_id, domain\_name, acknowledgements, 6 more } params, RequestOptionsoptions?): [RegistrationCreateResponse](<https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)>) {completed, created\_at, links, 4 more }

POST/accounts/{account\_id}/registrar-sandbox/registrations

##### [List Registrations](https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox/subresources/registrations/methods/list)

client.registrarSandbox.registrations.list(RegistrationListParams {account\_id, cursor, direction, 2 more } params, RequestOptionsoptions?): CursorPagination< [RegistrationListResponse](<https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)>) {auto\_renew, created\_at, domain\_name, 4 more } >

GET/accounts/{account\_id}/registrar-sandbox/registrations

##### [Get Registration](https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox/subresources/registrations/methods/get)

client.registrarSandbox.registrations.get(stringdomainName, RegistrationGetParams {account\_id } params, RequestOptionsoptions?): [RegistrationGetResponse](<https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)>) {auto\_renew, created\_at, domain\_name, 4 more }

GET/accounts/{account\_id}/registrar-sandbox/registrations/{domain\_name}

##### [Update Registration](https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox/subresources/registrations/methods/edit)

client.registrarSandbox.registrations.edit(stringdomainName, RegistrationEditParams {account\_id, auto\_renew, Prefer } params, RequestOptionsoptions?): [RegistrationEditResponse](<https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)>) {completed, created\_at, links, 4 more }

PATCH/accounts/{account\_id}/registrar-sandbox/registrations/{domain\_name}

##### ModelsExpand Collapse

<details>

<summary>

RegistrationCreateResponse {completed, created\_at, links, 4 more }

Status of an async registration workflow.

</summary>

completed: boolean

Indicates whether the workflow reached a terminal state. A <code>succeeded</code> or <code>failed</code> state returns <code>true</code>; <code>pending</code>, <code>in_progress</code>, <code>action_required</code>, and <code>blocked</code> return <code>false</code>.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20completed">Link to this property</a>

created\_at: string

formatdate-time

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

links: Links {self, resource }

</summary>

self: string

URL to this status resource.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20links%20%3E%20(property)%20self">Link to this property</a>

resource?: string

URL to the domain resource.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20links%20%3E%20(property)%20resource">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20links">Link to this property</a>

<details>

<summary>

state: "pending"| "in\_progress"| "action\_required"| 3 more

Describes the workflow lifecycle state.

- <code>pending</code>: The workflow awaits processing.
- <code>in_progress</code>: Processing started. Continue polling <code>links.self</code>. An internal deadline limits the duration of this state.
- <code>action_required</code>: The workflow pauses for user action. See <code>context.action</code> for details. Stop automated polling until the user completes the required action.
- <code>blocked</code>: A third party, such as the domain extension’s registry or a losing registrar, prevents progress. Continue polling because the block may resolve when the third party responds.
- <code>succeeded</code>: Terminal state. The operation completed successfully. <code>completed</code> equals <code>true</code>. For registrations, <code>context.registration</code> contains the resulting registration resource.
- <code>failed</code>: Terminal state. The operation failed. <code>completed</code> equals <code>true</code>. See <code>error.code</code> and <code>error.message</code> for the reason. Require user review before retrying.

</summary>

One of the following:

"pending"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"in\_progress"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

"action\_required"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%202">Link to this property</a>

"blocked"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%203">Link to this property</a>

"succeeded"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%204">Link to this property</a>

"failed"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

updated\_at: string

formatdate-time

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

context?: Record&lt;string, unknown&gt;

Provides workflow-specific data.

For domain-centric workflows, <code>context.domain_name</code> identifies the workflow subject.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20context">Link to this property</a>

<details>

<summary>

error?: Error| null

Provides error details when a workflow reaches the <code>failed</code> state. The workflow type (registration, update, etc.) and underlying registry response determine the specific codes and messages. Workflow error codes differ from immediate HTTP error <code>errors[].code</code> values in non-2xx responses. Surface <code>error.message</code> to the user for context.

</summary>

code: string

Machine-readable error code identifying the failure reason.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20code">Link to this property</a>

message: string

Human-readable explanation of the failure. May include registry-specific details.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20message">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)%20%3E%20(property)%20error">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_create_response%20%3E%20(schema)>)

<details>

<summary>

RegistrationListResponse {auto\_renew, created\_at, domain\_name, 4 more }

A domain registration resource representing the current state of a registered domain.

</summary>

auto\_renew: boolean

Whether automatic renewal occurs before expiration.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20auto_renew">Link to this property</a>

created\_at: string

When the domain was registered. Present when the registration resource exists.

formatdate-time

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

domain\_name: string

Provides a fully qualified domain name (FQDN), including the extension (e.g., <code>example.com</code>, <code>mybrand.app</code>). The domain name uniquely identifies a registration. Cloudflare permits only one registration per domain, making the domain name a natural idempotency key for registration requests.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20domain_name">Link to this property</a>

expires\_at: string| null

When the domain registration expires. Ready registrations include this value; only <code>registration_pending</code> and <code>transfer_pending</code> may return null.

formatdate-time

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20expires_at">Link to this property</a>

locked: boolean

Whether the domain is locked for transfer.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20locked">Link to this property</a>

<details>

<summary>

privacy\_mode: "off"| "redaction"

Current WHOIS privacy mode for the registration.

</summary>

One of the following:

"off"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20privacy_mode%20%3E%20(member)%200">Link to this property</a>

"redaction"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20privacy_mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20privacy_mode">Link to this property</a>

<details>

<summary>

status: "active"| "registration\_pending"| "transfer\_pending"| 4 more

Current registration status.

- <code>active</code>: The domain operates with an active registration.
- <code>registration_pending</code>: Registration remains in progress.
- <code>transfer_pending</code>: Domain transfer is in progress.
- <code>expired</code>: The domain registration expired.
- <code>suspended</code>: The registry suspended the domain.
- <code>redemption_period</code>: The domain entered the redemption grace period.
- <code>pending_delete</code>: The registry scheduled the domain for deletion.

</summary>

One of the following:

"active"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"registration\_pending"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"transfer\_pending"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"expired"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"suspended"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"redemption\_period"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"pending\_delete"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_list_response%20%3E%20(schema)>)

<details>

<summary>

RegistrationGetResponse {auto\_renew, created\_at, domain\_name, 4 more }

A domain registration resource representing the current state of a registered domain.

</summary>

auto\_renew: boolean

Whether automatic renewal occurs before expiration.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20auto_renew">Link to this property</a>

created\_at: string

When the domain was registered. Present when the registration resource exists.

formatdate-time

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

domain\_name: string

Provides a fully qualified domain name (FQDN), including the extension (e.g., <code>example.com</code>, <code>mybrand.app</code>). The domain name uniquely identifies a registration. Cloudflare permits only one registration per domain, making the domain name a natural idempotency key for registration requests.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20domain_name">Link to this property</a>

expires\_at: string| null

When the domain registration expires. Ready registrations include this value; only <code>registration_pending</code> and <code>transfer_pending</code> may return null.

formatdate-time

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20expires_at">Link to this property</a>

locked: boolean

Whether the domain is locked for transfer.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20locked">Link to this property</a>

<details>

<summary>

privacy\_mode: "off"| "redaction"

Current WHOIS privacy mode for the registration.

</summary>

One of the following:

"off"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20privacy_mode%20%3E%20(member)%200">Link to this property</a>

"redaction"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20privacy_mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20privacy_mode">Link to this property</a>

<details>

<summary>

status: "active"| "registration\_pending"| "transfer\_pending"| 4 more

Current registration status.

- <code>active</code>: The domain operates with an active registration.
- <code>registration_pending</code>: Registration remains in progress.
- <code>transfer_pending</code>: Domain transfer is in progress.
- <code>expired</code>: The domain registration expired.
- <code>suspended</code>: The registry suspended the domain.
- <code>redemption_period</code>: The domain entered the redemption grace period.
- <code>pending_delete</code>: The registry scheduled the domain for deletion.

</summary>

One of the following:

"active"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%200">Link to this property</a>

"registration\_pending"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%201">Link to this property</a>

"transfer\_pending"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%202">Link to this property</a>

"expired"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%203">Link to this property</a>

"suspended"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%204">Link to this property</a>

"redemption\_period"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%205">Link to this property</a>

"pending\_delete"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20status%20%3E%20(member)%206">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)%20%3E%20(property)%20status">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_get_response%20%3E%20(schema)>)

<details>

<summary>

RegistrationEditResponse {completed, created\_at, links, 4 more }

Status of an async registration workflow.

</summary>

completed: boolean

Indicates whether the workflow reached a terminal state. A <code>succeeded</code> or <code>failed</code> state returns <code>true</code>; <code>pending</code>, <code>in_progress</code>, <code>action_required</code>, and <code>blocked</code> return <code>false</code>.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20completed">Link to this property</a>

created\_at: string

formatdate-time

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

links: Links {self, resource }

</summary>

self: string

URL to this status resource.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20links%20%3E%20(property)%20self">Link to this property</a>

resource?: string

URL to the domain resource.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20links%20%3E%20(property)%20resource">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20links">Link to this property</a>

<details>

<summary>

state: "pending"| "in\_progress"| "action\_required"| 3 more

Describes the workflow lifecycle state.

- <code>pending</code>: The workflow awaits processing.
- <code>in_progress</code>: Processing started. Continue polling <code>links.self</code>. An internal deadline limits the duration of this state.
- <code>action_required</code>: The workflow pauses for user action. See <code>context.action</code> for details. Stop automated polling until the user completes the required action.
- <code>blocked</code>: A third party, such as the domain extension’s registry or a losing registrar, prevents progress. Continue polling because the block may resolve when the third party responds.
- <code>succeeded</code>: Terminal state. The operation completed successfully. <code>completed</code> equals <code>true</code>. For registrations, <code>context.registration</code> contains the resulting registration resource.
- <code>failed</code>: Terminal state. The operation failed. <code>completed</code> equals <code>true</code>. See <code>error.code</code> and <code>error.message</code> for the reason. Require user review before retrying.

</summary>

One of the following:

"pending"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"in\_progress"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

"action\_required"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%202">Link to this property</a>

"blocked"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%203">Link to this property</a>

"succeeded"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%204">Link to this property</a>

"failed"

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

updated\_at: string

formatdate-time

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

context?: Record&lt;string, unknown&gt;

Provides workflow-specific data.

For domain-centric workflows, <code>context.domain_name</code> identifies the workflow subject.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20context">Link to this property</a>

<details>

<summary>

error?: Error| null

Provides error details when a workflow reaches the <code>failed</code> state. The workflow type (registration, update, etc.) and underlying registry response determine the specific codes and messages. Workflow error codes differ from immediate HTTP error <code>errors[].code</code> values in non-2xx responses. Surface <code>error.message</code> to the user for context.

</summary>

code: string

Machine-readable error code identifying the failure reason.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20code">Link to this property</a>

message: string

Human-readable explanation of the failure. May include registry-specific details.

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20message">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)%20%3E%20(property)%20error">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox.registrations%20%3E%20(model)%20registration_edit_response%20%3E%20(schema)>)

#### Registrar SandboxRegistration Status

##### [Get Registration Status](https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox/subresources/registration_status/methods/get)

client.registrarSandbox.registrationStatus.get(stringdomainName, RegistrationStatusGetParams {account\_id } params, RequestOptionsoptions?): [RegistrationStatusGetResponse](<https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)>) {completed, created\_at, links, 4 more }

GET/accounts/{account\_id}/registrar-sandbox/registrations/{domain\_name}/registration-status

##### ModelsExpand Collapse

<details>

<summary>

RegistrationStatusGetResponse {completed, created\_at, links, 4 more }

Status of an async registration workflow.

</summary>

completed: boolean

Indicates whether the workflow reached a terminal state. A <code>succeeded</code> or <code>failed</code> state returns <code>true</code>; <code>pending</code>, <code>in_progress</code>, <code>action_required</code>, and <code>blocked</code> return <code>false</code>.

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20completed">Link to this property</a>

created\_at: string

formatdate-time

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

links: Links {self, resource }

</summary>

self: string

URL to this status resource.

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20links%20%3E%20(property)%20self">Link to this property</a>

resource?: string

URL to the domain resource.

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20links%20%3E%20(property)%20resource">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20links">Link to this property</a>

<details>

<summary>

state: "pending"| "in\_progress"| "action\_required"| 3 more

Describes the workflow lifecycle state.

- <code>pending</code>: The workflow awaits processing.
- <code>in_progress</code>: Processing started. Continue polling <code>links.self</code>. An internal deadline limits the duration of this state.
- <code>action_required</code>: The workflow pauses for user action. See <code>context.action</code> for details. Stop automated polling until the user completes the required action.
- <code>blocked</code>: A third party, such as the domain extension’s registry or a losing registrar, prevents progress. Continue polling because the block may resolve when the third party responds.
- <code>succeeded</code>: Terminal state. The operation completed successfully. <code>completed</code> equals <code>true</code>. For registrations, <code>context.registration</code> contains the resulting registration resource.
- <code>failed</code>: Terminal state. The operation failed. <code>completed</code> equals <code>true</code>. See <code>error.code</code> and <code>error.message</code> for the reason. Require user review before retrying.

</summary>

One of the following:

"pending"

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"in\_progress"

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

"action\_required"

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%202">Link to this property</a>

"blocked"

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%203">Link to this property</a>

"succeeded"

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%204">Link to this property</a>

"failed"

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

updated\_at: string

formatdate-time

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

context?: Record&lt;string, unknown&gt;

Provides workflow-specific data.

For domain-centric workflows, <code>context.domain_name</code> identifies the workflow subject.

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20context">Link to this property</a>

<details>

<summary>

error?: Error| null

Provides error details when a workflow reaches the <code>failed</code> state. The workflow type (registration, update, etc.) and underlying registry response determine the specific codes and messages. Workflow error codes differ from immediate HTTP error <code>errors[].code</code> values in non-2xx responses. Surface <code>error.message</code> to the user for context.

</summary>

code: string

Machine-readable error code identifying the failure reason.

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20code">Link to this property</a>

message: string

Human-readable explanation of the failure. May include registry-specific details.

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20message">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)%20%3E%20(property)%20error">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox.registration_status%20%3E%20(model)%20registration_status_get_response%20%3E%20(schema)>)

#### Registrar SandboxUpdate Status

##### [Get Update Status](https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox/subresources/update_status/methods/get)

client.registrarSandbox.updateStatus.get(stringdomainName, UpdateStatusGetParams {account\_id } params, RequestOptionsoptions?): [UpdateStatusGetResponse](<https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)>) {completed, created\_at, links, 4 more }

GET/accounts/{account\_id}/registrar-sandbox/registrations/{domain\_name}/update-status

##### ModelsExpand Collapse

<details>

<summary>

UpdateStatusGetResponse {completed, created\_at, links, 4 more }

Status of an async registration workflow.

</summary>

completed: boolean

Indicates whether the workflow reached a terminal state. A <code>succeeded</code> or <code>failed</code> state returns <code>true</code>; <code>pending</code>, <code>in_progress</code>, <code>action_required</code>, and <code>blocked</code> return <code>false</code>.

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20completed">Link to this property</a>

created\_at: string

formatdate-time

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

links: Links {self, resource }

</summary>

self: string

URL to this status resource.

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20links%20%3E%20(property)%20self">Link to this property</a>

resource?: string

URL to the domain resource.

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20links%20%3E%20(property)%20resource">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20links">Link to this property</a>

<details>

<summary>

state: "pending"| "in\_progress"| "action\_required"| 3 more

Describes the workflow lifecycle state.

- <code>pending</code>: The workflow awaits processing.
- <code>in_progress</code>: Processing started. Continue polling <code>links.self</code>. An internal deadline limits the duration of this state.
- <code>action_required</code>: The workflow pauses for user action. See <code>context.action</code> for details. Stop automated polling until the user completes the required action.
- <code>blocked</code>: A third party, such as the domain extension’s registry or a losing registrar, prevents progress. Continue polling because the block may resolve when the third party responds.
- <code>succeeded</code>: Terminal state. The operation completed successfully. <code>completed</code> equals <code>true</code>. For registrations, <code>context.registration</code> contains the resulting registration resource.
- <code>failed</code>: Terminal state. The operation failed. <code>completed</code> equals <code>true</code>. See <code>error.code</code> and <code>error.message</code> for the reason. Require user review before retrying.

</summary>

One of the following:

"pending"

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%200">Link to this property</a>

"in\_progress"

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%201">Link to this property</a>

"action\_required"

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%202">Link to this property</a>

"blocked"

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%203">Link to this property</a>

"succeeded"

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%204">Link to this property</a>

"failed"

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state%20%3E%20(member)%205">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20state">Link to this property</a>

updated\_at: string

formatdate-time

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20updated_at">Link to this property</a>

context?: Record&lt;string, unknown&gt;

Provides workflow-specific data.

For domain-centric workflows, <code>context.domain_name</code> identifies the workflow subject.

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20context">Link to this property</a>

<details>

<summary>

error?: Error| null

Provides error details when a workflow reaches the <code>failed</code> state. The workflow type (registration, update, etc.) and underlying registry response determine the specific codes and messages. Workflow error codes differ from immediate HTTP error <code>errors[].code</code> values in non-2xx responses. Surface <code>error.message</code> to the user for context.

</summary>

code: string

Machine-readable error code identifying the failure reason.

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20code">Link to this property</a>

message: string

Human-readable explanation of the failure. May include registry-specific details.

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20error%20%3E%20(property)%20message">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)%20%3E%20(property)%20error">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox.update_status%20%3E%20(model)%20update_status_get_response%20%3E%20(schema)>)

#### Registrar SandboxExtensions

##### [List extensions](https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox/subresources/extensions/methods/list)

client.registrarSandbox.extensions.list(ExtensionListParams {account\_id, cursor, direction, 3 more } params, RequestOptionsoptions?): CursorPagination< [ExtensionListResponse](<https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_list_response%20%3E%20(schema)>) {metadata, registration\_schema, transfer\_schema } >

GET/accounts/{account\_id}/registrar-sandbox/extensions

##### [Get extension](https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox/subresources/extensions/methods/get)

client.registrarSandbox.extensions.get(stringextension, ExtensionGetParams {account\_id } params, RequestOptionsoptions?): [ExtensionGetResponse](<https://developers.cloudflare.com/api/typescript/resources/registrar_sandbox#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_get_response%20%3E%20(schema)>) {metadata, registration\_schema, transfer\_schema }

GET/accounts/{account\_id}/registrar-sandbox/extensions/{extension}

##### ModelsExpand Collapse

<details>

<summary>

ExtensionListResponse {metadata, registration\_schema, transfer\_schema }

Extension entry with metadata and JSON Schema documents for registration and transfer operations.

</summary>

<details>

<summary>

metadata: Metadata {name, tld }

Extension metadata.

</summary>

name: string

The full name of the extension. For example, “co.uk”, or “uk”.

<a href="#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_list_response%20%3E%20(schema)%20%3E%20(property)%20metadata%20%3E%20(property)%20name">Link to this property</a>

tld: string

The TLD of the extension. For example, for “co.uk”, it is “uk”. For “uk”, it is “uk”.

<a href="#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_list_response%20%3E%20(schema)%20%3E%20(property)%20metadata%20%3E%20(property)%20tld">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_list_response%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>

registration\_schema: unknown

JSON Schema describing the expected input structure for registration operations on this extension.

<a href="#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_list_response%20%3E%20(schema)%20%3E%20(property)%20registration_schema">Link to this property</a>

transfer\_schema: unknown

JSON Schema describing the expected input structure for transfer operations on this extension.

<a href="#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_list_response%20%3E%20(schema)%20%3E%20(property)%20transfer_schema">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_list_response%20%3E%20(schema)>)

<details>

<summary>

ExtensionGetResponse {metadata, registration\_schema, transfer\_schema }

Extension entry with metadata and JSON Schema documents for registration and transfer operations.

</summary>

<details>

<summary>

metadata: Metadata {name, tld }

Extension metadata.

</summary>

name: string

The full name of the extension. For example, “co.uk”, or “uk”.

<a href="#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_get_response%20%3E%20(schema)%20%3E%20(property)%20metadata%20%3E%20(property)%20name">Link to this property</a>

tld: string

The TLD of the extension. For example, for “co.uk”, it is “uk”. For “uk”, it is “uk”.

<a href="#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_get_response%20%3E%20(schema)%20%3E%20(property)%20metadata%20%3E%20(property)%20tld">Link to this property</a>

</details>

<a href="#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_get_response%20%3E%20(schema)%20%3E%20(property)%20metadata">Link to this property</a>

registration\_schema: unknown

JSON Schema describing the expected input structure for registration operations on this extension.

<a href="#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_get_response%20%3E%20(schema)%20%3E%20(property)%20registration_schema">Link to this property</a>

transfer\_schema: unknown

JSON Schema describing the expected input structure for transfer operations on this extension.

<a href="#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_get_response%20%3E%20(schema)%20%3E%20(property)%20transfer_schema">Link to this property</a>

</details>

[Link to this property](<#(resource)%20registrar_sandbox.extensions%20%3E%20(model)%20extension_get_response%20%3E%20(schema)>)