Skip to main content

Create Guest Principal

POST 

/api/guests

Create a new GUEST account.

You can learn more about GUEST accounts here.

Optional session data:

  • The session object can be included in the request body.
  • Inside the session object, you can provide the following optional fields:
    • browser: The name of the browser used (e.g., "Chrome", "Firefox").
    • os: The operating system of the device (e.g., "Windows", "macOS", "Android").

This information helps users identify and manage authorized sessions, improving overall account security.

Tokens

If successful, AccessToken and RefreshToken will automatically be set as HTTP-only cookies. If header authentication is enabled, AccessToken and RefreshToken will be returned in the response body and can be used as bearer tokens in the authorization header for upcoming requests.

Request

Responses

Registration successful. Returns user details and tokens if header authentication is enabled.