API reference
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}/contacts

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

companyIdpathinteger · int32required

The ID of the company to retrieve contacts for.

pagequeryinteger · int32

Page number, starting at 1. Defaults to 1.

pageSizequeryinteger · int32

Contacts per page, 1–200. Defaults to 20; values outside the range also fall back to 20.

excludeInvalidEmailsqueryboolean

When `true`, contacts without a valid email address are left out.

includeInactivequeryboolean

When `true`, inactive contacts are included. Defaults to active contacts only.

searchquerystring

Optional text matched against first name, last name or email (contains).

Responses

Company contacts retrieved successfully.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

Paginated
dataPaginatedResponse<ContactDto[]>
  • totalCountinteger · int32
    • contactIdinteger · int32
    • companyIdinteger · int32
    • companyDisplaystring
    • firstNamestring
    • middleNamestring
    • lastNamestring
    • fullNamestring
    • nickNamestring
    • phonestring
    • cellstring
    • faxstring
    • emailstring
    • titlestring
    • positionstring
    • departmentstring
    • deletedboolean
    • activeboolean
    • enteredstring · date-time
    • lastModifiedstring · date-time
    • completeboolean
    • externalIdstring
    • globalUnsubscribeboolean
    • linkedboolean
    • lastTouchUserstring
    • lastTouchDatestring · datenullable
  • pageCountinteger · int32
  • currentPageCountinteger · int32
  • nextPageNumberinteger · int32nullable
  • hasNextPageboolean