Auth
Create OAuth Tokens
Create an access token and a refresh token
POST
/
api
/
ext
/
v1
/
oauth
/
tokens
Send your clientId
and clientSecret
, and receive a short-lived (10 minutes) accessToken
and a long-lived (30 days) refreshToken
.
This API can be used for 2 purposes:
- Communicate server-to-server between the partner and Covver. In this case you should omit the
companyId
parameter. - Embed Covver admin as an iframe for a specific customer. In this case you should include the
companyId
parameter for this customer. See Embedded Admin Guide for more details
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
clientId
string
requiredclientSecret
string
requiredgrantType
enum<string>
default: clientCredentialsAvailable options:
clientCredentials
companyId
string
Response
200 - application/json
accessToken
string
requiredrefreshToken
string
requiredexpiresIn
number
required