AI bots
Delete a fact from a contact's memory
deletehttps://api.whatsable.app/v1/contacts/{id}/memory/{fact_id}
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 DELETE 'https://api.whatsable.app/v1/contacts/string/memory/string'
bearerAuthheader
AuthorizationBearer <nfy_live_<32 characters>>An API key from Settings > API keys, sent as Authorization: Bearer <key>.
id*stringThe contact id.
Length
1 <= length <= 64fact_id*stringThe fact id. It must belong to this contact.
Length
1 <= length <= 64The fact was deleted.
application/json- response
object*stringid*stringLength
1 <= length <= 64deleted*booleancurl -X DELETE 'https://api.whatsable.app/v1/contacts/string/memory/string'Example Response
{ "object": "contact_fact", "id": "string", "deleted": true}Add a fact to a contact's memory POST
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.
Count the messages of a period GET
Counts the messages sent, delivered, read, failed and received from `from` to `to`, by day or by week. The numbers are the ones the Analytics page of the dashboard shows.