v1

latestOpenAPI 3.0.0BSD-3-Clause2026-07-146135105.7 KB
account

Create Anonymous Session

Use this endpoint to allow a new user to register an anonymous account in your project. This route will also create a new session for the user. To allow the new user to convert an anonymous account to a normal account, you need to update its email and password or create an OAuth2 session.

post/account/sessions/anonymous

Response

Session

$idstring required

Session ID.

clientCodestring required

Client code name. View list of available options.

clientEnginestring required

Client engine name.

clientEngineVersionstring required

Client engine name.

clientNamestring required

Client name.

clientTypestring required

Client type.

clientVersionstring required

Client version.

countryCodestring required

Country two-character ISO 3166-1 alpha code.

countryNamestring required

Country name.

currentboolean required

Returns true if this the current user session.

deviceBrandstring required

Device brand name.

deviceModelstring required

Device model name.

deviceNamestring required

Device name.

expireinteger required

Session expiration date in Unix timestamp.

ipstring required

IP in use when the session was created.

osCodestring required

Operating system code name. View list of available options.

osNamestring required

Operating system name.

osVersionstring required

Operating system version.

providerstring required

Session Provider.

providerTokenstring required

Session Provider Token.

providerUidstring required

Session Provider User ID.

userIdstring required

User ID.