Skip to content

Discover the filters accepted by the People Search endpoint at runtime, with every allowed value of closed lists such as the position taxonomy.

GET/v2/search/people/available-fields
Available inAPIMCPSDKCLI

Credits

Free.

Introduction

This endpoint returns metadata describing every filter accepted by People search and People search count. It lets integrations (for example Clay) discover the accepted filters at runtime instead of hardcoding the list, so new filters appear as soon as we release them.

For closed-vocabulary filters, such as the functions, sub-functions and seniorities of the position taxonomy, the allowedValues array lists every accepted value, including all 386 sub-functions. On currentSubFunction and excludeCurrentSubFunction, an allowedValueGroups object also gives the function each sub-function belongs to, so a filter panel can show them as a tree.

On location, the area entry of properties lists the accepted zone ids in allowedValues and describes every zone in areaCatalog: its id, category, name and member countries (see Area values).

Like Usage, this route uses GET, takes no request body, and costs 0 credits.

Looking for company filters? See Company search available fields.

Endpoint

MethodURLDescribes
GET/v2/search/people/available-fieldsPeople Search

Authorization

NameTypeRequiredDescription
apikeystringYesYour API key from the developer dashboard. Pass it via Authorization: Bearer YOUR_API_KEY header.

Response structure

FieldTypeDescription
successbooleantrue if the request was processed successfully
errornullAlways null on success
dataobject

Container for the discovered fields

Show child attributes
FieldTypeDescription
objectstringAlways "search_fields"
entitystringAlways "person" for this endpoint
fieldsField[]List of accepted filters (see field shape below)
fieldsobject

One accepted search filter

Show child attributes
FieldTypeDescription
namestringFilter name, used as a key in the search request body
typestringstring, boolean, number, range, location, date-time, experience, or string | string[]
requiredbooleanWhether the filter is mandatory (always false today; all filters are optional)
descriptionstringHuman-readable explanation of the filter
exampleunknownExample value, when helpful (optional)
allowedValuesunknown[]Closed set of accepted values, when applicable, such as the position taxonomy lists (optional)
allowedValueGroupsobjectSub-function filters only: parentField ("currentFunction") and groups, which maps each function to its sub-functions (optional)
propertiesobjectSub-field shapes for range, location and experience filters (optional)

Code examples

Code Examples

curl https://api.reversecontact.com/v2/search/people/available-fields \
  -H "Authorization: Bearer YOUR_API_KEY"

Example response

The response below is truncated to three fields: the catalog describes every filter accepted by People search.

200 - Success

Example Response

{
  "success": true,
  "data": {
    "object": "search_fields",
    "entity": "person",
    "fields": [
      {
        "name": "firstName",
        "type": "string",
        "required": false,
        "description": "Filter by first name",
        "example": "John"
      },
      {
        "name": "currentSeniority",
        "type": "string | string[]",
        "required": false,
        "description": "Current job-level taxonomy value",
        "allowedValues": [
          "CXO",
          "VP",
          "Director",
          "Head",
          "Manager",
          "Partner",
          "Owner / Founder",
          "Individual Contributor",
          "Intern",
          "Other"
        ]
      },
      {
        "name": "experience",
        "type": "experience",
        "required": false,
        "description": "Required past experience dimensions, AND-combined (maximum 10)",
        "properties": {
          "dimension": {
            "type": "string",
            "allowedValues": ["function", "subFunction", "seniority"]
          },
          "value": {
            "type": "string",
            "description": "Value from the selected dimension taxonomy"
          },
          "minMonths": {
            "type": "number",
            "description": "Minimum tenure in months (0-720)"
          }
        }
      }
    ]
  },
  "error": null,
  "quotas": {
    "creditsConsumed": 0,
    "workspace": {
      "id": "ws_abc123",
      "credits": { "total": 10000, "used": 4521, "left": 5479 }
    }
  },
  "metadata": {
    "requestId": "724d4d3e-d582-43e0-bee0-5586f9d58da1",
    "executionTimeMs": 3
  }
}

Last verified