Steps to Integrate:
Click on Apps -> Custom integration
Copy Client ID and Client Secret (private key) from BayEngage's Custom integration menu.
Go to the integrations tab on the Opensend Dashboard
Click Main Connections
Click Add Destination
Select Custom Webhook
Add Name, Description, and Click Next
Select the "BayEngage template" under the Webhook configuration dropdown.
Select the Webhook method (POST).
Select API Key under the Authentication method dropdown and add the following details for authorization:
x-client-secret
x-public-id.
Enter the Client ID and Client Secret (private key) copied from BayEngage, and then add the following details to the Opensend Webhook configuration.
Under the fields dropdown select any default fields from Opensend and any custom fields, you want to send to Custom Webhook.
The Custom Webhook URL is auto-filled: https://api.bayengage.com/api/v1/customer
Press the Send a Test request button.
In the popup, add the email address to send as a test to the Custom Webhook, and Press Send.
You will find a test request in the email address you entered on your Contacts page in BayEngage.
Press Done to close the Popup.
Click Next
You can just select the Traffic sources from where you want to receive the data.
Click Create Connections.
Select the connections and Click Publish.
Request Data format:
For DTC: In the case of DTC product, on the bottom, you should be able to see Example request data
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