---
title: "List contacts"
method: GET
path: "/contacts"
tags: ["Contacts"]
---

# List contacts

`GET /contacts`

## Request

- Base URL: `https://there-there.app/api`
- URL: `https://there-there.app/api/contacts`
- Auth: HTTP bearer

## Query parameters

- `filter[name]` string
- `filter[email]` string
- `filter[search]` string
- `sort` 'name' | '-name' | 'created_at' | '-created_at' | 'last_activity' | '-last_activity'
- `per_page` integer
- `page` integer

## Headers

- `X-Workspace-Id` integer

## Response `200`

Paginated list of contacts

- PaginatedContacts
  - `data` Contact[]
    - `id` integer
    - `ulid` string
    - `name` string, nullable
    - `email` string, email
    - `avatar_url` string, nullable
    - `company` ContactCompany
      - `ulid` string
      - `name` string
      - `domain` string, nullable
    - `ticket_count` integer, nullable
    - `last_activity_at` string, date-time, nullable
    - `notes` string, nullable
  - `meta` PaginationMeta
    - `current_page` integer
    - `last_page` integer
    - `per_page` integer
    - `total` integer
  - `links` PaginationLinks
    - `first` string, nullable
    - `last` string, nullable
    - `prev` string, nullable
    - `next` string, nullable

---

[API](https://skmtc.dev/there-there/apis/there-there-api.md) · [All operations](https://skmtc.dev/there-there/apis/there-there-api/llms.txt) · [OpenAPI document](https://skmtc.dev/there-there/apis/there-there-api/revisions/1811fb0febc1?raw)
