Skip to main content
GET
/
api
/
messages
/
webchat
/
{webchatId}
Get all messages for a webchat session (no auth)
curl --request GET \
  --url https://your-instance.example.com/api/messages/webchat/{webchatId}
{
  "messages": [
    {
      "id": "67c0a0b0c0d0e0f0a0b0c0d0",
      "text": "Hi! How can we help?",
      "sender": "bot",
      "timestamp": 1747571400000,
      "attachments": [],
      "senderInfo": {
        "type": "AI",
        "name": "Tether AI"
      }
    },
    {
      "id": "67c0a0b0c0d0e0f0a0b0c0d1",
      "text": "I need a refund.",
      "sender": "user",
      "timestamp": 1747571410000
    }
  ]
}

Path Parameters

webchatId
string
required

Response

Webchat messages returned

messages
object[]