Skip to content
Open Dashboard

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

  • Rotate or revoke: Manage API Key
  • Monitor usage: The same page shows your remaining quota — see Rate Limits & Quota for how quota is calculated.
  • One active key: You can only have one active API key. Revoke the current key before creating a new one — see API Key Is Denied for the steps.

Unauthenticated Requests

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

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

If your key is denied even though you have a paid plan, it may belong to a different NexLev account. See API Key Is Denied.

Last updated