---
title: "Search for resources"
method: POST
path: "/api/search"
tags: ["Search"]
---

# Search for resources

`POST /api/search`

## Request body

- object
  - `type` 'agent' | 'customer' | 'customer_profile' | 'customer_channel' | 'customer_channel_email' | 'customer_channel_phone' | 'customers_by_phone' | 'integration' | 'team' | 'tag', required — The type of search. Supported types: - `customer`: Search in customers' names and emails - `customer_profile`: Search in customers' names, emails, and channels' addresses (phones, emails, etc...)
  - `query` string — Text query used to search for resources.
  - `size` integer — Maximum number of results returned.

## Response `201`

List of the found resources.

- object

---

[API](https://skmtc.net/gorgias/apis/gorgias-rest-api.md) · [All operations](https://skmtc.net/gorgias/apis/gorgias-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gorgias/gorgias-rest-api/versions/36f2e31f4e81/schema)
