Skip to main content
POST
/
campaigns
/
{campaignId}
/
contacts
/
{phoneNumber}
/
memories
Create memory for campaign contact by phone number
curl --request POST \
  --url https://api.callers.ai/campaigns/{campaignId}/contacts/{phoneNumber}/memories \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "text": "<string>"
}
'
{
  "data": {
    "id": "507f1f77bcf86cd799439011",
    "name": "Communication Preference",
    "text": "Customer prefers email contact",
    "status": "ACTUAL",
    "phoneNumber": "14155552671",
    "campaignId": "507f1f77bcf86cd799439011",
    "createdAt": "2024-04-09T12:00:00.000Z",
    "contactId": "507f1f77bcf86cd799439011",
    "previousMemoryId": "507f1f77bcf86cd799439011",
    "updatedAt": "2024-04-09T13:30:00.000Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.callers.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Headers

x-sub-organization-id
string

Optional sub organization ID. Must belong to your main organization API key.

Path Parameters

campaignId
string
required

Campaign ID

phoneNumber
string
required

Contact phone number (5-15 digits, optional + prefix)

Body

application/json
name
string
required
Required string length: 1 - 200
text
string
required
Required string length: 1 - 5000

Response

status
enum<string>
Available options:
success
data
object