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