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

# Add Call to Memory

> Add an existing call to a memory.

### Headers

**authorization** `string` *required*

Your API key for authentication.

### Path Parameters

**memory\_id** `string` *required*

The unique identifier of the memory to add the call to.

### Body Parameters

**call\_id** `string` *required*

The unique identifier of the call to add to the memory. Must be an existing call in your account.

**external\_memory\_key** `string`

Optional external key for additional memory validation or cross-referencing.

### Response

**data** `object`

Response data confirming call addition.

**data.message** `string`

Success message confirming call was added to memory.

**data.call** `object`

Information about the call that was added.

**data.call.call\_id** `string`

The call identifier that was added.

**data.call.memory\_id** `string`

The memory identifier the call was added to.

**errors** `null`

Error array (null on success).

```json Response theme={null}
{
  "data": {
    "message": "Call added to memory successfully",
    "call": {
      "call_id": "call_abc123",
      "memory_id": "mem_123abc"
    }
  },
  "errors": null
}
```

```json Missing Call ID theme={null}
{
  "data": null,
  "errors": [
    {
      "error": "INVALID_REQUEST",
      "message": "Call ID is required."
    }
  ]
}
```

```json Server Error theme={null}
{
  "data": null,
  "errors": [
    {
      "error": "MEMORY_ADD_CALL_ERROR",
      "message": "Failed to add call to memory."
    }
  ]
}
```

### Notes

* The call must already exist in your account before it can be added to a memory
* The call must be connected to a user existing in the memory
* Adding a call to a memory will automatically associate it with the phone number involved in the call

***

Docs for agents: [llms.txt](https://docs.bland.ai/llms.txt)


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