Authentication
Authenticate using your new credentials
Overview of OAuth 2.0 Workflow for Private Clients
- Make a POST request to https://auth.sageworks.com/connect/token with
client_id
,client_secret
, andgrant_type
specified in the body - Get the Bearer Token (
access_token
) from the response to your POST request - Use the Bearer Token in your API request, which will return a JSON response if successful
Example Authentication
Request Body
{
"client_id": "[your-client-id]",
"client_secret": "[your-client-secret]",
"grant_type": "client_credentials"
}
Response Body
{
"access_token": "[your-bearer-token]",
"expires_in": 900,
"token_type": "Bearer"
}
Authentication Recipe
🦉
Authentication
Open Recipe
Updated 5 months ago