#2403-Essential Metadata to Incoming & Outgoing Webhooks

Ahmed Sheblu
#1
Ahmed Sheblu

Hi BS Team,

We are getting the basic payload from incoming and outgoing webhooks, but for better data accuracy and stable CRM connection, we need a few additional fields.

Incoming Webhook — Required Fields

Please include these in every incoming message payload:

whatsapp_bot_id / waba_number_idwhatsapp_bot_namesubscriber_idmessage_id

These are necessary for proper routing and storing messages correctly inside our CRM.


Outgoing Webhook — Required Fields

For outgoing webhook, we also need the following fields:

bot_idbot_namewaba_number_idsubscriber_idmessage_iddelivery_status (optional but important)

Delivery status can be optional, but at least message_id or delivery_status is required for deduplication, because when we send a message from our CRM → it goes to Botsailor ( Inbox) → and then comes back again to our CRM through the outgoing webhook.

Without a unique message ID or delivery status, we cannot prevent duplicates.