cURL
curl --request POST \ --url https://api.bland.ai/v1/memory/{memory_id}/add-user \ --header 'Content-Type: application/json' \ --header 'authorization: <authorization>' \ --data '{ "phone_number": "<string>", "metadata": "<string>", "summary": "<string>", "external_memory_key": "<string>" }'
{ "phone_number": "+12345678900", "metadata": "25 year old customer", "summary": "The user described their age" }
Add a new user/phone number to an existing memory.
MEMORY_ADD_USER_ERROR