List extensions
Returns metadata and JSON Schema documents describing the expected input structure for registration operations on each supported extension (TLD).
This endpoint uses cursor-based pagination. Results are ordered by
extension name by default. To fetch the next page, pass the cursor
value from the result_info object in the response as the cursor
query parameter in your next request. An empty cursor string
indicates there are no more pages.
Supports HTTP conditional GET via ETag. Include the ETag value
from a previous response in an If-None-Match header to receive a
304 Not Modified when the data has not changed.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Query Parameters
Opaque token from a previous response’s result_info.cursor.
Pass this value to fetch the next page of results. Omit (or
pass an empty string) for the first page.
List extensions
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/registrar-sandbox/extensions \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"result": [
{
"metadata": {
"name": "name",
"tld": "tld"
},
"registration_schema": {}
}
],
"success": true,
"result_info": {
"count": 0,
"cursor": "cursor",
"per_page": 0
}
}Returns Examples
{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"result": [
{
"metadata": {
"name": "name",
"tld": "tld"
},
"registration_schema": {}
}
],
"success": true,
"result_info": {
"count": 0,
"cursor": "cursor",
"per_page": 0
}
}