POST
/
api
/
ext
/
v1
/
oauth
/
tokens
Create OAuth Tokens
curl --request POST \
  --url https://staging-api.covver.io/api/ext/v1/oauth/tokens \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "grantType": "clientCredentials",
  "clientId": "<string>",
  "clientSecret": "<string>"
}'
{
  "accessToken": "<string>",
  "refreshToken": "<string>",
  "expiresIn": 123
}
Send your clientId and clientSecret, and receive a short-lived (10 minutes) accessToken and a long-lived (30 days) refreshToken.

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Default Response

The response is of type object.