Viber Business Messages Integration into Mobile App

TRUETECH is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Viber Business Messages Integration into Mobile App
Simple
~2-3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1052
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Viber Business Messages Integration in Mobile Application

Viber Business Messages — official business communication channel in Viber. Not regular Viber bot: Business Messages — verified account with branding, transactional and promo messages via PA (Public Account) API. Audience relevant especially for Ukraine, Belarus, and other CIS countries.

How Viber PA API Works

Viber doesn't give direct REST API to developers without intermediary. Send either via Rakuten Viber Partner (direct access — large businesses with contract only) or authorized aggregators: Infobip, SMSC, MessageBird, TurboSMS, others. Aggregator provides REST API, internally calls Viber.

Request via Infobip:

POST https://api.infobip.com/viber/1/message/bulk
Authorization: App {API_KEY}
Content-Type: application/json

{
  "bulkId": "bulk-campaign-2024-03",
  "messages": [
    {
      "from": "YourBrandName",
      "destinations": [{ "to": "380991234567" }],
      "viber": {
        "text": "Your order #98765 sent for delivery. Expect today 2:00 PM – 6:00 PM.",
        "imageUrl": "https://cdn.yourbrand.com/delivery-banner.jpg",
        "buttonText": "Track Order",
        "buttonUrl": "https://yourbrand.com/track/98765"
      }
    }
  ]
}

Rich messages (with image and button) — transactional only. Promo with buttons need separate Viber approval.

Mobile Part: What to Build

App doesn't work with Viber SDK directly — calls your backend sending via aggregator. Mobile side:

  • Form for Viber message creation with Rich Media (image upload, button, text).
  • Message preview before send.
  • Launch broadcast and status tracking.
// Android — create Viber message
data class ViberMessage(
    val recipientPhone: String,
    val text: String,
    val imageUrl: String? = null,
    val buttonText: String? = null,
    val buttonUrl: String? = null
)

suspend fun sendViberMessage(message: ViberMessage): MessageResult {
    return apiClient.post("/notifications/viber", message)
}

Delivery Statuses and SMS Fallback

Key Viber Business feature: if user has no Viber or unavailable — auto-fallback to SMS. Configured at aggregator level:

{
  "messages": [{
    "viber": { "text": "...", "validityPeriod": 15 },
    "sms": { "text": "Short SMS version of message" }
  }]
}

validityPeriod — minutes to wait for Viber delivery before switching to SMS. After send, aggregator webhooks with final status: DELIVERED_TO_VIBER, DELIVERED_TO_SMS, UNDELIVERABLE.

Backend processes webhooks, stores statuses. Mobile requests aggregated stats:

struct ViberCampaignStats: Decodable {
    let total: Int
    let deliveredViber: Int
    let deliveredSms: Int
    let failed: Int
    let pending: Int
}

Verification and PA Registration

Before development — register Public Account in Viber. Process: application via partner → brand verification → get pa_token. Takes days to weeks. Plan for this timeline.

Timeline

Viber Business Messages integration via aggregator (Infobip or similar), mobile UI with Rich message preview, delivery status and fallback handling — 4–7 workdays (not including PA verification time).