Skip to content

Message Received


Request

Headers

Header Value
Content-Type application/json

Body (example: SMS/WhatsApp/Telegram thread with numbers)

{
  "id": 987,
  "type": "sms",
  "conversationId": 321,
  "sentAt": "2026-01-13T10:20:00+02:00",
  "text": "Hello",
  "contact": {
    "id": 44,
    "fullName": "John Doe"
  },
  "agent": {
    "id": 5,
    "fullName": "Agent A"
  },
  "fromNumber": {
    "id": 10,
    "number": "+12025550100",
    "numberWithAlias": "+12025550100 (Support)",
    "alias": "Support"
  },
  "toNumber": "+12025550123"
}

Body (example: Livechat thread without contact)

{
  "id": 988,
  "type": "livechat",
  "conversationId": 322,
  "sentAt": "2026-01-13T10:21:00+02:00",
  "text": "Hi",
  "contact": {},
  "agent": {},
  "visitor": "livechat_user_abc123"
}