Overview
This section documents React types and interfaces used with the Headless Web SDK hooks and APIs. Refer to the cards below for more information on each type.Authentication and tokens
UseAuthParams
Parameters for the
useAuth hookLoginResponse
Response shape from the login flow
RegistrationResponse
Response shape from registration
UpdatePartnerTokenResponse
Response from partner token updates
Ambient session
SessionContext
Patient, provider, and visit context for sessions
UseAmbientSessionParams
Parameters for
useAmbientSessionUseAmbientSessionReturn
Return type of
useAmbientSessionAmbientSessionStatus
Session status values and related typing
Next steps
Refer to Provider for more information on how to warp your application with thePlatformClient and PlatformClientProvider before using hooks.