GET
/
v2
/
session-config
Retrieve session configuration
curl --request GET \
  --url https://{projectId}.frontendapi.corbado.io/v2/session-config \
  --header 'Authorization: Bearer <token>'
{
  "useSessionManagement": true,
  "shortSessionCookieConfig": {
    "domain": "<string>",
    "secure": true,
    "sameSite": "lax",
    "path": "<string>",
    "lifetimeSeconds": 123
  },
  "sessionTokenCookieConfig": {
    "domain": "<string>",
    "secure": true,
    "sameSite": "lax",
    "path": "<string>",
    "lifetimeSeconds": 123
  },
  "frontendApiUrl": "<string>"
}

Authorizations

Authorization
string
header
required

After a user logs in successfully, a session is created and a JWT token is returned. This token represents the user's authenticated session. It must be included in the Authorization header as a Bearer token for all protected endpoints:

Authorization: Bearer <your-token>

The server will validate this token to authorize access.

Response

200 - application/json

Session configuration settings.

The response is of type object.