---
title: "Search contacts"
method: POST
path: "/users/me/contacts/search"
tags: ["users"]
---

# Search contacts

`POST /users/me/contacts/search`

## Request

- Base URL: `https://be.skipcalls.com` (the document declares no server; this is the origin it was published from)
- URL: `https://be.skipcalls.com/users/me/contacts/search`
- Auth: HTTP bearer

Full-text, typo-tolerant search across name, phone, company, and tags. Results are ranked by similarity then recency. If the query contains digits, also matches against the normalized (digits-only, last 10) phone so `555-123` and `(555) 123` find the same contact. With `injectCalls=true`, recent matching calls are returned as synthetic contacts (source `WEB`, max 5) — useful for surfacing numbers that aren't saved yet. Send the parameters as a JSON body (`{"query": "sarah", "limit": 20}`) or as query parameters.

## Query parameters

- `query` string
- `limit` number
- `offset` number
- `injectCalls` boolean

## Request body

- SearchContactsBodyDto
  - `query` string: Search text
  - `limit` number
  - `offset` number
  - `injectCalls` boolean

## Response `200`

- ContactSearchResponseDto
  - `contacts` ContactItemResponseDto[], required
    - `firstName` string
    - `lastName` string
    - `phoneNumber` string, required
    - `email` string
    - `address` string, nullable
    - `notes` string
    - `companyName` string
    - `tags` string[]
    - `avatar` string
    - `isFavorite` boolean
    - `source` 'MOBILE' | 'WEB' | 'IMPORT' | 'AGENT': Source of the contact. MOBILE means synced from the phone address book (only the phone app sends it); omitted means WEB. On an existing contact only MOBILE changes the stored source.
    - `lifecycleStage` 'lead' | 'prospect' | 'customer' | 'churned': Lifecycle stage of the contact
    - `doNotCall` boolean: Do not call this contact
    - `doNotSms` boolean: Do not SMS this contact
    - `id` string, required
    - `bypassReceptionist` boolean: Skip AI: calls from this contact hear the Skip AI greeting and leave a voicemail instead of reaching the AI receptionist
    - `treatAsNewCaller` boolean: Shared line: each call from this number is a different person, so the receptionist greets it as a new caller (no saved name, past calls or appointments) and calls never rename the contact
    - `stats` ContactStatsDto
      - `totalIncomingCalls` number, required
      - `totalOutboundCalls` number, required
      - `totalSmsMessages` number, required
      - `lastCallDate` string, nullable
      - `lastInteractionDate` string, nullable
      - `upcomingAppointments` number, required
    - `latestNote` ContactLatestNoteDto, nullable
      - `content` string, required
      - `createdAt` string, required
    - `notesSummary` string, nullable
    - `suggestedLifecycleStage` string, nullable
  - `pagination` PaginationDto
    - `total` number, required
    - `limit` number, required
    - `offset` number, required
  - `aggregations` ContactAggregationsDto
    - `uniqueCompanies` number, required: Number of unique companies across all contacts
    - `companies` string[], required: List of unique company names

## Changes

- **2026-11-12** `f21293ed4228`: 1 breaking
  - the `contacts/items/latestNote` response's property type changed from no type to `object` for status `200`
- **2026-11-12** `d250cd4f77d0`: 1 breaking
  - the `contacts/items/latestNote` response's property type changed from `object` to no type for status `200`
- **2026-11-11** `dfd3c5404b7d`: 1 breaking
  - the `contacts/items/latestNote` response's property type changed from no type to `object` for status `200`
- **2026-11-08** `1db8486ab3ec`: 2 info
  - added optional request body
  - the `query` request parameter `query` became optional
- **2026-11-06** `e4f3565f78d9`: 1 info
  - added the optional property `contacts/items/treatAsNewCaller` to the response with the `200` status

[Operation history](https://skmtc.dev/skipcalls/apis/skipcalls-public-api/changes/users/me/contacts/search/post.md)

---

[API](https://skmtc.dev/skipcalls/apis/skipcalls-public-api.md) - [All operations](https://skmtc.dev/skipcalls/apis/skipcalls-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/skipcalls/apis/skipcalls-public-api/revisions/c893bb6c0091?raw)
