Chat APIs and In-app Messaging SDKs for Developers

Applozic provides Chat APIs and In-app Messaging SDKs for Android, iOS and Web apps to power cross-device, multi-platform rich messaging.
Find comprehensive guides and platform-specific Chat API documentation to get started with In-app Messaging.

Guides    API Explorer

Ionic/Phonegap/Cordova

Chat View

Launch Chat

Main chat screen

You can launch the main chat screen as below:

applozic.launchChat(function() {
  console.log("success");
}, function () {
  console.log("error");
});

Launch Chat with a specific User

applozic.launchChatWithUserId(userId, function() {
  console.log("success");
}, function () {
  console.log("error");
});

Launch Chat with specific Group using groupId

applozic.launchChatWithGroupId(groupId, function() {
  console.log("success");
}, function () {
  console.log("error");
});

Launch Chat with specific Group using clientGroupId

applozic.launchChatWithClientGroupId(clientGroupId, function() {
  console.log("success");
}, function () {
  console.log("error");
});

Context Based Chat

Here are the steps to enable context based chat:

var topicDetail = {
                    'title': 'Hyundai Electric i20', // Product title
                    'subtitle': 'electric car',      // Product subTitle or Product Id
                    'link': 'https://www.applozic.com/assets/resources/images/applozic_logo.gif',  // Product image link
                    'key1': 'Mileage: ',  // Small text anything like Qty (Optional)
                    'value1': '18 kmpl',  // Value of key1 ex-10 (number of quantity) Optional
                    'key2': 'Price: ',    // Small text anything like MRP (product price) (Optional)
                    'value2': '$50k'   // Value of key2 ex-$100  (Optional)
                };
                var conversation = {
                    'topicId': 'topic-11', //Unique topic id
                    'userId': 'demouser', //SET UserId for which you want to launch chat or conversation,
                   // 'groupId': groupKey,  // Set groupId for which you want to launch chat, use either userId or groupId
                    'topicDetail': JSON.stringify(topicDetail)
                };

                applozic.startTopicBasedChat(conversation, function() {}, function() {});

Updated 9 months ago



Ionic/Phonegap/Cordova


Chat View

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.