> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Heyrecruit with OAuth 2.0 (Client Credentials) – StackOne Hub

> Link a Heyrecruit account in the StackOne Hub using OAuth 2.0 (Client Credentials). End-user guide to authorize the integration and start using Heyrecruit actions.

> [!WARNING]
>
> Write access is off by default. A new REST app carries only the get\_company\_details, get\_all\_jobs, get\_job and apply rights, so creating, updating, publishing or deleting anything answers 401 or 403 until an administrator enables the matching right under Settings > Integration > REST API.

## Request your Heyrecruit API credentials

Heyrecruit does not issue API credentials self-service. Your support manager creates the REST app and\
sends you the API-Key and API-Secret.

**1. Contact your Heyrecruit support manager**

Ask your Heyrecruit support manager to create a REST API access for your company.

<ul>
  <li>Tell them which operations the integration needs, so they can enable the matching rights straight away.</li>
</ul>

**2. Copy the API-Key and API-Secret**

Copy the **API-Key** into **API Key** and the **API-Secret** into **API Secret** when linking the account.

## Enable the rights the integration needs

Each REST app carries its own list of rights. An endpoint whose right is missing answers 401 or 403.

**1. Open the REST API settings**

In Heyrecruit, go to **Settings > Integration > REST API** and open the API access for your app.

**2. Enable the rights you need**

Switch on every right the integration uses.

<ul>
  <li>Reading jobs: get\_all\_jobs, get\_job</li>
  <li>Reading company details: get\_company\_details</li>
  <li>Reading company locations: get\_company\_locations</li>
  <li>Writing company locations: create\_company\_location, edit\_company\_location, delete\_company\_location</li>
  <li>Writing jobs: create\_job, edit\_job, delete\_job, publish\_job</li>
  <li>Applications: apply, offline\_apply, get\_applicant\_details, get\_applicant\_job\_ids, get\_ai\_rating\_reason\_json</li>
  <li>Talents: get\_talent\_pools, create\_talent\_pool, create\_talent, get\_talent, edit\_talent, delete\_talent</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.