Skip to content

Create API Key

What is an API Key?

An API Key (token) is your credential for accessing RouterBus APIs. You need to create one before using the service.

Steps

  1. Log in and go to the Token Management page
  2. Click Add Token
  3. Enter a name for easy identification
  4. Select available models (optional, defaults to all)
  5. Set quota limit (optional)
  6. Click Submit

Get Your Key

After creation, the system will display your API Key. Copy and save it immediately.

Important

The API Key is only shown once at creation time. If lost, you will need to create a new one.

API Key Format

Your API Key looks like:

sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Usage

Include the API Key in the request header:

Authorization: Bearer sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Or configure it as an environment variable for CLI tools. See Configure CLI for details.

RouterBus API Documentation