internal

Upsert a Canada directory reservation

Service-to-service RPC. Bearer ALLOCATE_USER_ID_SECRET. Canada hosts the directory so /auth/region can see US-home reservations. Hash-only body. Idempotent on email_hash. 404 on US stg/prod. Never send raw email.

post/internal/upsert-region-reservation

Request body

email_hashstring required

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

home_region'ca' | 'us' required
user_idinteger required

Response

written or replayed

user_idinteger required

Changes

Changed in 1 of the 15 revisions of this API.1