• Product Introduction
  • Quick Start
    • Importing a Git Repository
    • Starting From a Template
    • Direct Upload
  • Framework Guide
    • Frontends
    • Backends
    • Full-stack
      • Next.js
  • Project Guide
    • Project Management
    • edgeone.json
    • Configuring Cache
    • Error Codes
  • Build Guide
  • Deployment Guide
    • Overview
    • Create Deploys
    • Manage Deploys
    • Deploy Button
    • Use Github Actions
    • Using CNB Plugin
    • Using IDE Plug-In
    • Using CodeBuddy IDE
  • Domain Management
    • Overview
    • Custom Domain
    • Configuring an HTTPS Certificate
    • How to Configure a DNS CNAME Record
  • Pages Functions
    • Overview
    • Edge Functions
    • Node Functions
  • Log Analysis
  • KV Storage
  • Edge AI
  • API Token
  • EdgeOne CLI
  • Pages MCP
  • Integration Guide
    • AI
      • Dialogue Large Models Integration
      • Large Models for Images Integration
    • Database
      • Supabase Integration
      • Pages KV Integration
    • Ecommerce
      • Shopify Integration
      • WooCommerce Integration
    • Payment
      • Stripe Integration
      • Integrating Paddle
    • CMS
      • WordPress Integration
      • Contentful Integration
      • Sanity Integration
    • Authentication
      • Supabase Integration
      • Clerk Integration
  • Best Practices
    • Using General Large Model to Quickly Build AI Application
    • Use the Deepseek-R1 model to quickly build a conversational AI site
    • Building an Ecommerce Platform with WordPress + WooCommerce and GatsbyJS
    • Building a SaaS Site Using Supabase and Stripe
    • Building a Company Brand Site Quickly
    • How to Quickly Build a Blog Site
  • Migration Guides
    • Migrating from Vercel to EdgeOne Pages
    • Migrating from Cloudflare Pages to EdgeOne Pages
    • Migrating from Netlify to EdgeOne Pages
  • Troubleshooting
  • FAQs
  • Contact Us
  • Release Notes

API Token

The Pages API Token serves as your identity credential on Pages, allowing you to interact with Pages independent of console operations.


Obtaining an API Token


How to create an API Token:
1. Visit the Pages console and switch to the "API Token" Tab.
2. Click "Create API Token"
3. Enter "Token description" to help you remember the purpose of the API Token.
4. Select "expiration time" to ensure your information security.
5. Click Submit.

Note:
We strongly recommend setting an expiration time for your API Token as a standard security measure to guarantee information security. You can select from 1 day to 1 year in the drop-down list. Once created, you can view the expiration time on the API Token list page.


How to Use

MCP Server

Deploy local Web static resource content to EdgeOne Pages quickly with the aid of Pages Deploy MCP Server and generate a public access link. After adding an API Token in the MCP configuration file, you can Deploy folders or ZIP packages to newly created or existing projects in Pages. For details, refer to Pages MCP - Configuration Method.


Integrating in a Third-Party Platform

You can also use EdgeOne CLI to build automatic deployment and quickly deploy the product to the Pages platform in your CI/CD pipeline via CLI. For the integration method, refer to the document CI/CD Pipeline Integration.