---
title: "Search memories for a specific contact"
method: POST
path: "/contact/{contactId}/memory/search"
tags: ["Contact Memory"]
---

# Search memories for a specific contact

`POST /contact/{contactId}/memory/search`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/contact/{contactId}/memory/search`
- Auth: HTTP bearer

## Path parameters

- `contactId` string, required: The ID of the contact to search memories for

## Request body

- object
  - `search` string, required: The keyword/phrase to search for

## Response `200`

The search was successful

- object
  - `items` object[], required: An array of memories matching the search query
    - `id` string, required
    - `text` string, required
    - `meta` object

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
