Your API key for authentication.
Body Parameters
The unique identifier of the contact.
The persona ID for memory scoping. Either persona_id or agent_number is required.
The agent phone number for memory scoping. Either persona_id or agent_number is required.
Response
Response containing the memory and creation status.
The contact memory object.
Unique identifier for the contact memory.
Organization ID this memory belongs to.
Contact ID this memory is associated with.
Persona ID this memory is scoped to (null if agent-based).
Agent phone number this memory is scoped to (null if persona-based).
Rolling summary (empty for new memories).
Structured facts (empty object for new memories).
data.memory.recent_messages
Recent messages array (empty for new memories).
Whether a new memory was created (true) or an existing one was returned (false).
Error array (null on success).
{
"data": {
"memory": {
"id": "mem-aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"org_id": "11111111-2222-3333-4444-555555555555",
"contact_id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"persona_id": "persona-12345678",
"agent_number": null,
"summary": null,
"facts": {},
"recent_messages": [],
"open_items": [],
"memory_history": [],
"created_at": "2025-07-22T10:30:00.000Z",
"updated_at": "2025-07-22T10:30:00.000Z"
},
"created": true
},
"errors": null
}