Skip to main content
POST
Exchange a refresh token for new tokens

Body

application/json
refreshToken
string
required
Example:

"REFRESH_TOKEN"

Response

200 - application/json

New token pair.

{success, message, data} where data holds accessToken, refreshToken and the account.

success
boolean
Example:

true

message
string
Example:

"Login successful"

data
object