Skip to content

Get Cloudflare API

With a Cloudflare API token, the panel manages the DNS records of your domains for you: when you add a domain (a subdomain of a domain that is on your Cloudflare account) on the Domains page, the panel creates or updates its A / AAAA record with your server's IP, proxied (orange cloud) for CDN domains and DNS only for direct ones. This page is for Hiddify Manager v14.5.

Note

Older versions also created Cloudflare Workers with this token. v14.5 does not: see How to use the Cloudflare worker domain.

Follow the steps below to get the token.

  1. Sign in to your Cloudflare account and add your domain to it. More: Domain types and how to register them.
  2. Open My Profile › API Tokens (the profile icon at the top right › My Profile › API Tokens). The page is called User API Tokens. Click Create Token.

    User API Tokens page with the Create Token button

  3. Under Token name, type a name, for example HiddifyManager. Under Policies, click Edit zone DNS.

    Token name and the Edit zone DNS policy

  4. A Zone policy with DNS Write is added. Click its pencil to choose which domains it covers.

    The Zone policy with DNS Write

  5. Keep Include and choose Specific zone and your domain, or All zones if you will use several domains. Under DNS & Zones, DNS must be on Edit: the template already did this.

    All zones, and DNS set to Edit

  6. Leave Token expiration on No expiration (or choose a date), and click Continue to summary at the bottom.

    Continue to summary

  7. Check the summary (DNS: Edit) and click Create Token.

    Token Summary with the Create Token button

  8. Copy the token. Cloudflare shows it only once; if you lose it, create a new one.

    The new token, shown once (older dashboard)

How to use Cloudflare API in HiddifyManager

After creating the token, open Settings in the panel and turn on Show Advanced Settings at the top of the page. In the Very Advanced Settings card, paste the token into Cloudflare API and save.

The Cloudflare API field in Very Advanced Settings

Now, when you add a domain on the Domains page whose main domain is on your Cloudflare account, its DNS record is created automatically. If the token is wrong or lacks the permission, saving the domain shows a Cloudflare error with the reason.


Last update: December 3, 2026

Comments