Auth
Authentication and JWT generation.
The Auth module authenticates partner users and returns the JWT required to access protected endpoints.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Authentication and JWT generation.
POST /v2/auth/login
{
"email": "partner@example.com",
"password": "secret123"
}
{
"success": true,
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"user": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Partner User",
"email": "partner@example.com",
"role": "tenant",
"status": "ACTIVE",
"completedOnboardingSteps": ["business_info", "bank_details"]
},
"message": "Login successful"
}
Authorization: Bearer {accessToken}
| Code | Cause |
|---|---|
400 | The email or password has an invalid format. |
401 | Invalid credentials, or an expired token on protected endpoints. |