Skip to main content

Authentication Endpoints

User authentication and session management endpoints.

EndpointMethodDescription
auth.loginPOSTLogin with email/password
auth.logoutPOSTLogout and invalidate session
auth.signupPOSTCreate new user account
auth.token-refreshPOSTRefresh access token
auth.userGETGet current user info
auth.user-updatePUTUpdate current user

Overview

The Cadenza API uses OAuth2 Bearer token authentication. Obtain tokens via the login endpoint and include them in all authenticated requests.

Authentication Flow

  1. Login - POST to /api/v3/auth/login with credentials
  2. Use Token - Include Authorization: Bearer {token} in requests
  3. Refresh - When token expires, POST to /api/v3/auth/token/refresh
  4. Logout - POST to /api/v3/auth/logout to invalidate session

See Also