Cloudflare API
- URL
-
https://api.cloudflare.com/client/v4 - Docs
- https://developers.cloudflare.com/api/
Authorization: Bearer <credential> Create a token in the Cloudflare dashboard API Tokens page. Choose Create Token, pick a template or custom permissions, scope it to the needed account/zone resources, then copy the token secret when shown. Cloudflare recommends API tokens over the legacy global key. For durable service-principal style integrations, you can instead create an account-owned token from Manage Account → Account API Tokens as documented in Account API tokens.
X-Auth-Key: <credential> + Cloudflare Global API key + account email X-Auth-Email: <credential> discovered In the Cloudflare dashboard, go to My Profile → API Tokens and in API Keys view the Global API Key. This legacy credential is only available after verifying your account email address, and Cloudflare recommends using API tokens instead. When using this auth method against the API, you send the global key together with the account email address.