| Parameter | Type | Required | Description |
|---|---|---|---|
mobile | string | Yes | Contact's mobile number (must match an existing chat conversation) |
| Field | Type | Description |
|---|---|---|
success | boolean | true on success |
data | array | Array of internal note objects |
data[].id | integer | Message row ID |
data[].message | string | Note text content |
data[].type | string | Media type: text, image, audio, video, document |
data[].status | string | Always internal_note |
data[].status_message | string | Short label for the note |
data[].url | string|null | Stored media filename (if attachment exists) |
data[].message_id | string|null | WhatsApp wamid.* of the note |
data[].ref_message_id | string|null | WhatsApp wamid.* of the replied-to message |
data[].sender_id | string | Sender phone number (tenant default WhatsApp number) |
data[].created_at | string | ISO 8601 datetime |
| Status | Description |
|---|---|
| 401 | Token missing or invalid |
| 404 | Chat conversation not found for the given mobile number |
| 500 | Chat tables not initialized for tenant |
curl --location --request GET '/comments/919876543210' \
--header 'Authorization: Bearer <token>'{}