---
title: "Incoming messages"
description: "Get started with CM.com's Developer API Documentation for Inbound Viber for Business. Find everything you need to implement Inbound Viber for Business for your business."
canonical: "https://docs.cm.com/messaging/viber/viber-inbound"
---

# Incoming messages

> Get started with CM.com's Developer API Documentation for Inbound Viber for Business. Find everything you need to implement Inbound Viber for Business for your business.

Source: https://docs.cm.com/messaging/viber/viber-inbound

This page describes the incoming (MO) messages you can receive from Viber users through the CM.com Messaging API.

For the generic behaviour of inbound messages across all channels, see [Incoming messages](https://docs.cm.com/messaging/business-messaging/incoming-messages).

The main difference from other channels is the fact that Viber uses a numeric identifier for the recipient of the MO message, a so-called "Viber Service ID".

## Media Message

> See also [receiving media messages](https://docs.cm.com/messaging/business-messaging/incoming-messages#media-messages)

:::warning[Note]
Please note that media URLs are valid for 30 days and won't contain content anymore afterwards.
:::

End-users have the option to send a photo, video, document or sticker to your Viber business account.

- Image
  - Including animated gifs
  - Including (animated) stickers
- Video
- Documents
  - Word document
  - PDF
  - Excel spreadsheet

#### Example message

```json
{
  "reference": "my-reference",
  "messageContext": "",
  "from": {
    "number": "0031612345678",
    "name": ""
  },
  "to": {
    "number": "12345"
  },
  "message": {
    "text": "",
    "media": {
      "mediaUri": "https://cdn-2.messaging.cm.com/fileproxy/files/d74561737ba34eac9f42ff6196b2e1d3",
      "contentType": "image/jpeg",
      "title": "cm.png"
    },
    "custom": {
    }
  },
  "groupings": ["", "", ""],
  "time": "2024-03-29 15:00:00",
  "timeUtc": "2024-03-29T13:00:00",
  "channel": "Viber"
}
```
