Skip to main content
Cloudflare Management

List zones for a connected Cloudflare credential

Lists zones accessible to a connected Cloudflare credential. Use the positive id from getCloudflareCredentials as credentialId (not a native Cloudflare account ID); use returned zone id and name for DNS automation or default-alias settings.

GET
/account/cloudflare/credentials/{credentialId}/zones
Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

credentialIdintegerrequired

Positive Webdock credential id from getCloudflareCredentials; not the native Cloudflare account id.

Required range: 1 <= x

Response

application/json

Cloudflare zone list

itemsobject[]