POST
/
api
/
ext
/
v1
/
oauth
/
refresh-token
curl --request POST \
  --url https://staging-api.covver.io/api/ext/v1/oauth/refresh-token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "grantType": "refreshToken",
  "refreshToken": "<string>"
}'
{
  "accessToken": "<string>",
  "refreshToken": "<string>",
  "expiresIn": 123
}

You received your refreshToken using the Create OAuth Tokens API
Now you can use it to receive a short-lived (10 minutes) accessToken

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
grantType
enum<string>
required
Available options:
refreshToken
refreshToken
string
required

Response

200
application/json
Default Response
accessToken
string
required
refreshToken
string
required
expiresIn
number
required