Create an account
Create a user and start an account session.
Request example
curl --fail-with-body --include --request POST \
--url "$CHIMLET_BASE_URL/api/v1/users" \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"email": "dev@example.com",
"password": "replace-with-your-password",
"name": "Example Developer"
}
JSONResponse example
201 Created
{
"user": {
"id": "01KJ4CJW0R37VJ4C5JJAK3ZMRN",
"email": "dev@example.com",
"name": "Example Developer",
"created_at": "2026-12-01T09:00:00Z",
"updated_at": "2026-12-01T09:00:00Z"
},
"access_token": "<CHIMLET_SESSION_TOKEN>",
"token_type": "Bearer",
"expires_at": "2026-12-08T09:00:00Z"
}Response headers
Location: /api/v1/users/meAuthentication
Public endpoint
Authentication overviewRequest fields
Request body
emailstringRequired- The account’s email address.
passwordstringRequired- The account password, 12 to 128 UTF-8 bytes.
namestringRequired- Display name, 1 to 160 UTF-8 bytes.
Usage notes
- Replace the email and password placeholders. Keep the returned access_token private.