Edge Developer Platform
  • Pages
    • Product Introduction
    • Quick Start
      • Importing a Git Repository
      • Starting From a Template
      • Direct Upload
    • Framework Guide
    • Project Guide
      • Project Management
      • edgeone.json
      • Configuring Cache
      • Error Codes
    • Build Guide
    • Deployment Guide
      • Overview
      • Create Deploys
      • Manage Deploys
      • Deploy Button
      • Use Github Actions
    • Domain Management
      • Overview
      • Custom Domain Name
      • Configuring an HTTPS Certificate
      • How to Configure a DNS CNAME Record
    • Pages Functions
    • KV Storage
    • Edge AI
    • API Token
    • EdgeOne CLI
    • Pages MCP
    • Integration Guide
      • 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
      • 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

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


Getting an API Token


How to create an API Token:
1. Access the Pages console, then 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.

Notes:
Strongly recommend that you set an expiration time for your API Token. As a standard security measure, this can effectively ensure your information security. You can select the expiration time from the drop-down list, with a valid period ranging from 1 day to 1 year. After creation, you can view the expiration time on the API Token list page.</strongly recommend that you set an expiration time for your API Token. As a standard security measure, this can effectively ensure your information security. You can select the expiration time from the drop-down list, with a valid period ranging from 1 day to 1 year. After creation, you can view the expiration time on the API Token list page.


How to Use

MCP Server

Use Pages Deploy MCP Server to quickly Deploy local Web static resource content to EdgeOne Pages 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 on Pages. For details, refer to Pages MCP - Configuration Method.


Integrating Within a Third-Party Platform

You can also use EdgeOne CLI to build automatic deployment and quickly Deploy the built product to the Pages platform through the CLI in your CI/CD pipeline. For specific integration methods, refer to the document CI/CD Pipeline Integration.