Create a new user account.
POSThttps://api.aitronos.com/v1/user
email string required
Valid email address.
password string required
User password (minimum 8 characters).
first_name string optional
User's first name.
last_name string optional
User's last name.
Returns the created User object with a 201 status code.
Bash
- Bash
- Python
- JavaScript
curl -X POST \
"https://api.aitronos.com/v1/user" \
-H "Content-Type: application/json" \
-d '{
"email": "newuser@example.com",
"password": "SecurePassword123!",
"first_name": "Jane",
"last_name": "Smith"
}'Response:
{
"id": "usr_xyz789",
"email": "newuser@example.com",
"first_name": "Jane",
"last_name": "Smith",
"is_active": true,
"last_verified": null,
"global_role_id": null,
"created_at": "2025-11-19T14:30:00Z",
"updated_at": "2025-11-19T14:30:00Z"
}