Create User
POST /api/users
Creates a new user account.
Request Body
{
"name": "Charlie",
"email": "[email protected]"
}
| Field | Type | Required | Description |
|---|---|---|---|
name |
string | Yes | Display name |
email |
string | Yes | Email address |
Response
{
"id": 3,
"name": "Charlie",
"email": "[email protected]",
"created_at": "2026-01-15T10:30:00Z"
}
Note
The created_at field is automatically set by the server.