Developer Docs | Kommunicate

Developer Docs | Kommunicate

  • Docs

›Integrations

Web

  • Installation
  • CMS Installation
  • Authentication
  • Conversation
  • Conversation Assignment
  • Customization
  • Localization
  • Logout
  • Troubleshooting

Android

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Troubleshooting

iOS

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Troubleshooting

React Native

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Logout

Flutter

  • Installation
  • Authentication
  • Customization
  • Conversation
  • Push Notification
  • Localization
  • Troubleshooting

Ionic/Cordova/Phonegap

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Resolving Errors

Ionic/Capacitor

  • Installation
  • Authentication
  • Push notification
  • Customization

Rich Messages

  • How To Use
  • Types of Rich Messages

Bots

  • Bot setup
  • Dialogflow Integration
  • Lex Integration
  • Kompose Bot Builder
  • IBM Watson Integration
  • Custom Bot Integration
  • Import Kompose Bot
  • Bot Samples

Integrations

  • Zapier
  • WhatsApp
  • WhatsApp Cloud API

Platform APIs

  • Authentication
  • Endpoints

Dashboard Features

  • Analytics
  • Conversations
  • Users
  • Bot Integration
  • Helpcenter
  • Settings

Configuration

  • Email Fallback
  • Webhooks
  • Access Token URL

WhatsApp Cloud API Integration

What is WhatsApp Cloud API?

WhatsApp Cloud API allows businesses to send and receive messages using cloud hosted version of it's WhatsApp Business API. By offering free, secure and cloud-based hosting, businesses can scale their customer communication and reduce the go-live time.

WhatsApp Cloud API feature?

  1. Businesses and developers can build on top of WhatsApp reducing the onboarding time substantially.
  2. Hosting cost is eliminated.
  3. Managing the message is possible across devices, up to 10 right now.
  4. New feature are available as soon as they are released.

Sandbox Setup

Sandbox is for testing. It is easy to use. You need to have an app created in Meta for Developers myapps. Here are the steps to create a new app if not already created.

  1. Go to Meta for Developers. If you are visiting for the first time, you will see get started button. Click on "Get Started". Else, go to step 2.

  2. Navigate to MyApps buttons on the top right corner.

  3. Click on create app and choose "Business" as app type and click on next.

  4. Enter the display name for the app.

  5. If you have business account then select it or leave it as it is and click on submit button.

  6. Scroll down on the page and select WhatsApp for setup.

  7. Now create a meta business account by selecting "Create a business account" and click on continue.

  8. Now you will see the get started page where you can see the temporary access token. Copy this token to paste it in the sandbox setting page on Kommunicate Integration.

  9. Here a temporary phone number(phone number id) is generated for testing purpose. Copy this temporary phone number id and update on the sandbox setting page on Kommunicate integration.

  10. Copy the WhatsApp Business Account Id and update the same in the integration page on Kommunicate.

Whatsapp Cloud API

  1. Add a recipient (To) phone number and verify it with the code which WhatsApp will send on the number. Update the same number at the time of WhatsApp Cloud API Integration on the Kommunicate and click on save button.

  2. Now click on test button, for testing and getting the messages on the "Phone Number" mentioned in the sandbox page. Test the flow with the API which is given and see how messages are flowing from test number to the recipient number.

  3. After testing, you can add a phone number and verify it using a code which WhatsApp sends. This is actual business number which you want to use for messaging your customer. This number will get added to the from number on the get started page.

  4. Check the API version from the configuration section from the left panel in the setting->advanced tab as shown below. You will need to enter it on the Kommunicate Dashboard at the time of integration.

Whatsapp Cloud API

Setup the Webhook

You will need to create a webhook entry for getting messages in Kommunicate. This can be done from the MyApps → webhooks from the left side panel. User should add the below given entry for Kommunicate and save the same.

Enter the URL: https://omni-channel.kommunicate.io/whatsapp/cloud-api/webhook

Verify Token: kommunicate_private_access_token

Whatsapp Cloud API

Once you have saved the webhook, click on manage and give the messaging permissions shown in the below given screen shot as “messages”.

Whatsapp Cloud API

Subscribe to "messages"

Once you have given the permission it will show as “subscribe” as shown in the screen shot below.

Whatsapp Cloud API

Go Live

You should follow the below given instruction to generate the permanent app token and update the same on the go live tab. Here are the steps and fields values to be added/update to complete the setup.

  1. Go to the apps and click on the app name which is showing on the tile on the landing page "MyApps". This will bring the user to the setting page.

  2. Navigate to the system user menu item from the left panel. Click on "Add" for adding a new user which will have "Admin" role. This step is valid when admin user is not already created. If it is already created then you should be logged in as admin.

  3. Now add asset to this system user by clicking on "Add asset" button. Click on "apps" from the window that opens.

  4. Select your app name radio button, and give full control by clicking on the slider button next to "full control", manage app and save changes

  5. Now generate a permanent token by clicking on the "Generate token" button for the selected app.

  6. Ensure that "WhatsApp_business_messaging" & "WhatsApp_business_management" is selected in available permission before clicking on generate token on the modal window.

  7. Now copy the generated token. This token needs to be updated in the integration go live tab to complete the setup and start sending the messages to your users.

Rate and plans

Customer is not charged for first 1000 conversation per month. After the 1000 conversation user is charged accordingly to region and county they are located in. Conversation are changed and calculated based on 24 hours session for any conversation. We as Kommunicate need not handle the payment parts of the WhatsApp cloud API. For more details refer the links give below.

Rate Limits - Graph API

Messages - WhatsApp Business Cloud API

← WhatsAppAuthentication →
  • What is WhatsApp Cloud API?
  • WhatsApp Cloud API feature?
  • Sandbox Setup
  • Go Live
Facebook Open Source

IndiQube Octagon
Site No. 643, 80 Feet Road,
4th Block, Koramangala,
Bengaluru, Karnataka,
India, 560034

(+1) (310) 402-2374
support@kommunicate.io

Docs
WebAndroidiOSIonic/PhonegapReact NativeFlutter
Product
Pricing and FAQsRequest Demo
Social
FacebookTwitterLinkedinYoutube
Copyright © 2022 Kommunicate.io.