Webhook Integration
Custom Webhook integration guide
In this guide, you'll connect WhatsApp to your destination using Cooby custom Webhooks. You can use the same Webhook for the 2 different event triggers, or set up separate Webhooks for each event trigger. Set up guide Go to your workspace integration center (https://app.cooby.co/inteSome readersWebhook column definitions
After setting up a Custom Webhook, you will receive the payload from your endpoints. Here are the definitions for each column chatid When the message comes from a individual message, the phone numbers of both parties will be displayed as the chat ID, xxxxxxxxxxxxxxxxxxx@c.us. If the message comes from a group message, the WhatsApp group chat ID, 120363041306185221@g.us, will be displayed. chattype Indicate whether it is an individual chat or a group chat. chattitle ThSome readersWebhook integration synchronization frequency
The following restrictions in detail will help you better understand the operational concepts of Webhook integration. Sync every 9 minutes: Our server checks for new messages every 3 minutes from your WhatsApp Web and uploads them to your endpoint every 6 minutes. In summary, there might be a 9-minute delay between when you receive a new message and when it syncs to your endpoints.Few readersSyncing historical messages in Webhook integration
The following restrictions in detail will help you better understand the operational concepts of Webhook integration. Sync all chat history: Cooby supports syncing historical messages in Custom Webhook integrations. Please be aware that this could potentially result in a large number of webhook requests in a short period. Learn more: Webhook Integration Synchronization Frequency We hope this documentFew readersWebhook integration syncing mechanism
Using Cooby Webhook integration to sync your WhatsApp messages to your endpoints, there are a few things regarding our syncing mechanism that you might want to know. Each request contains only one message Once you receive or send a new message, we will send a webhook request to your endpoint. No bulk requests, only a single message for a single user. The request order Once we receive numerous message requests from different chats, we will follow the same chat ID and then timestamp to sFew readers