POST
/
v1
/
memory
/
{memory_id}
/
add-call
Add Call to Memory
curl --request POST \
  --url https://api.bland.ai/v1/memory/{memory_id}/add-call \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "call_id": "<string>",
  "external_memory_key": "<string>"
}'
{
  "data": {
    "message": "Call added to memory successfully",
    "call": {
      "call_id": "call_abc123",
      "memory_id": "mem_123abc"
    }
  },
  "errors": null
}

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).
{
  "data": {
    "message": "Call added to memory successfully",
    "call": {
      "call_id": "call_abc123",
      "memory_id": "mem_123abc"
    }
  },
  "errors": null
}

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