Where to grab Cloudflare "X-Auth-Key" from?

Viewed 1460

I am looking at the Cloudflare API to grab a list of domains in our Cloudflare account.

Where do I grab the Cloudflare "X-Auth-Key" from so I can run the following command:

curl.exe -X GET "https://api.cloudflare.com/client/v4/zones" -H "X-Auth-Email: xx@xx.com" -H "X-Auth-Key: xxx" -H "Content-Type: application/json";

Thanks, Steve

1 Answers

In order to get a key provided to X-Auth-Key you need to register here

Once registered, go to My profile -> API Tokens tab, there you will be able to generate a key using Create token button.

Related