internal

Allocate a global user.id (US allocator)

Service-to-service RPC. Bearer ALLOCATE_USER_ID_SECRET, not a user token. Hash-only body. Idempotent on email_hash. 404 on Canada stg/prod. Never send raw email.

post/internal/allocate-user-id

Request body

email_hashstring required

HMAC-SHA256 peppered email hash as 64 hex chars. Raw email is rejected.

home_region'ca' | 'us' required

Response

minted or replayed user.id

user_idinteger required

Changes