- Introduction
- Changelog Release
- Local Development
- Authentication
- file-controller
- internal-controller
- User
- facebookCallbackUserInfoGET
- updateUserAccountPOST
- deleteAllSessionOfUserDELETE
- getUserBasicInfoGET
- getUserIntroGET
- updateUserIntroPOST
- testGetUserFromFirebaseByEmailGET
- testGetUserFromFirebaseNoPasswordGET
- testGetUserFromFirebasePasswordGET
- getProfilePictureGET
- storeUserFcmTokenPOST
- updateFeedbackAskdoctorGET
- updateUserIntroV2POST
refreshToken
POST
/refresh
Authentication
Request
Body Params application/json
refreshToken
string
optional
Example
{
"refreshToken": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/refresh' \
--header 'Content-Type: application/json' \
--data-raw '{
"refreshToken": "string"
}'
Responses
🟢200OK
application/json
Body
data
object (RefreshTokenResponse)
optional
accessToken
string
optional
Example
{
"data": {
"accessToken": "string"
}
}
🟠400Bad Request
🟠401Unauthorized
🔴500Internal Server Error
Modified at 2023-01-25 06:06:06