Skip to main content

POST /v1/end-users

POST 

/v1/end-users

Pre-register an end user (SPEC-14 §10.1). Useful to create the record before the first interaction. Idempotent: if user_id already exists in the account the existing record is returned with 200 and the supplied metadata is IGNORED (use PATCH to mutate); a brand-new user is created with 201. This never collides with the implicit creation on first /v1/respond — both converge on the same (account, user_id) row. 409 if the user_id is under deletion. Requires the read_write scope.

Request

Responses

Default Response

Response Headers
    X-Request-Id

    ULID stamped on every response and propagated through error envelopes. Use it when filing support tickets — it identifies the exact request in the structured logs (requestId field).

    X-RateLimit-Limit

    Requests-per-second ceiling for the current bucket (per-organization for authenticated calls, per-IP for public ones).

    X-RateLimit-Remaining

    Tokens left in the bucket after this request.

    X-RateLimit-Reset

    ISO-8601 timestamp when the bucket will be fully refilled.