Skip to main content
POST
/
v1
/
auth
/
refresh
Refresh access token
curl --request POST \
  --url https://api.dynamosql.com/v1/auth/refresh \
  --header 'Content-Type: application/json' \
  --data '
{
  "refreshToken": "<string>"
}
'
{
  "success": true,
  "data": {
    "accessToken": "<string>",
    "expiresIn": 3600,
    "tokenType": "Bearer"
  },
  "error": {
    "message": "<string>",
    "code": "<string>",
    "requestId": "<string>"
  }
}

Body

application/json
refreshToken
string
required

The refresh token from a previous authentication.

Response

Token refreshed successfully.

success
boolean
required

true when the request was processed without errors, false otherwise. Always present.

data
object
error
object

Present in the response body when success is false.