Request a bearer token for downstream APIs
POST
https://api.cloudharness.com
/v1/auth/token
Exchanges credentials for a CloudHarness bearer token. Supports multiple grant types.
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate with the API using your API key. Value is of the formatBearer YOUR_KEY_HERE.
Request Body
grant_typestring · enum · requiredEnum values:client_credentialsrefresh_tokenpasswordDefault: client_credentials
client_idstringclient_secretstringrefresh_tokenstringusernamestringpasswordstringscopestring
Responses
OK
successboolean · requiredmetadataobject · requiredstatusstring · requiredDescriptive status message
dataobject