How do I generate an x-api-key in Cloudflare?

Responsive Ad Header

Question

Grade: Education Subject: Support
How do I generate an x-api-key in Cloudflare?
Asked by:
45 Viewed 45 Answers

Answer (45)

Best Answer
(290)
You can generate an x-api-key within your Cloudflare account. Navigate to 'My Profile' -> 'API Tokens'. Here, you can create a new token, specifying the permissions it should have (e.g., DNS, Zone, Firewall) and the expiration date. The generated token will include the `x-api-key` value.