API referenceSections

POST /api/v1/auth/login

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

POST /api/v1/auth/login

No authentication.

Request body

required

Content type: application/json

object
  • no other properties
  • email string required
  • password string required
Example
{
  "email": "string",
  "password": "string"
}

Responses

200 Session created; cookie set

Content type: application/json

  • session_id string required
  • csrf_token string required
  • expires_at string (date-time) required
  • mfa string required
Example
{
  "session_id": "string",
  "csrf_token": "string",
  "expires_at": "2026-01-01T00:00:00Z",
  "mfa": "string"
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required