Authentication and Identification
Authentication & Identity#
FloorMemory APIs are identity-aware, but identity-agnostic.Every request must identify a user
FloorMemory does not force how you authenticate that user
Authentication (Required)#
All API calls require Bearer Token authentication.Authorize access to FloorMemory APIs
Tokens are not user tokens.
They represent your application.
User Identity (Required)#
Every conversational API requires a user_id.Must be stable and unique
Can come from your system or xFloor
Two Supported Identity Models#
Option A — You Manage Users (Most Common)#
You already have login (SSO, OAuth, email/password)
You want full control over users
Authenticate users in your system
Pass your own user_id to FloorMemory APIs
Do NOT use Registration APIs
This is the recommended approach for most products.
Option B — xFloor Manages Users#
You don’t have an auth system
You want OTP-based signup/login
Use xFloor Registration APIs
Receive a persistent xfloor_user_id
Rule of Thumb#
User identity is mandatory.
Registration APIs are optional.
If you already have users → skip registration entirely.Modified at 2026-01-21 09:42:20