List connected Cloudflare zones
The zones in which OpenPanel writes your own domains' DNS records. Tokens are never returned.
bearerAuthorizationBearer <token>An API key (opk_…) or a CLI token (opc_…).
limit?integerHow many items to return, 1 to 100. Default 50.
1 <= value <= 100cursor?stringThe nextCursor of the previous page.
length <= 500List connected Cloudflare zones
application/json- response
data*array<>nextCursor*|Pass as cursor for the next page; null on the last.
curl "https://openpanel.sh/api/v1/dns-zones" \ -H "Authorization: Bearer $OPENPANEL_TOKEN"{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "provider": "cloudflare", "zoneId": "string", "name": "string", "sslMode": "string", "createdAt": "2019-08-24T14:15:22Z", "checkedAt": "2019-08-24T14:15:22Z", "createdByName": "string", "domains": 0 } ], "nextCursor": "string"}Upload a certificate for a domain PUT
For your own domain once it is verified: a certificate chain and its private key, which the edge then serves for that domain instead of its own. It is refused unless the chain is in order, its first certificate covers the domain and is valid now, and the key matches it. The key is kept sealed and never returned; replacing uploads over the one before.
Connect a Cloudflare zone POST
With a Cloudflare API token limited to one zone (Zone → Zone → Read and Zone → DNS → Edit), checked with Cloudflare and kept sealed. From then on, each own domain you add in that zone gets its records written by OpenPanel: a proxied CNAME to edge.openpanel.sh and the TXT proof, and the domain is verified by itself; removing the domain removes them. Set the zone's SSL/TLS mode to Full. Organization admins only.