Refresh user session
Refresh the user session
POST
/{apiBasePath}/session/refreshAuthorization
AuthorizationBearer token · headerrequiredReturned as the "st-refresh-token" header from sign-in and refresh endpoints
or
sRefreshTokenAPI key · cookierequiredThis is an HTTPOnly cookie, set by the sign-in and refresh endpoints
Path parameters
apiBasePathstringrequiredIts value depends on the apiBasePath set by the user
Header parameters
ridstringThe recipe ID for the request
anti-csrftokenThis will only be here if enabled by the user.
Responses
200Refresh users
404Resource not found error
string500Internal server error
stringTry it
Server
Authorization
Parameters
Request
curl -X POST "/auth/session/refresh" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("/auth/session/refresh", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.post(
"/auth/session/refresh",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
Refresh users
"Not Found""Internal Error"