All operations
COMPANY
Fetches contacts for a specific company with pagination and optional search.
Contacts are sorted by last name. Deleted contacts are never returned. An unknown company ID returns an empty page.
GET
/api/v2/companies/{companyId}/contactsAuthentication
Choose one supported method for this request.
Parameters
companyIdpathinteger · int32requiredThe ID of the company to retrieve contacts for.
pagequeryinteger · int32Page number, starting at 1. Defaults to 1.
pageSizequeryinteger · int32Contacts per page, 1–200. Defaults to 20; values outside the range also fall back to 20.
excludeInvalidEmailsquerybooleanWhen `true`, contacts without a valid email address are left out.
includeInactivequerybooleanWhen `true`, inactive contacts are included. Defaults to active contacts only.
searchquerystringOptional text matched against first name, last name or email (contains).
Responses
Company contacts retrieved successfully.
Standard response envelope
PaginatedisSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
totalCountinteger · int32contactIdinteger · int32companyIdinteger · int32companyDisplaystringfirstNamestringmiddleNamestringlastNamestringfullNamestringnickNamestringphonestringcellstringfaxstringemailstringtitlestringpositionstringdepartmentstringdeletedbooleanactivebooleanenteredstring · date-timelastModifiedstring · date-timecompletebooleanexternalIdstringglobalUnsubscribebooleanlinkedbooleanlastTouchUserstringlastTouchDatestring · datenullable
pageCountinteger · int32currentPageCountinteger · int32nextPageNumberinteger · int32nullablehasNextPageboolean