Configure Connect Webhooks

Take mobile events and pass them directly to your backend systems using webhooks. The Urban Airship Connect Webhooks integration takes user-level events in real time, and passes them to the webhook URL that you provide.

This integration is similar to a Direct Connection. The difference between the two is that:

  • With webhooks, you tell us where to send the events by providing a URL, headers, and authorization info.
  • With a direct connection, you control when you pull data from the raw data stream and filter the data according to the needs of the system that consumes it.

What is a Webhook?

A webhook is a custom HTTP callback, generally triggered by an event or action initiated by a user, service, or application. When the event occurs, the originating application notifies the specified URL configured for the webhook.

Webhooks are popular with web developers because they can be configured to trigger all manner of events from system to system, enabling real-time workflows across the web and your internal systems.

What You'll Do

In this tutorial, you will:

  1. Open your project from the dashboard, then go to the Connect Integrations.
  2. Configure a Webhook connection.
  3. Save the new connection.


Connect Dashboard

  1. Open your project from the dashboard, then click Settings and select Connect Integrations.

  2. Under the Connections heading, click Webhooks.

  3. Name and configure a new Webhooks integration:
    • Enter a user-friendly name and description.
    • Enter the HTTPS endpoint URL you would like your events POSTed.

      The host has to support HTTPS to assure that data is transferred using encryption. Query parameters are supported in this field.

    • Choose one or more event type:

      • Opens
      • Closes
      • Custom Events
      • Screen Viewed
      • Location
      • Region
      • Sends
      • Control
      • Tag Changes
      • First Opens
      • Uninstalls
      • Push Bodies
      • Rich Read, Delivery, and Delete Events
      • In-App Message Expiration, Resolution, and Display Events
      • Web Notify Session
      • Web Notify Click
  4. Click the Save button.

Example Event

Content-Length: 799
Content-Type: application/json; charset=UTF-8
Custom-Header1: Value1
Custom-Header2: Value2
Authorization: Basic dXNhcj0wYXNzd29yZA==