post__user_refresh

Code Samples

# You can also use wget
curl -X POST https://backend.flashback.tech/user/refresh \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

POST /user/refresh

Refresh User Token

Refresh JWT access token

Body parameter

{
  "refreshToken": "string"
}

Parameters

Name
In
Type
Required
Description

body

body

object

true

none

» refreshToken

body

string

true

none

Example responses

200 Response

{
  "success": true,
  "accessToken": "string",
  "refreshToken": "string",
  "expiresAt": 0
}

Responses

Status
Meaning
Description
Schema

200

Token refresh successful

Inline

Response Schema

Status Code 200

Name
Type
Required
Restrictions
Description

» success

boolean

false

none

none

» accessToken

string

false

none

none

» refreshToken

string

false

none

none

» expiresAt

integer

false

none

none

To perform this operation, you must be authenticated by means of one of the following methods: BearerAuth

Last updated

Was this helpful?