Login API Response
Intermediate Authentication
A typical login response with user data, access token, and refresh token. A realistic fixture for your own project or test suite.
{
"status": "success",
"data": {
"user": {
"id": "usr_8x4k2m",
"email": "alice@example.com",
"name": "Alice Johnson",
"role": "admin",
"avatar": "https://cdn.example.com/avatars/alice.jpg"
},
"tokens": {
"accessToken": "eyJhbGciOiJSUzI1NiIs...",
"refreshToken": "rt_7k3m9x2p...",
"expiresIn": 3600
}
}
} Open in tool
Related Tools
More Examples
- auth
- login
- token
- jwt