Collaboration Rules
collaboration_rules
(Array of Objects):
This property appears in the response of GET /members
and requests of PUT /members
and POST /members/invite
. It defines the collaboration permissions for a member.
Each collaboration_rule
object has the following properties:
role
(String, Required): The member's role within the collaboration. Possible values: "admin", "recruiting_admin", "hiring_manager", "simple" and "reviewer"departments
(Array, Optional): The departments this rule applies tolocations
(Array, Optional): The locations this rule applies to
Role
- If the member has
admin
role assigned, then the member can only be assigned theadmin
role in a collaboration rule - If the member has
reviewer
role assigned, then the member can only be assigned thereviewer
role in a collaboration rule - If the member has
simple
role assigned, then the member can only be assigned one of the following roles in a collaboration rule:recruiting_admin
,hiring_manager
,simple
, andreviewer
Department
A department object within departments
can have these properties:
any
(Boolean, Optional): Iftrue
, applies to all departments. Theid
property is ignored in this caseid
(String, Optional): The ID of a specific department (used whenany
isfalse
)name
(String): Only applies in theGET /members
request and represents the department's name
For managing departments, refer to the relevant endpoints
Location
A location object within locations
can have these properties:
any
(Boolean, Optional): Iftrue
, applies to all locations. All other location properties are ignoredcountry_code
(String, Optional): ISO 3166-1 alpha-2 country code (e.g., "US", "GB")city
(String, Optional): The city name (e.g., "Seattle")state_code
(String, Optional): State code (e.g., "WA")subregion
(String, Optional): Subregion namezip_code
(String, Optional): ZIP codelocation_string
(String, Optional): The string representation of the locationcountry_name
(String, Optional): The full country name (e.g., "United States of America")
Examples
1. Rule for all departments and locations (Wildcard):
[
{
"role": "admin",
"departments": [
{
"any": true
}
],
"locations": [
{
"any": true
}
]
}
]
2. Rule for a specific department and location (Seattle):
[
{
"role": "reviewer",
"departments": [
{
"id": "3ff4d641"
}
],
"locations": [
{
"country_code": "US",
"city": "Seattle",
"state_code": "WA",
"center": "47.6038, -122.3301"
}
]
}
]
3. Rule for multiple departments and specific countries:
[
{
"role": "simple",
"departments": [
{
"id": "3ff4d642"
},
{
"id": "3ff4d649"
}
],
"locations": [
{
"country_code": "US"
}
]
}
]