Obtain Response Data via Webhook

Webhooks are used to obtain response data from SendGrid, such as whether your customer has subscribed or unsubscribed from your mailing. These data will be processed by CrossEngage and displayed in each campaign’s statistics. The generated data can be used to build user segments.

Your CrossEngage "Web tracking and response data API key" is needed for this Webhook configuration.

Preparing a Webhook URL

To fetch the "Web tracking and response data API Key":

  • Log in to your CrossEngage account.

  • Navigate to Settings > System setup.

  • In the API keys section, copy the “Web tracking and response data API key”.yste

  • Paste your copied API key into the following URL instead of the placeholder "{webapikey}."

    • ​https://api.crossengage.io/sendgrid/inbound/message/{webapikey}

  • When finished, copy the adjusted URL.

Adding a Webhook to SendGrid

Webhook URLs must be added to SendGrid to allow response data to be sent to the CrossEngage System. This is done via the following steps:‌

  • Log in to your SendGrid Account.

  • Unfold Settings on the left panel menu and select the Mail Settings section.

  • Go to Event Webhook and click on edit in the top right corner.

  • Paste the copied URL from previous steps in the HTTP POST URL line

  • Scroll down and click on the Save button to save.

You will now be able to view response data in your CrossEngage dashboard and use the information to build segments.

Last updated