Skip to content

Webhook integration

Integration overview

This integration allows you to set up a Webhook endpoint to receive real-time data from Pushwoosh, specifically Email status events, such as Email Sent, Email Delivered, Email Bounced, Email Opened, etc.

Type of Integration

Source: Data is sent from Pushwoosh to your system via the webhook.

Glossary

Webhook endpoint: A server-side URL that receives HTTP POST requests from Pushwoosh. Clients can specify the exact port.

Synchronized entities

Email status events that provide data about user interactions with the messages you send.

Setting up the integration

To set up the integration:

  1. In your Pushwoosh account, go to Settings > 3rd Party Integrations and find Webhook Integration. Click Configure.
  1. In the window that opens, enter the full URL of the webhook endpoint and click Apply.

Once configured successfully, you’ll begin receiving requests from Pushwoosh.

How to verify the integration is working

Once the integration is set up, you’ll receive HTTP POST requests from Pushwoosh at the specified webhook endpoint.

Webhook request body

Field nameTypeRequiredDescriptionExample
event_namestringYesThe name of the event"Email Sent"
message_iduint64NoThe unique ID of the message associated with the event.200XXXX3258
message_codestringYesThe code of the message associated with the event."B780-XXXXXX3C-XXXX0375"
campaign_iduint64NoThe unique ID of the campaign associated with the event.96XXXX
platformstringYesThe device platform associated with the event (e.g., iOS, Android, Email)."Email"
application_codestringYesThe code of the application associated with the event."3XXXX-XXXX1"
hwidstringYesThe device identifier (HWID) associated with the event."example@gmail.com"
user_idstringYesThe Pushwoosh User ID associated with the event."15XXXX8"
payloadstringNoThe content related to the message depends on the platform. For Email events, this contains the email subject. For other platforms, this may include different relevant content specific to the event (e.g., message content or title)."Don't miss our summer sale!"
timestampint64YesThe time when the event occurred, in UNIX timestamp format.1723798222
journey_titlestringNoThe title of the Journey associated with the event."Summer sale"
journey_point_titlestringNoThe title of the specific point within the Journey associated with the event."5_summer sale_new"

Request example

{
"event_name": "Email Sent",
"message_code": "B780-XXXXXX3C-XXXX0375",
"campaign_id": 96XXXX,
"platform": "Email",
"payload": "Don't miss our summer sale!",
"application_code": "3XXXX-XXXX1",
"hwid": "example@gmail.com",
"user_id": "15XXXX8",
"timestamp": 1723798222,
"journey_title": "Summer sale",
"journey_point_title": "5_summer sale_promoemail"
}