Making an API Call

Once you have a bearer token, simply add the token to the Authorization header of your request.  Then you will be able to access the HCSS APIs!

Here is a sample API request that retrieves your company's business units, in cURL, using the example Identity Server response on the Request Tokens page.

Copy
Copied
curl -i -H "Authorization: Bearer MTQ0NjJkZ" https://api.hcssapps.com/heavyjob/api/v1/businessUnits

For troubleshooting, you can contact us at api-team@hcss.com or check out common issues in our documentation: Bad Request, Unauthorized, Forbidden, Not Found, and Unsupported Media Type.

Make your first API call here:

The following example requires a client with access to the dis:read scope

Enter your Client ID and Client Secret on the security section below. Then, click on "Request Token" to generate access token. Now, you can send a request to get all business units.

Loading...