# Search Conversation Messages

GET /api/v2/projects/{projectId}/support/conversations/search

Returns conversation ids whose message bodies match every search term. Caps at 200 matches. Does not search contact names, emails, or subjects — those live on the listing and are matched there. Omitted `state` searches open conversations. `all` includes spam unless `includeSpam` is false.

## Request

- projectId: string, path, required — ID of the project whose conversations to search.
- includeSpam: boolean, query
- search: string, query, required — Space-separated terms. Every term must appear somewhere in the thread, though not in one message.
- state: all | open | closed | spam, query

## Response

- 200: Successful response
- 400: Invalid input data
- 401: Authorization not provided
- 403: Insufficient access
- 404: Not found
- 500: Internal server error
