Auth
Login and receive access/refresh tokens
post/auth/login
Request
- Base URLhttps://dummyjson.com
- URLhttps://dummyjson.com/auth/login
- Authnone required
Request body
Example request
{
"username": "emilys",
"password": "emilyspass",
"expiresInMins": 60
}Response
Login success
Example response
{
"id": 1,
"username": "emilys",
"email": "emily.johnson@x.dummyjson.com",
"firstName": "Emily",
"lastName": "Johnson",
"gender": "female",
"image": "https://dummyjson.com/icon/emilys/128"
}Changes
No recorded changes to this operation across all 1 revision of this API.