Skip to main content
POST
List the people at a company

Authorizations

Authorization
string
header
required

Your API token (af_…) as the Basic-auth username, with an empty password.

Body

application/json
company
object
required

The company, by name, domain or linkedinUrl, as POST /data/companies/resolve takes them.

filters
object

People search filters on the person, in the POST /prospects/search vocabulary (GET /prospects/filter-options lists the values), e.g. job_title_levels and job_title_role; when sent, at least one must hold a value. The company filters job_company_name, job_company_website, experience.company.name and experience.company.website are not taken: the company is the one company names.

size
integer
default:10

People per page, 1 to 25 (default 10). Each person returned is charged.

Required range: 1 <= x <= 25
scrollToken
string

The scrollToken the previous page answered, sent with the same company and filters, for the next page. A token this API did not issue answers 422 SCROLL_TOKEN_INVALID: start again without it.

Response

Success

status
enum<string>
required
Available options:
found,
not_found
company
object | null
required

Null when status is not_found.

people
object[]
required
scrollToken
string | null
required

The next page: send it back with the same company and filters. Null when there are no more pages.

total
integer | null
required

The search's estimate of everyone at the company matching the filters, on the first page; null on later pages or when it gives none.

creditsCharged
integer
required

The plan's price times the people returned.