Hanzo
OpenapiCloudflare

Lists the Cloudflare zones the org's connected API token can see, paged and…

Lists the Cloudflare zones the org's connected API token can see, paged and filtered by the query parameters Cloudflare itself accepts.

GET /v1/cloudflare/zones

Addresshttps://api.hanzo.ai/v1/cloudflare/zones
MethodGET
Operationget_cloudflare_zones
AuthAuthorization: Bearer $HANZO_API_KEY

Lists the Cloudflare zones the org's connected API token can see, paged and filtered by the query parameters Cloudflare itself accepts. Zones are token-scoped by Cloudflare, so no account is resolved. Any org member may read.

Zone and DNS-record MANAGEMENT is not here: it stays on the Hanzo DNS plane (/v1/dns). This only surfaces the Cloudflare zone objects the asset plane needs — a zone id is what addresses a Worker route or an analytics read.

Request

6 fields.

FieldInTypeRequiredDescription
pagequerystringPage is the 1-based page of zones to return.
per_pagequerystringPerPage is how many zones one page holds.
namequerystringName filters to the zone with this domain name.
statusquerystringStatus filters by zone status (active, pending, initializing, …).
orderquerystringOrder names the field to sort by, and Direction sorts asc or desc.
directionquerystring

Response

StatusBodyMeaning
200ok

200 body — 1 field.

FieldInTypeAlwaysDescription
(body)bodyanyyes

Failure carries the platform error shape — see Errors.

Examples

hanzo cloudflare zones list

Cloudflare API · All Hanzo APIs · Interactive reference

How is this guide?

On this page