C

Cloudflare API

REST discovered

Details
URL
https://api.cloudflare.com/client/v4/
Docs
https://developers.cloudflare.com/api/
Authentication
Cloudflare API token bearer discovered Get token ↗
Authorization: Bearer <credential>

Create a token in the Cloudflare API Tokens page or via Manage Account → API Tokens for account-owned tokens, then choose a template or custom permissions and copy the token secret shown once. For Workers AI specifically, the REST API guide also offers Create a Workers AI API Token from the dashboard; custom tokens need Workers AI - Read and Workers AI - Edit permissions.

Cloudflare Global API key + account email X-Auth-Key: <credential> + Cloudflare Global API key + account email X-Auth-Email: <credential> discovered
Cloudflare Global API key + account email compound Get key ↗

This legacy credential is available from User Profile → API Tokens in the Cloudflare dashboard. View Global API Key on the API keys page; it is only available after your account email is verified. Use it together with your Cloudflare account email address in X-Auth-Key and X-Auth-Email.