🔨 In Development — This section is still being developed and may change.
Describes the payload returned when refreshing a session using the Freddy authentication API.
access_tokenstring — Newly issued JWT access token.refresh_tokenstring — Replacement refresh token. Store securely.token_typestring — Always"bearer".expires_ininteger — Seconds until the access token expires (typically 3600).device_idstring or null — Device identifier associated with the session.userobject — Minimal user profile information.
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "bearer",
"expires_in": 3600,
"device_id": "device-456",
"user": {
"id": "usr_def789ghi012",
"email": "user@example.com"
}
}