Permissions_and_Product_Tier.png

Greenhouse Recruiting's Harvest API allows your team to grant your internal developers and third-party partners access to your jobs, candidates, interviews, and other data via API. An individual can access this data only with a Harvest API key. Managing permissions via the Harvest API key allows you to permit or deny access to each Harvest endpoint individually, so you can have more control over what data a developer or third-party partner can access from your Greenhouse Recruiting account.

Note: Harvest API keys created before January 18, 2017 have full permissions to all API endpoints that existed at that time, but any new API keys created after that date must explicitly be granted specific required endpoint permissions. For further instructions on authentication and the data available in the Harvest API, please visit our Developer Resource's site

In this article we will cover how to: 

 

Create New Harvest API Key

Click the Configure icon Configure.png in the upper right-hand corner. Navigate to Dev Center on the left-hand panel. From the Dev Center page, click API Credential Management.

1._Dev_Center_-_API_Credential_Management.png

From the API Credential Management page, click Create New API key.

2._Create_new_API_key.png

In the Create New Credential dialog box, make the following selections: 

  • API TypeHarvest
  • Partner: If available, select the partner who has requested the Harvest API key. If the partner is not listed, leave this dropdown blank.
  • Description: [Partner name] Harvest API Key

3.png

When finished, click Manage Permissions to generate the Harvest API key. If you selected a partner in the Partner dropdown list, the appropriate permissions are assigned to the API key automatically. If the partner was not available in the dropdown, you can add permissions to the key in a subsequent step.

In the subsequent dialog box, click Copy to save your API key to your clipboard. Store the API key in a secure location to provide to the partner. Click I have stored the API Key once you have copied and saved the key.

Note: You cannot access the full Harvest API key again after clicking I have stored the API Key. If you lose your API key and need to access it later, you must create a new API key, provide it to the integration partner, and then revoke access to the original key.

API_Key_Successfully_Created.png

On the subsequent page, confirm the correct permissions are assigned to your new API key, or assign the permissions yourself by clicking the appropriate checkboxes. We recommend granting each key only the exact access it requires. You may need to work with your internal development team or integration partner to determine which endpoints you should select.

When you finish selecting the appropriate endpoints, click Save at the bottom of the page. 

mceclip1.png

You have created a Harvest API key successfully! Provide the key to your internal development team or integration partner as appropriate. 

 

Update an Existing Harvest API Key

Note: Making changes to the permissions of an API key that is in use may impact internal or third-party tools that rely on data called from the API. To avoid potential service disruptions, please check with your development team or integration partner before making changes to a key's permissions.

For security, we also highly recommend sending API keys using a public key or other secure messaging service, rather than copying keys to plain text emails.

To update an existing Harvest API key, begin by clicking the Configure icon Configure.png in the upper right-hand corner. Navigate to Dev Center on the left-hand panel. From the Dev Center page, click API Credential Management

1._Dev_Center_-_API_Credential_Management.png

From the API Credential Management page, locate the key you wish to edit. Hover your mouse over the key and click the edit icon edit_2.png inline with the key name. 

2.png

On the subsequent page, make your edits (such as changing the name of the key in the Description field, or adjusting the key's permissions by adding or removing checkmarks from the Manage Permissions section). When finished, click Save at the bottom of the page. 

mceclip1.png

 

Revoke or Re-enable Harvest API Key

To deactivate a Harvest API Key and revoke its access from all individuals with the key, begin by clicking the Configure icon Configure.png in the upper right-hand corner. Navigate to Dev Center on the left-hand panel. From the Dev Center page, click API Credential Management

From the API Credential Management page, locate the key you wish to revoke. Hover your mouse over the key and click the revoke icon mceclip2.png inline with the key name. 

Note: Revoking an API key immediately removes access to they key's endpoints for any users or integrations. Double-check the API key you are revoking to ensure it is not in active use.

5.png

In the subsequent dialog box, click OK to confirm your request to revoke the Harvest API key.

mceclip3.png

To re-enable a Harvest API key later, hover your mouse over the key and click the Re-enable icon mceclip4.png inline with the key name. 

6.png

In the subsequent dialog box, click OK to confirm your request to re-enable the Harvest API key.

mceclip3.png