Back to Support
Help / Documentation
Cloudflare — Zone, Account & API Token
Share your Zone ID, Account ID, and a read-only token for firewall & traffic data.
1
Find Zone ID & Account ID
Log in to dash.cloudflare.com and select your domain.

On the domain Overview page, look at the right sidebar. Both IDs are listed there under the API section:
Zone ID
a1b2c3d4e5f678901234567890abcdef32-character hex
Account ID
f09e8d7c6b5a4321fedcba0987654321Listed below the Zone ID
Send after this step: Zone ID (32-char hex) and Account ID (below Zone ID in the sidebar).
2
Create API Token — Firewall Read & Traffic Read
Go to My Profile → API Tokens → Create Token → Create Custom Token.
Add exactly these two permissions, set Zone Resources to your specific domain, then create:
Permissions (add both)
- Zone › Firewall Services › Read
- Zone › Analytics › Read
Zone resources
Include Specific zone › yourdomain.com
Click Continue to summary → Create Token. Copy the value immediately — it is shown only once.
The token value cannot be retrieved later. If you lose it, roll the token and create a new one.
Send after this step: API Token (Zone:Firewall Services:Read + Zone:Analytics:Read).
Complete checklist — everything to send
| Item | Where to find it |
|---|---|
| Cloudflare Zone ID | CF domain Overview → right sidebar → API section |
| Cloudflare Account ID | CF domain Overview → right sidebar, below Zone ID |
| Cloudflare API Token | My Profile → API Tokens → Zone:Firewall Services:Read + Zone:Analytics:Read |
Also see the Google Analytics & Search Console documentation.