---
title: How do I integrate Opensend to BayEngage with a custom webhook?
description: Steps to integrate:
---

[Skip to content](https://help.opensend.com/how-do-i-integrate-opensend-to-bayengage-with-a-custom-webhook#main-content)

[Contact Support](https://help.opensend.com/kb-tickets/new?hsLang=en)

[![Logo Black.png\]](https://help.opensend.com/hs-fs/hubfs/Logo%20Black.png?height=33&name=Logo%20Black.png)](https://opensend.com/)

Open main navigation

Close main navigation

- [Contact Support](https://help.opensend.com/kb-tickets/new)
- [Return to opensend.com](https://opensend.com/)

[Return to opensend.com](https://opensend.com/)

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Success Center](https://help.opensend.com/?hsLang=en)
2. [Integrations](https://help.opensend.com/integrations?hsLang=en)
3. [Webhook](https://help.opensend.com/integrations?hsLang=en#webhook)

# How do I integrate Opensend to BayEngage with a custom webhook?

**Steps to integrate:**

1. Go to the integrations tab on the Opensend Dashboard
2. Click Main Connections
3. Click Add Destination  
   ![](https://help.opensend.com/hs-fs/hubfs/image-png-May-29-2024-12-13-30-2422-AM.png?width=688&height=110&name=image-png-May-29-2024-12-13-30-2422-AM.png)
4. Select Custom Webhook  
   ![](https://help.opensend.com/hs-fs/hubfs/image-png-May-30-2024-02-14-31-8833-AM.png?width=600&height=180&name=image-png-May-30-2024-02-14-31-8833-AM.png)
5. Add Name, Description, and Click Next  
   ![](https://help.opensend.com/hs-fs/hubfs/image-png-May-30-2024-02-15-48-1650-AM.png?width=661&height=329&name=image-png-May-30-2024-02-15-48-1650-AM.png)
6. Select the "BayEngage template" under the Webhook configuration dropdown  
   ![](https://help.opensend.com/hs-fs/hubfs/image-png-Jul-07-2024-02-17-11-9756-AM.png?width=688&height=169&name=image-png-Jul-07-2024-02-17-11-9756-AM.png)
7. Select the Webhook method (POST)
8. Select API Key under the Authentication method dropdown and add the following details for authorization: 
     1. x-client-secret
     2. x-public-id
     3. To get the values for x-client-secret and x-public-id from BayEngage follow these steps: 
            1. Go to the [BayEngage dashboard](https://app.bayengage.com/)
            2. Click on Apps  
               ![](https://help.opensend.com/hs-fs/hubfs/image-png-Jul-07-2024-02-31-00-4382-AM.png?width=680&height=339&name=image-png-Jul-07-2024-02-31-00-4382-AM.png)
            3. Click on Settings in the Custom Integration section  
               ![](https://help.opensend.com/hs-fs/hubfs/image-png-Jul-07-2024-02-31-47-6738-AM.png?width=680&height=510&name=image-png-Jul-07-2024-02-31-47-6738-AM.png)
            4. Copy Client ID and Client Secret (private key) and add the following details in Opensend Webhook configuration  
               ![](https://help.opensend.com/hs-fs/hubfs/image-png-Jul-07-2024-02-33-09-0867-AM.png?width=688&height=312&name=image-png-Jul-07-2024-02-33-09-0867-AM.png)  
               ![](https://help.opensend.com/hs-fs/hubfs/image-png-Jul-07-2024-02-35-48-3529-AM.png?width=688&height=349&name=image-png-Jul-07-2024-02-35-48-3529-AM.png)
9. Under the fields dropdown select any [default fields](https://help.opensend.com/what-are-the-default-fields-available-from-opensend-to-integrate?hsLang=en) from Opensend and any custom fields, you want to send to Custom Webhook
10. The Custom Webhook URL is auto-filled: https://api.bayengage.com/api/v1/customer
11. Add "list\_id:": "XXXXXXXX" to the payload to send the contacts to the specific list on BayEngage 
      1. You can get the list\_id value from the BayEngage list  
         ![](https://help.opensend.com/hs-fs/hubfs/image-png-Jul-15-2025-05-31-31-6325-PM.png?width=1581&height=637&name=image-png-Jul-15-2025-05-31-31-6325-PM.png)
12. Your final payload should look like this:  
    ![](https://help.opensend.com/hs-fs/hubfs/image-png-Jul-15-2025-05-32-43-2331-PM.png?width=651&height=381&name=image-png-Jul-15-2025-05-32-43-2331-PM.png)
13. Press the Send a Test request button
    
    ![](https://help.opensend.com/hs-fs/hubfs/image-png-Jul-07-2024-02-38-41-1480-AM.png?width=688&height=219&name=image-png-Jul-07-2024-02-38-41-1480-AM.png)
14. In the popup add the email address to send as a test to Custom Webhook and Press Send
    
    ![](https://lh3.googleusercontent.com/pNISZhDAlbzYMnFXwmiZnUrRKWueak0TEHVpwKdcRWNzKwE8lU9ESixSB1Zss2YiqOb6bkvr-Mnj_xCOpL1_47xpWc4bf4nqo3kk1fwvSAGs2Camj7nE5pFZziBAGErQv5YWwevhxCoOIVQGxnxhBQ)
15. You will find a test request with the email you have entered in your Contacts page on BayEngage
16. Press Done to close the Popup
17. Click Next
    
    ![](https://help.opensend.com/hs-fs/hubfs/image-png-Jul-07-2024-02-44-25-5703-AM.png?width=688&height=272&name=image-png-Jul-07-2024-02-44-25-5703-AM.png)
18. Select the Traffic sources from where you want to receive the data
19. Click Create Connections  
    ![](https://help.opensend.com/hs-fs/hubfs/image-png-May-29-2024-12-22-03-8654-AM.png?width=688&height=336&name=image-png-May-29-2024-12-22-03-8654-AM.png)
20. Select the connections and Click Publish  
    ![](https://help.opensend.com/hs-fs/hubfs/image-png-May-30-2024-02-22-11-0271-AM.png?width=688&height=337&name=image-png-May-30-2024-02-22-11-0271-AM.png)
21. Request Data format: 
      1. For DTC: In the case of DTC product, on the bottom, you should be able to see Example request data
         
         ![](https://help.opensend.com/hs-fs/hubfs/image-png-Jul-07-2024-02-45-06-8776-AM.png?width=688&height=250&name=image-png-Jul-07-2024-02-45-06-8776-AM.png)
      2. For B2B: In the case of B2B product, on the bottom, you should be able to see Example request data and JavaScript example code you can use to post data on your end. 
         
         Note: If you are using our B2B product and you want to integrate with Bayengage, only the "person" additional field will be available for delivery:
         
             - First/Last name of the contact
             - Address details
           
         ![](https://help.opensend.com/hs-fs/hubfs/image-png-Jul-07-2024-02-47-49-4066-AM.png?width=688&height=243&name=image-png-Jul-07-2024-02-47-49-4066-AM.png)

- [Getting started](https://help.opensend.com/getting-started?hsLang=en#main-content)

    - [Start Here!](https://help.opensend.com/getting-started?hsLang=en#start-here)
    - [Installation and Setup](https://help.opensend.com/getting-started?hsLang=en#installation-and-setup)
    - [CNAME Setup](https://help.opensend.com/getting-started?hsLang=en#cname-setup)
    - [Opensend SDK](https://help.opensend.com/getting-started?hsLang=en#opensend-sdk)
- [Best Practices to Maximize Revenues](https://help.opensend.com/best-practices-to-maximize-revenues?hsLang=en#main-content)

    - [Direct-to-consumer](https://help.opensend.com/best-practices-to-maximize-revenues?hsLang=en#direct-to-consumer)
    - [Business-to-business](https://help.opensend.com/best-practices-to-maximize-revenues?hsLang=en#business-to-business)
    - [Deliverability](https://help.opensend.com/best-practices-to-maximize-revenues?hsLang=en#deliverability)
- [Dashboards & Reports](https://help.opensend.com/dashboards-reports?hsLang=en#main-content)

    - [Klaviyo Reports](https://help.opensend.com/dashboards-reports?hsLang=en#klaviyo-reports)
    - [Iterable Reports](https://help.opensend.com/dashboards-reports?hsLang=en#iterable-reports)
- [Reconnect](https://help.opensend.com/reconnect?hsLang=en#main-content)

    - [Klaviyo](https://help.opensend.com/reconnect?hsLang=en#klaviyo)
    - [Iterable](https://help.opensend.com/reconnect?hsLang=en#iterable)
    - [Bloomreach](https://help.opensend.com/reconnect?hsLang=en#bloomreach)
    - [Attentive](https://help.opensend.com/reconnect?hsLang=en#attentive)
    - [Salesforce Marketing Cloud](https://help.opensend.com/reconnect?hsLang=en#salesforce-marketing-cloud)
- [Personas](https://help.opensend.com/personas?hsLang=en)
- [Revive](https://help.opensend.com/revive?hsLang=en)
- [Integrations](https://help.opensend.com/integrations?hsLang=en#main-content)

    - [API Keys and Account IDs](https://help.opensend.com/integrations?hsLang=en#api-keys-and-account-ids)
    - [Bloomreach](https://help.opensend.com/integrations?hsLang=en#bloomreach)
    - [Braze](https://help.opensend.com/integrations?hsLang=en#braze)
    - [Facebook](https://help.opensend.com/integrations?hsLang=en#facebook)
    - [Google](https://help.opensend.com/integrations?hsLang=en#google)
    - [Iterable](https://help.opensend.com/integrations?hsLang=en#iterable)
    - [Klaviyo](https://help.opensend.com/integrations?hsLang=en#klaviyo)
    - [Listrak](https://help.opensend.com/integrations?hsLang=en#listrak)
    - [Sendlane](https://help.opensend.com/integrations?hsLang=en#sendlane)
    - [Suppression List](https://help.opensend.com/integrations?hsLang=en#suppression-list)
    - [Webhook](https://help.opensend.com/integrations?hsLang=en#webhook)
    - [Yotpo](https://help.opensend.com/integrations?hsLang=en#yotpo)
    - [Zapier](https://help.opensend.com/integrations?hsLang=en#zapier)
    - [Attentive](https://help.opensend.com/integrations?hsLang=en#attentive)
    - [Salesforce Marketing Cloud](https://help.opensend.com/integrations?hsLang=en#salesforce-marketing-cloud)
- [FAQs](https://help.opensend.com/faqs?hsLang=en)
- [General](https://help.opensend.com/general?hsLang=en)

[![Chill listening crop-3](https://help.opensend.com/hs-fs/hubfs/OpenSend_Logo%20icon%202.png?width=42&height=42&name=OpenSend_Logo%20icon%202.png "Chill listening crop-3")](https://www.opensend.com/)

Opensend Help Center

Copyright © 2026, Opensend Inc