๐ŸŒ AIๆœ็ดข & ไปฃ็† ไธป้กต
Skip to content
Cloudflare Docs

Account API tokens

While user tokens act on behalf of a particular user and inherit a subset of that user's permissions, account API tokens allow you to set up durable integrations that can act as service principals with their own specific set of permissions. This approach is ideal for scenarios like CI/CD, or building integrations with external services like SEIMs where it is important that the integration continues working, even long after the user who configured the integration may have left your organization altogether. User tokens are better for ad hoc tasks like scripting, where acting as the user is ideal and durability is less of a concern.

Create an account owned token

  1. Log into the Cloudflare dashboard โ†—.
  2. Go to Manage Account > Account API Tokens.
  3. Select Create Token and fill in the token name, permissions, and the optional expiration date for the token.
  4. Select Continue to summary and review the details.
  5. Select Create Token.

Alternatively, you can create a token using the account API token creation API.

Refer to the blog post โ†— for more information.

Compatibility matrix

Account API tokens are generally available for all accounts. Some services may not support account API tokens yet. Refer to the compatibility matrix below for the latest status.

ProductCompatibility
Accessโœ…
Account Analyticsโœ…
Account Managementโœ…
AI Gatewayโœ…
API Shieldโœ…
Argoโœ…
Billingโœ…
Cacheโœ…
Tiered Cacheโœ…
Cloud Connectorโœ…
Configuration Rulesโœ…
Custom Listsโœ…
Custom Pagesโœ…
D1โœ…
Data Loss Preventionโœ…
Digital Experience Monitoringโœ…
Distributed Webโœ…
DNSโœ…
Durable Objectsโœ…
Email Relayโœ…
Secure Web Gatewayโœ…
Healthchecksโœ…
Hyperdriveโœ…
Imagesโœ…
Intel Data PlatformโŒ
Load Balancingโœ…
Log Explorerโœ…
Magic Network Monitoringโœ…
Magic Transitโœ…
Magic WANโœ…
Managed Rulesโœ…
Network Error Loggingโœ…
Page RulesโŒ
Page Shieldโœ…
Pagesโœ…
Pub/SubโŒ
R2โœ…
Radarโœ…
RegistrarโŒ
Rulesetsโœ…
Spectrumโœ…
Speedโœ…
SSL/TLSโœ…
Streamโœ…
Super Bot Fight ModeโŒ
Traceโœ…
Tunnelsโœ…
TurnstileโŒ
Vectorizeโœ…
Waiting Roomโœ…
Workersโœ…
Workers AIโœ…
Workers KVโœ…
Workers Observabilityโœ…
Workers Queuesโœ…
Workflowsโœ…
Zarazโœ…
Zero Trust Client PlatformโŒ
Zero Trust Devices and Servicesโœ…
Zone/Domain Managementโœ