Sync authenticated user

Uses bearer auth to create or update the corresponding backend user record. New client integrations should call this once after sign-in before creating sessions.

Authentication

AuthorizationBearer

Send the agent framework auth token as Authorization: Bearer <token>.

Request

This endpoint expects an object.

Response

User synced successfully.
idstring
emailstringformat: "email"
preferred_languagestring
response_stylestring
is_activeboolean
preferencesmap from strings to any
created_atdatetime
updated_atdatetime
full_namestring or null
avatar_urlstring or null

Errors

401
Unauthorized Error