Create a new session for a user.
Authentication
X-API-Keystring
API Key authentication. Generate your API key in the Gail Portal under General > Integrations > API Keys.
Request
The session creation request.
userKey
metadata
Response
OK
id
The unique identifier for the session.
userKey
The unique identifier of the user associated with the session.
metadata
Additional metadata associated with the session or user.
issuedAt
The timestamp when the session was issued.
expiresAt
The expiration timestamp of the session.
Errors
400
Bad Request Error