Quick links
Chimlet home

Documentation

Chimlet home

Create an account

Create a user and start an account session.

POST/api/v1/usersJump to request example

Request example

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

Response example

Response
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
Headers
Location: /api/v1/users/me

Authentication

Public endpoint

Authentication overview

Request 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.