Learn how to use the Postman API client with the CLoudflare API collection.
Using Cloudflare API with Postman Collections
Cloudflare's client API gives users great customization power and potential for automation. It can be intimidating for users that aren't familiar with APIs or Command Line Interfaces.
Postman is an API client that makes API calls easier to make by giving the user a full Graphical User Interface. With Collections you can upload all of the formatting for all of our API calls so that it's plug and play. Find the full documentation on their site, https://www.getpostman.com/collection
First you'll download the appropriate Postman client for your operating system.
They can be found at: https://www.getpostman.com/
After downloading you'll select "Import" to upload the Cloudflare API collection (found at the bottom of this article):
Then you can click on the "Cloudflare Client API v4 to the left to open all the individual API calls included in the collection:
After selecting an API call it's simple plug in play to send the request (don't forget to set your email and API key outlined below).
You'll find the Zone ID in the overview for each website in your account.
Then the API "Auth-key" is found in the your profile. For everything except Origin CA you'll use the "Global API key"
Then you just fill in your info and press send. The results will print below.
You can find documentation outlining our API endpoints at: https://api.cloudflare.com