Reference / Users

Create a user in the resolved application.

POST /v1/users
Secret API key operationId: create_user

Authorization

Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.

Header parameters

  • x-application-id string<uuid> required

    Resolved tenant (Phase 0 placeholder)

Request body · required

  • primary_email string

Responses

201 User created
{
  "data": {
    "created_at": "2026-01-15T09:30:00Z",
    "email_verified": false,
    "id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f",
    "primary_email": "string",
    "profile": {},
    "status": "string"
  },
  "error": {
    "code": "string",
    "message": "string"
  },
  "meta": {
    "timestamp": "string"
  },
  "success": false
}
401 No tenant resolved

Request

curl -X POST "http://localhost:8080/v1/users" \
  -H "x-application-id: 018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f" \
  -H "Content-Type: application/json" \
  -d '{
  "primary_email": "user@example.com"
}'

Try it

live request
POST http://localhost:8080/v1/users

Header parameters

Request body

application/json