There's a new version of the HubSpot API

We're also working on a new documentation website, you're invited to check it out and give us your feedback.

Get Contacts at a Company

Last updated May 12, 2023

GET /companies/v2/companies/:companyId/contacts

Method Details

HTTP Methods:

GET

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing & CRM

Required Scope:

crm.objects.companies.read
crm.objects.contacts.read

Returns all of the contacts who have an associatedcompanyid contact property of :companyid. For more on how contacts are associated with companies, check out our Companies API Overview.

This will return 20 contacts by default. You can get up to 100 contacts per request using the count= parameter. You can use the "vidoffset": field returned in the results with the vidOffset= parameter to get the next set of results.

Required Parameters How to use Description
OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.
Company Id Used in the request URL (see above) Unique identifier for a particular company.
Optional Parameters How to use Description
VidOffset &vidOffset=x - Used in the request URL. The vid to offset the query by.
Count &count=x - Used in the request URL. Specifies the number of contacts to be returned.

If request is successful you'll receive a 200 response. The endpoint returns the full contact profiles of contacts associated with the company.