Skip to main content

refresh token

info

this api use for update expired access token

All APIs endpoints

[GET] /auth/refresh-token

update

Example request

curl --location --request GET 'https://api-v1-stg.lumyri.com/auth/refresh-token' \
--header 'Authorization: Bearer $ACCESS_TOKEN'

Response

{
"error": null,
"data": {
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb21wYW55X2lkIjoiODA1YWZiYjktYzcyMS00ZDFiLTg0NWItYWVkNmVjNWEwY2IyIiwiZXhwIjoxNjc4MDg0MDI5LCJpc3MiOiI2S20wbENpbXdFak12V0JOdm9ZRDVRTVRFMjJ1OThaUiIsInVzZXJfaWQiOiJmYjE5ZGNmYS00ODYyLTRkM2QtODJiMi0wZDg3ZWJhMDVkYzUifQ.0mJECRYs8qUMMR3HqMBdvNMuQyvwlAb9E9TY7ZRUZxU"
}
}