Skip to main content

Authentication

The Scenext API uses Bearer Token authentication. You need to include your API key in the Header of each API request.

Getting API Key

  1. Log in to scenext.cn
  2. Go to your personal center
  3. Find “API Keys Management”
  4. Click “Create API Key”
  5. Copy and save your API key
Please keep your API key safe and do not expose it in client-side code.

Using API Key

Include the following Header in each API request:

Examples

Python

JavaScript

cURL

Error Handling

If authentication fails, the API will return a 401 status code:
Make sure your API key is valid and correctly formatted.