Skip to content
Docs

Authentication

Authenticate requests to the NexLev API using your API key. Learn the required header format and where to create and manage your keys.

Every NexLev API request must include your API key. There is no separate OAuth flow — a single key authenticates all endpoints documented in the NexLev API reference.

Getting an API Key

  1. Sign in to your NexLev dashboard
  2. Go to Create API Key
  3. Copy the generated key — it is shown once and cannot be recovered later, only regenerated

Request Header

Include your API key in the Authorization header of every request:

Authorization: Bearer YOUR_API_KEY

Example with curl:

curl "https://prod.dashboard.nexlev.io/api/external/channels/about?id=UCX6OQ3DkcsbYNE6H8uQQuVA" \
  -H "Authorization: Bearer YOUR_API_KEY"

Managing Your Key

Unauthenticated Requests

Requests without a valid Authorization header receive a 401 Unauthorized response:

{
  "error": "Unauthorized",
  "details": "Missing or invalid API key."
}

Last updated