---
title: "Gets all contacts"
method: GET
path: "/Entity/Contacts"
tags: ["Entity"]
---

# Gets all contacts

`GET /Entity/Contacts`

The optional name parameter returns contacts that contain matching text in the Contact Forename, Contact Middle Name or Contact Surname fields in Infinity
            
The optional socialMediaUrl parameter returns contacts that contain matching text in the Contact LinkedIn Url, Contact Xing Url, Contact Facebook Profile Url or Contact Twitter Profile Url fields in Infinity

The limit and offset Parameters can be used for paging purposes.

When supplied, the limit value should be greater than or equal to one. If the value is omitted, zero or a negative number then all results after the offset will be returned.

When supplied, the offset should be greater than or equal to zero. If the value is omitted or a negative number then results will start from the first page.

Results are ordered by LastUpdated date in descending order

## Query parameters

- `lastUpdatedSince` string, date-time, nullable
- `name` string, nullable
- `phone` string, nullable
- `email` string, nullable
- `socialMediaUrl` string, nullable
- `town` string, nullable
- `lastContactedAfter` string, date-time, nullable
- `lastContactedBefore` string, date-time, nullable
- `lastContactedByUserId` integer, nullable
- `limit` integer, nullable
- `offset` integer, nullable

## Response `200`

- ContactResult[], nullable
  - `Id` integer, required
  - `Forename` string, required
  - `MiddleName` string, required
  - `Surname` string, required
  - `LinkedInUrl` string, required
  - `XingUrl` string, required
  - `FacebookProfileUrl` string, required
  - `TwitterProfileUrl` string, required
  - `IsActive` boolean, required
  - `Created` string, date-time, required
  - `LastUpdated` string, date-time, required
  - `Location` ContactLocationDetails, required
    - `Id` integer
    - `Name` string, nullable
    - `Address` AddressDetail, required
      - `AddressLine1` string, required
      - `AddressLine2` string, required
      - `AddressLine3` string, required
      - `Town` string, required
      - `County` string, required
      - `Postcode` string, required
      - `CountryId` integer, nullable
  - `Company` Entity, required
    - `Id` integer
    - `Name` string, nullable
  - `Telecoms` TelecomDetail[], required
    - `Name` string, required
    - `Type` 'Landline' | 'Mobile' | 'Email' | 'Fax' | 'Website' | 'Other' | 'Skype', required
    - `Value` string, required

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/vslcloud/apis/infinity-api.md) · [All operations](https://skmtc.dev/vslcloud/apis/infinity-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vslcloud/infinity-api/revisions/54661781612a/schema)
