Authentication
Authentication
All API endpoints (except health checks) require authentication using JWT tokens.
Login Endpoint
POST /api/v1.0/auth/login
Content-Type: application/json
{
"email": "user@example.com",
"password": "password123"
}
Response
{
"user": {
"email": "user@example.com",
"name": "Your Name",
"id": "880055db-ea94-41cd-913c-bdea3fd745a7",
"organizationId": "00f0c471-0a5d-486f-bbc0-e834e0b47992",
"createdAt": "2025-06-25T11:21:58.824015Z",
"updatedAt": "2025-06-25T11:21:58.824017Z",
"status": "ACTIVE"
},
"token": "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtYW5hZ2VtZW50..."
}
Using the Token
Include the token in all subsequent requests:
Authorization: Bearer <token>