v1 demo
Sign in with email and password
Authenticate user with email and password and return JWT token.
This endpoint:
- Validates user credentials (email and password)
- Generates JWT authentication token
- Returns user information and access token
- Token expires after 24 hours
**Authentication**: No authentication required
post/v1/demo/signin
Request body
Example request
{
"email": "user@example.com",
"password": "securepassword123"
}Response
Successful Response
Example response
{
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
"expires_in": 86400,
"token_type": "bearer",
"user": {
"email": "user@example.com",
"name": "John Doe",
"user_id": "123e4567-e89b-12d3-a456-426614174000"
}
}