getApiV1GuestBootstrap
getApiV1GuestBootstrap<
ThrowOnError>(options:Options<GetApiV1GuestBootstrapData,ThrowOnError>):RequestResult<GetApiV1GuestBootstrapResponses,GetApiV1GuestBootstrapErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:1008Â
Bootstrap guest session
Returns feature-flag assignments and server build metadata for an unauthenticated visitor. The client must generate a UUID v4 on first visit, persist it locally, and send it as X-Guest-ID on every call. Returns 400 if the header is missing or malformed.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<GetApiV1GuestBootstrapResponses, GetApiV1GuestBootstrapErrors, ThrowOnError>
Last updated on