Skip to main content
POST
Create Contact Memory

Headers

string
required
Your API key for authentication.

Body Parameters

string
required
The unique identifier of the contact.
string
The persona ID for memory scoping. Either persona_id or agent_number is required.
string
The agent phone number for memory scoping. Either persona_id or agent_number is required.

Response

object
Response containing the memory and creation status.
object
The contact memory object.
string
Unique identifier for the contact memory.
string
Organization ID this memory belongs to.
string
Contact ID this memory is associated with.
string
Persona ID this memory is scoped to (null if agent-based).
string
Agent phone number this memory is scoped to (null if persona-based).
string
Rolling summary (empty for new memories).
object
Structured facts (empty object for new memories).
array
Recent messages array (empty for new memories).
boolean
Whether a new memory was created (true) or an existing one was returned (false).
null
Error array (null on success).

Docs for agents: llms.txt