POST
/
token
curl --request POST \
  --url https://platform.uat.proveapis.com/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data client_id=customer_id \
  --data client_secret=secret \
  --data grant_type=client_credentials
{
  "access_token": "eyJ...",
  "refresh_token": "eyJ...",
  "refresh_expires_in": 3600,
  "token_type": "Bearer",
  "expires_in": 3600
}

Welcome to the Prove Platform documentation. This documentation applies if you use the client-side SDK and Prove Platform APIs.

For access to classic documentation, contact support@prove.com or your Prove representative.

Body

application/x-www-form-urlencoded
client_id
string
required

ClientID is the optional client ID.

Example:

"customer_id"

client_secret
string
required

ClientSecret is the client secret ID provided to the customer during onboarding.

Example:

"secret"

grant_type
string
required

GrantType only allows option: client_credentials.

Example:

"client_credentials"

Response

200
application/json
Successful request.
access_token
string
required

AccessToken returns the access token as a string.

Example:

"eyJ..."

expires_in
integer
required

ExpiresIn returns the lifetime of the token in seconds.

Example:

3600

token_type
string
required

TokenType returns the type of token.

Example:

"Bearer"

refresh_expires_in
integer

RefreshExpiresIn returns the lifetime of the token in seconds. Not currently supported.

Example:

3600

refresh_token
string

RefreshToken returns the refresh token as a string. Not currently supported.

Example:

"eyJ..."