Skip to main content

Authentication

The API uses your API key directly for authentication. There is no separate login endpoint to exchange credentials for a token.

Verify Credentials

Test if your API key is valid.
Authorization
string
required
Bearer token with your API key (e.g., Bearer jb_...)

Request

POST /api/auth/verify
Authorization: Bearer jb_your_api_key

Response

{
  "valid": true,
  "identity": {
    "userId": "user_123",
    "tier": "pro"
  }
}