Authentication
Get an Access Token
API Overview
Authentication
Journal Entry
Ledger
Reports
Transaction
Authentication
Get an Access Token
POST
/
v0
/
auth
/
token
curl --request POST \
--url https://api.sandbox.getasset.com/v0/auth/token \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'client_id=<string>' \
--data 'client_secret=The client secret' \
--data grant_type=client_credentials
{
"access_token": "<string>",
"token_type": "Bearer"
}
Body
application/x-www-form-urlencoded
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.sandbox.getasset.com/v0/auth/token \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'client_id=<string>' \
--data 'client_secret=The client secret' \
--data grant_type=client_credentials
{
"access_token": "<string>",
"token_type": "Bearer"
}