Skip to main content

Set up the API integration

Actions such as listing public employees need the Hailey Company Id that the API integration shows once it is enabled.

1

Enable the API integration

Sign in to your Hailey HR account.

  • Click the Settings gear icon in the left sidebar, then navigate to Integrations > All tab.
  • Find API integration and click the Add Integration + button.
  • In the side panel that opens, toggle the integration to Active.
  • If a list of sub-resources is displayed, check Titles, Company Email, Work Phone, Department and Location.
  • Click Save.
Hailey HR API integration page
2

Copy the Company ID

In Hailey HR, open the settings of the API integration.

  • Click the Settings gear icon in the left sidebar, then navigate to Integrations > Added tab.
  • Click the API integration or its Edit button.
  • Copy the Hailey Company Id across.
Hailey HR API integration company ID

Generate an Access Token

A personal access token is created from your Hailey dashboard.

1

Create the token

In your Hailey dashboard, click your avatar/profile in the corner and open Access tokens.

  • New access token: StackOne Integration
  • Click Generate.
Hailey HR access token creation page
2

Copy the token

Copy the generated Access Token across. It is only shown once.

Hailey HR access token page copy
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.

Next Steps

Webhooks setup

Configure receiving Events for Hailey HR into StackOne.