Refresh auth key
This endpoint allows a user to obtain a new authentication token by providing a valid refresh token. It is typically used when the current access token has expired and the client needs to stay authenticated without re-entering credentials.
Header parameters
Brand-URLstringRequiredExample:
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
Body
Represents a request to refresh the user's authentication key (token) using a refresh token.
refreshAuthKeystring · min: 1Required
The refresh token used to obtain a new authentication key.
Responses
200
The request was successful.
application/json
429
The user has exceeded the rate limit.
application/json
post
POST /api/v1/users/auth/refresh-auth-key HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Content-Type: application/json
Accept: */*
Content-Length: 25
{
"refreshAuthKey": "text"
}
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"id": "asdasdcwAqrNxIT0xQdkMvR",
"username": "user",
"emailAddress": "[email protected]",
"authKey": "8mgBXMwMchIWWlLmvEL9RasdasdcwAqrNxIT0xQdkMvRndmSjh4YmtOcjdZb2taUT09N1J5bVdzRDlUUWhhRFFwdlRhemk4ZDFuaFdHajYzVXlYLy9valkwYXpuQT0=",
"refreshAuthKey": "Li48YUZxXkS52eNwx5D2yA4axptAvd1IWGxCZndDODFQTTZ5VnNoOVFLb1RGdz09cmlLTXQ4c1Y0RENDSHQ1QWtMU2I4a0tOem05QmtNd0pTUlpGenpsc0hBOD0=",
"expiresIn": "2025-07-16T07:34:48.6158816Z"
},
"errors": []
}
Last updated
Was this helpful?