> ## Documentation Index
> Fetch the complete documentation index at: https://docs.algoreg.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search threads

> Searches for threads that match the input filters.

## Body parameters

**filters** `SearchThreadsFiltersInput`

**properties**

**assigned\_to\_member\_id** `integer`

**contact** `string`

**content** `string`

**customer\_id** `string`

**id** `string`

**max\_created\_at** `string`

**max\_updated\_at** `string`

**min\_created\_at** `string`

**min\_updated\_at** `string`

**only\_without\_assignment** `boolean`

**only\_without\_review\_groups** `boolean`

**review\_groups** `string[]`

**status** `integer`

**tag\_codes** `string[]`

**on\_page** `integer`

**per\_page** `integer`

## Response body

> [tab] 200
>
> **properties** `any`
>
> **type** `any`

> [tab] default
>
> unexpected error
>
> **errors** `APIError[]`
>
> **properties**
>
> **code** `string`
>
> **message** `string`

```json JSON
{
  "filters": {
    "assigned_to_member_id": "integer",
    "contact": "string",
    "content": "string",
    "customer_id": "string",
    "id": "string",
    "max_created_at": "string",
    "max_updated_at": "string",
    "min_created_at": "string",
    "min_updated_at": "string",
    "only_without_assignment": "boolean",
    "only_without_review_groups": "boolean",
    "review_groups": [
      "string"
    ],
    "status": "integer",
    "tag_codes": [
      "string"
    ]
  },
  "on_page": "integer",
  "per_page": "integer"
}
```

```javascript JavaScript

  const response = await fetch(
    "POST /api/v1/thread/search",
    {
      method: "post",
      headers: {
        "Content-Type": "application/json",
        "Authorization": `Bearer {token}`
      },
      body: JSON.stringify({
  "filters": {
    "assigned_to_member_id": "integer",
    "contact": "string",
    "content": "string",
    "customer_id": "string",
    "id": "string",
    "max_created_at": "string",
    "max_updated_at": "string",
    "min_created_at": "string",
    "min_updated_at": "string",
    "only_without_assignment": "boolean",
    "only_without_review_groups": "boolean",
    "review_groups": [
      "string"
    ],
    "status": "integer",
    "tag_codes": [
      "string"
    ]
  },
  "on_page": "integer",
  "per_page": "integer"
})
    }
  );
            
          
```

```json 200
{
  "properties": "any",
  "type": "any"
}
```

```json default
{
  "errors": [
    {
      "code": "string",
      "message": "string"
    }
  ]
}
```



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.