Skip to main content
POST
/
v1
/
auth
/
token
Get an access token
curl --request POST \
  --url https://sandbox-api.itscovered.com/lenders/v1/auth/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "client_id": "<string>",
  "client_secret": "<string>",
  "partner_id": "<string>"
}
'
{
  "access_token": "<string>",
  "expires_in": 123,
  "token_type": "<string>"
}

Body

client_id
string
required

The client ID

client_secret
string
required

The client secret

partner_id
string | null

If you are a platform with multiple partners this is the partner ID you want to get the token for. Standard partners should not provide this.

Response

The response from the access token endpoint

access_token
string
required

The access token

expires_in
number
required

The expiration time of the access token

Example:

86400

token_type
string
required

The type of the access token

Example:

"Bearer"