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

emailstring email required

User's email address

passwordstring required

User's password

Example request

{
  "email": "user@example.com",
  "password": "securepassword123"
}

Response

Successful Response

access_tokenstring required

JWT access token

token_typestring

Token type

expires_ininteger required

Token expiration time in seconds

userobject required

User information

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"
  }
}

Changes