How to: Find Job Admin: level user_role_ids

This article is intended for developers who are working on an integration and need to extract an organization’s user_role_ids to assign specific Job Admin permissions to Greenhouse users. In this article, we will cover how to use the Harvest API to retrieve this information.

Use the GET: List User Roles Harvest API endpoint to retrieve a full list of your organization’s Job Admin levels.

Example request:

curl -X GET \
'https://harvest.greenhouse.io/v1/user_roles
-H 'Authorization: Basic *******' \

 

Example response:

[
{
"id": 4730,
"type": "job_admin",
"name": "Standard"
},
{
"id": 4731,
"type": "job_admin",
"name": "Private"
}
]

 

The user role IDs returned can be used to assign Job Admin permissions for individual jobs via PUT: Add a Job Admin Permission or future Job Admin permissions by office or department via PUT: Add a Future Job Admin Permission.

 

Additional Resources