Skip to navigation

List employees

Lookup/reference resource: resolve the employeeId values returned by other Customer API endpoints (e.g. /v1/completions) into employee details. employeeId is unique within your organization and is the join key. Returns active employees by default.

Authentication

AuthorizationBearer

Customer API key (ghk_…). Your organization’s System Admins create keys on the PHQ Integrations page; a key is shown once. Send it as Authorization: Bearer ghk_….

Query parameters

page[number]integerOptional>=1Defaults to 1

1-based page number.

page[size]integerOptional1-200Defaults to 50

Page size (max 200).

filter[employeeId]stringOptional

Exact employee ID; comma-separated list.

filter[name]stringOptional

Case-insensitive partial match on first, last, or full name.

filter[location]stringOptional

customerLocationId; comma-separated list.

filter[position]stringOptional

customerPositionId; comma-separated list.

filter[group]stringOptional

Group id or name (use -1 for employees in no group).

filter[role]stringOptional

Role name (direct or via position); comma-separated list.

filter[status]enumOptionalDefaults to active

active (default), inactive, or all.

Allowed values:

Response

A page of employees.
datalist of objects
metaobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
503
Service Unavailable Error