Authentication

Cortex uses bearer tokens. A developer is a normal Cortex user tied to an organization.

Login

MethodPathAuthPurpose
POST/auth/loginNoneValidate credentials and return a token plus user profile.
POST /auth/login
Content-Type: application/json

{
  "email": "developer@example.com",
  "password": "..."
}

Use The Token

Authorization: Bearer <token>

Current Identity

MethodPathAuthPurpose
GET/meBearer tokenReturn the authenticated request context.