Light Mode
Harmony-RefreshToken
TestedPOST
harmony.photos/api/v2/token/refresh/Last modified: 2 months ago
Maintainer:
This API allows users to refresh their access token using a refresh token. The request and response details are as follows:
- The request body should include the refresh token.
- The response will include a new access token.
This API allows users to refresh their access token by providing a valid refresh token. Upon successful validation, the API returns a new access token that can be used for authenticated requests.
Request
Header Params
User-Agent
string
required
Example:
Harmony/29 CFNetwork/1474 Darwin/23.0.0
Accept-Language
string
required
Example:
en-GB,en-US;q=0.9,en;q=0.8
Content-Type
string
required
Example:
application/json
Body Params text/plain
You Need To Get Your Token Once Then You Can Refresh it Any Time
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
access
string
required
New Token
Example
{
"access": "eyJhbGciOiJIUzI1****************I6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwI***********************MDMwMzU5ODQsImp0aSI6IjE3NGRjMmRiNzk3ODRlZTU5OTg0NDQzNTFhNDI5ZWZlIiwidXNlcl9pZCI6OTk3LCJpZCI6OTk3fQ.***************************"
}
Last modified: 2 months ago