Cloudflare (API key)

CDN, DDoS mitigation, Internet security, and DNS services

Go to site
Explore
/
Apps
/
Cloudflare (API key)

Cloudflare (API key) API Integrations

Build and run workflows using the Cloudflare (API key) API. Use 1000s of open source triggers and actions across 500+ apps. Or write custom code to integrate any app or API in seconds.

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://api.cloudflare.com/client/v4/user`,
  headers: {
    "X-Auth-Key": `${auths.cloudflare_api_key.API_Key}`,
    "X-Auth-Email": `${auths.cloudflare_api_key.Email}`,
  },
})
Create DNS Record

Creates a DNS Record given its zone id

 
Try it
Purge All Files

Remove ALL files from Cloudflare's cache.

 
Try it
Purge Files By Url

Removes one or more files from Cloudflare's cache either by specifying URLs.

 
Try it
Update DNS record

Updates a DNS Record given its zone id

 
Try it

Authentication

Cloudflare (API key) uses API keys for authentication. When you connect your Cloudflare (API key) account, Pipedream securely stores the keys so you can easily authenticate to Cloudflare (API key) APIs in both code and no-code steps.

Visit My Profile to generate an API Token. More details in Cloudflare docs.