Skip to content

Latest commit

 

History

History

whatsapp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

WhatsApp API Example

This example shows how to use WhatsApp API.

How to run

You can run this example using

$ mvn compile exec:java

Custom chat and authorization token

You can specify your "phone number id", "authorization token", "recipient phone number" and "webhook verify token" in "application.properties" file.

In order to use the webhook and configure it on whatsapp-business interface you can use https://ngrok.com/ in order to expose your localhost to the internet, by default the webhook is exposed on /camel-whatsapp/webhook

To configure the webhook on whatsapp-business, you can follow this guide https://developers.facebook.com/docs/whatsapp/cloud-api/guides/set-up-webhooks.

Help and contributions

If you hit any problem using Camel or have some feedback, then please let us know.

We also love contributors, so get involved :-)

The Camel riders!