# Contacts search documents

`GET /crm/search` · Rivier · contacts

Search segments, forms, deals, notes, tasks, companies, templates, campaigns, flows or pipelines by the words in them.

- Scope: contacts:read
- Graphql: Query.contactsSearchDocuments
- Sdk: contacts.search.documents
- Cli: contacts search documents

## Parameters

- `limit` (query), integer
- `after` (query), string
- `kind` (query, required), string
- `q` (query), string
- `state` (query), string

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/crm/search' \
  -H 'Authorization: Bearer $KEY'
```
