Developer Docs | Kommunicate

Developer Docs | Kommunicate

  • Try For Free
  • Docs

›Integrations

Web

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

Android

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Migration
  • 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 360Dialog
  • WhatsApp Twilio
  • 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. Once you are on the My Apps page. You will see the name of your App. Inside the App Tile, Just below the App Title you will see a link for the business account which is linked to the apps. Click on that link to go to business settings pages.

  2. Navigate to the Users->system user menu item from the left panel. Click on "Add" for adding a new admin user by giving a name to the admin and selecting role as "Admin". 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.

  4. Select the "apps" and now select your app from the list of app available. Now give “full control” for managing your app 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.

Template Message Setup

  1. Go to the Mdashboard, click on the "Get Started Page". If it is not visible, click on WhatsApp then dropdown will open.

Whatsapp Cloud API

Once you are on the get started page, click on "Create Message Template" in step 2.

Whatsapp Cloud API

  1. By default "hello world" template is used for sending the message. However, you can create a new template for sending custom messages.

  2. Click on the button "Create Message template" on the top right corner to create a custom template.

Whatsapp Cloud API

  1. You can choose the message category for the message template from the given below option as shown in the screenshot.

Whatsapp Cloud API

For ex. Create an alert template by choose the option, Now give a name and select language and click on continue.

  1. There are option like choose file like media file to be send with the message which can be added from "Header" and choose the "document", "Image" or "Video" which you want to send.

Whatsapp Cloud API

  1. You can add the body of the message in the "Body" section. There are many options like adding a variable which you can use for the body section to personalize the message.

  2. You can also add footer and button in your message template. Right side of the page shows the preview of the template to understand how the message will look when sent to the customers. Refer to the below given screen shot for the reference.

  3. Once you have filled the section of the template, click on the "Add Sample" button on the top right corner. A modal window will open that will allow you to select "media" which you have added while creating the template at the header section and variable values if you have added any. You will be able to see the preview of the message here in this window as well.

  4. Now click on "Done" button and then "Submit" button on the message template page, you will be asked to confirm the language for the template and once you click on "confirm" it will submit the message template for review with meta team.

Whatsapp Cloud API

  1. You will be able to see the newly created template message in the list of messages. It will show the status of the template message as well for ex - "Pending review" when the review is not completed. It few mins you may see the template moving to "approved" status as it is all automated process in Meta.

  2. Once template is approved you will be able to see the template available for use. Same can be synced in the Kommunicate and will be available for sending messages to the end user.

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

← WhatsApp TwilioAuthentication →
  • What is WhatsApp Cloud API?
  • WhatsApp Cloud API feature?
  • Sandbox Setup
  • Go Live
  • Template Message Setup

Ready to automate more than 80% of your customer support?

Try for Free
  • support@kommunicate.io
  • United States
    (+1) (310) 402-2374
  • India
    (+91) 974-057-0196
  • Docs
    • Web
    • Android
    • iOS
    • Ionic/Phonegap
    • React Native
    • Flutter
  • Product
    • Kompose Chatbot Builder
    • Live Chat
    • Integrations
    • Helpcenter
    • Dialogflow Integration
    • Features
    • Pricing and FAQs
    • Get Demo
  • Resources
    • Chatbots Templates
    • Blog
    • Kommunity
    • Support Metrics
    • Free SaaS Icons
    • ROI Calculator
    • Comparison
  • Company
    • About Us
    • Partner Program
    • Terms of Service
    • Privacy Policy
    • Jobs
    • SLA
    • DPA
  • Support
    • Knowledge Base
    • Docs
    • Stack Overflow
    • API Status
    • Contact Us
Software Advice Frontrunners for Live Chat Mar-22crozdesk badgeCapterra Shortlist for Live Chat Mar-22GetApp Category Leaders for Live Chat Mar-22GDPR compliant - GDPR Copy 12Created with Sketch.COMPLIANTG2 reviews badge
Copyright © 2023 Kommunicate.io