Skip to main content
POST
/
chats
/
{chat_id}
/
notes
Add a note to existing chat
curl --request POST \
  --url https://app.timelines.ai/integrations/api/chats/{chat_id}/notes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "<string>",
  "is_private": true
}
'
{
  "status": "ok",
  "data": {
    "message_uid": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chat_id
integer
required

an id of the chat as appears in TimelinesAI (can be found in the URL of the chat page, or in the payload of outbound webhook). Supports sending messages to a group.

Body

Add a note in existing WhatsApp chat (or group) specified by chat_id.

text
string
required

plain text (will be displayed "as is", no additional processing will be made)

is_private
boolean
default:true

specify whether to set the note as public or private

Response

Success

status
enum<string>
required
Available options:
ok,
error
Example:

"ok"

data
object