AI bots

Add a fact to a contact's memory

posthttps://api.whatsable.app/v1/contacts/{id}/memory
Build a request to copy

This page never sends a request. Fill in the fields, then copy the request and run it from your server.

Request
curl -X POST 'https://api.whatsable.app/v1/contacts/string/memory' \
  -H 'Content-Type: application/json' \
  -d '{
  "text": "Prefers to be called after 6 pm."
}'

Adds one fact that every AI bot reads in its conversations with this person. A contact keeps at most 30 facts: delete one before adding past that.

Authorization

bearerAuth
headerAuthorizationBearer <nfy_live_<32 characters>>

An API key from Settings > API keys, sent as Authorization: Bearer <key>.

Path Parameters

id*string

The contact id.

Length1 <= length <= 64

Header Parameters

Idempotency-Key?string

Any string up to 255 characters. A repeat with the same key and body answers the stored response; with another body, 409 idempotency_key_reused.

Lengthlength <= 255

Request Body

application/json
  1. body

A fact to add to the contact's memory.

text*string

One fact, at most 200 characters. Line breaks become spaces.

Length1 <= length <= 200

Response Body

The fact.

application/json
  1. response

A key fact about a contact. Every AI bot of the organization reads it in its conversations with this person.

object*string
id*string
Length1 <= length <= 64
contact_id*string
Length1 <= length <= 64
text*string
source*|

agent: the AI bot wrote it. team: a person or an API call did.

created_at*string
Formatdate-time
Example Request
curl -X POST 'https://api.whatsable.app/v1/contacts/string/memory' \  -H 'Content-Type: application/json' \  -d '{  "text": "Prefers to be called after 6 pm."}'
Example Response
{  "object": "contact_fact",  "id": "cm3a1b2c30001qz8hfct10001",  "contact_id": "cm2v8k1a00001qz8h8x9y0z1a",  "text": "Budget about USD 5,000.",  "source": "agent",  "created_at": "2026-11-20T15:04:00Z"}