> ## 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.

# Add an existing call to a memory



## OpenAPI

````yaml post /memory/{id}/add-call
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}/add-call:
    post:
      tags:
        - Memory
      summary: Add an existing call to a memory
      operationId: MemoryController_addCallToMemory
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddCallToMemoryDto'
      responses:
        '201':
          description: Call added to memory successfully
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '500':
          description: Internal server error
      security:
        - apiKey: []
components:
  schemas:
    AddCallToMemoryDto:
      type: object
      properties:
        call_id:
          type: string
          description: >-
            The unique identifier of the call to add to the memory. Must be an
            existing call in your account.
          example: call_abc123
        external_memory_key:
          type: string
          description: >-
            Optional external key for additional memory validation or
            cross-referencing.
          example: external_key_123
      required:
        - call_id
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key for authentication

````