cURL
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 oauth client secret' \ --data grant_type=client_credentials \ --data business_id=biz_GA6EG2qFxA97NZHtxeLPUy \ --data expires_in=3600
{ "access_token": "<string>", "token_type": "Bearer" }
The oauth client id
The grant type. Defaults to client_credentials
client_credentials
Scope the access token to a specific business
"biz_GA6EG2qFxA97NZHtxeLPUy"
Access token expiration time in seconds
Successful Response
The access token
The token type