POST
/
v1
/
memory
/
{memory_id}
/
call
/
{call_id}
/
delete
Remove Call from Memory
curl --request POST \
  --url https://api.bland.ai/v1/memory/{memory_id}/call/{call_id}/delete \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "phone_number": "<string>",
  "external_memory_key": "<string>"
}'
{
  "data": {
    "message": "Call removed from memory successfully and updated summary",
    "summary": "Customer had initial billing inquiry which was resolved. Prefers email communication for follow-ups.",
    "call_count": 2
  },
  "errors": null
}

Headers

authorization
string
required
Your API key for authentication.

Path Parameters

memory_id
string
required
The unique identifier of the memory containing the call.
call_id
string
required
The unique identifier of the call to remove from the memory.

Body Parameters

phone_number
string
required
The phone number associated with the call to be removed.
external_memory_key
string
Optional external key for additional memory validation or cross-referencing.

Response

data
object
Response data confirming call removal and updated summary.
data.message
string
Success message confirming call was removed and summary updated.
data.summary
string
The updated AI-generated summary for the user after call removal.
data.call_count
number
The updated call count for the user after removal.
errors
null
Error array (null on success).
{
  "data": {
    "message": "Call removed from memory successfully and updated summary",
    "summary": "Customer had initial billing inquiry which was resolved. Prefers email communication for follow-ups.",
    "call_count": 2
  },
  "errors": null
}

Notes

  • Removing a call will automatically update the user’s summary to reflect the remaining interactions
  • The call itself is not deleted from your account, only its association with this memory is removed