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

# Get detailed memory information for a specific user/phone number



## OpenAPI

````yaml post /memory/{id}/user
openapi: 3.0.0
info:
  title: ClearTalk API
  description: The ClearTalk API Documentation
  version: '1.0'
  contact:
    name: Developer Support
    email: devsupport@cleartalk.ai
servers:
  - url: https://api.cleartalk.ai
    description: ClearTalk AI API Server
security: []
tags: []
paths:
  /memory/{id}/user:
    post:
      tags:
        - Memory
      summary: Get detailed memory information for a specific user/phone number
      operationId: MemoryController_getUserMemory
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetUserMemoryDto'
      responses:
        '200':
          description: User memory details retrieved successfully
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '500':
          description: Internal server error
      security:
        - apiKey: []
components:
  schemas:
    GetUserMemoryDto:
      type: object
      properties:
        phone_number:
          type: string
          description: The phone number of the user to retrieve memory details for.
          example: '+1234567890'
        external_memory_key:
          type: string
          description: >-
            Optional external key for additional memory validation or
            cross-referencing.
          example: external_key_123
      required:
        - phone_number
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication

````