v1 demo
Create a new user account
Create a new user account and return JWT authentication token.
This endpoint:
- Creates a new user with email and password
- Automatically creates a default organization if not provided
- Generates JWT authentication token
- Sends welcome email to the new user
- Returns user information and access token
**Authentication**: No authentication required
post/v1/demo/signup
Request body
Example request
{
"email": "user@example.com",
"name": "John Doe",
"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"
}
}