You are here: Home > App Distribution > Integrations > Custom Webhooks

Integrate Applivery with Webhooks for App Distribution Notifications

Integrate Applivery with webhooks to receive real-time notifications for new builds, feedback, bug reports, and certificate expirations.

6 min read

TL;DR

Integrate Applivery with webhooks to receive real-time notifications about app distribution events like new builds, feedback, bug reports, and certificate expirations.

webhooks

Integrate Applivery with external services using custom webhooks to receive real-time notifications about key App Distribution events.

Webhooks allow you to connect Applivery to any external service that accepts HTTP POST requests — CI/CD pipelines, custom dashboards, notification tools, and more. When a relevant event occurs in Applivery, a JSON payload is sent automatically to the URL you configure.

For App Distribution, the following events can trigger a webhook notification:

  • A new Build has been uploaded.

  • A new Build has been processed and is ready to install.

  • A new Feedback report has been received.

  • A new Bug report has been received.

  • An App enterprise certificate is about to expire.

Getting started

Webhook integrations can be configured at two levels:

  • Workspace — Notifications from all Apps within your organization are sent to the configured URL.

  • App — Notifications from a specific App only are sent to the configured URL.

1
Navigate to Integrations

Decide whether you want a Workspace-level or App-level integration. Once in the Applivery Dashboard:

  • For Workspace: Go to your Workspace Settings 1 from the top dropdown menu, then open Integrations 2 in the left-hand menu and click the + Create integration 3 button.
integrations
  • For a specific App: Go to the App Settings 4 and, from the left-hand menu, select Integrations 5. Click the + Create integration 6 button.
app integration
2
Configure the Webhook
  1. Select Webhook as the integration type.

  2. Enter the URL that should receive the webhook payloads.

  3. Select the events you want to subscribe to from the list.

  4. Click Save.

webhook configuration

Managing Webhook Integrations

After saving, you will be redirected to the Integrations section, where your new webhook is listed with a summary of its configuration:

  • Type: Webhook

  • Configuration: The destination URL

  • Events: The list of subscribed events

Editing a Webhook

Go to the Integrations section of your Organization or App and click on an existing webhook integration. A side panel will open where you can update the destination URL and the subscribed events.

Deleting a Webhook

Open the webhook integration from the Integrations section and click the Delete button in the side panel.

Verify Webhook Calls

Every webhook call is signed with a token that Applivery generates for each webhook integration. Check the signature on your receiver to make sure the call comes from Applivery and that nobody has changed the body on the way.

Each call carries two signature headers:

applivery-signature-v2

applivery-signature (deprecated)

Format

HS256 JWT

HS256 JWT

Signed with

Your webhook token

Your webhook token (the same one)

Content

The SHA-256 hash of the request body, plus iat and exp

The whole event

Size

Small and fixed, whatever the event size

Grows with the event

Expiry

5 minutes after it's sent

None

Warning

applivery-signature is deprecated and will be removed in a future release. Applivery will announce the removal date in advance. Until then, both headers arrive on every call, so you can switch to applivery-signature-v2 whenever you're ready. Once your receiver verifies it, stop reading applivery-signature.

applivery-signature-v2 only carries a hash of the body, so it stays small even with large events. Since it covers the exact bytes you receive, any change to the body is detected, and because it expires after 5 minutes, a captured call can't be replayed later.

Request Example

POST /your/webhook HTTP/1.1
content-type: application/json
applivery-signature-v2: eyJhbGciOiJIUzI1NiJ9.eyJzaGEyNTYiOiI5ZjJk...
applivery-signature: eyJhbGciOiJIUzI1NiJ9.eyJldmVudCI6ImJ1aWxk...

{ ...event... }

Decoded content of applivery-signature-v2:

{
  "sha256": "9f2d0c6b4e1a...",
  "iat": 1763040000,
  "exp": 1763040300
}

How to Verify a Call

  1. Read the raw body of the request, before parsing the JSON.

  2. Verify the JWT in the applivery-signature-v2 header with your webhook token, using the HS256 algorithm. Make sure your JWT library checks the expiry (exp).

  3. Compute the SHA-256 hash of the raw body, in hexadecimal, and compare it with the sha256 value of the JWT.

  4. If both checks pass, parse the JSON and process the event. Otherwise, reject the call, for example with a 401 response.

Note

Always hash the body exactly as you receive it. If you parse the JSON and serialize it again, spacing or key order can change, and the hash will no longer match.

Node.js Example

This example uses Express and the jose library:


const app = express()
const secret = new TextEncoder().encode(process.env.APPLIVERY_WEBHOOK_TOKEN)

// express.raw keeps the body as a Buffer, with the exact bytes received
app.post('/webhook', express.raw({ type: 'application/json' }), async (req, res) => {
  try {
    const signature = req.get('applivery-signature-v2')
    const { payload } = await jwtVerify(signature, secret, { algorithms: ['HS256'] })
    const sha256 = createHash('sha256').update(req.body).digest('hex')
    if (payload.sha256 !== sha256) throw new Error('Body does not match the signature')
  } catch {
    return res.sendStatus(401)
  }

  const event = JSON.parse(req.body.toString('utf8'))
  // ...process the event
  res.sendStatus(200)
})

Event Payloads

All webhook notifications are delivered as HTTP POST requests with a JSON body. Use the action field to identify the event type and route your processing logic accordingly.

{
  "action": "build_created",
  "organization": {
    "id": "5d4d1391cd523c15f50df235",
    "name": "Applivery Test",
    "url": "https://dashboard.applivery.io/test"
  },
  "application": {
    "id": "5e790ce04faa50cac52e4676",
    "name": "Awesome App",
    "url": "https://dashboard.applivery.io/test/apps/awesome-app"
  },
  "build": {
    "id": "5e79232e98d88ac68cf7d4bc",
    "url": "https://dashboard.applivery.io/test/apps/awesome-app/builds?id=5e79232e98d88ac68cf7d4bc"
  }
}
{
  "action": "build_processed",
  "organization": {
    "id": "5d4d1391cd523c15f50df235",
    "name": "Applivery Test",
    "url": "https://dashboard.applivery.io/test"
  },
  "application": {
    "id": "5e790ce04faa50cac52e4676",
    "name": "Awesome App",
    "url": "https://dashboard.applivery.io/test/apps/awesome-app"
  },
  "build": {
    "id": "5e79232e98d88ac68cf7d4bc",
    "os": "android",
    "versionName": "",
    "url": "https://dashboard.applivery.io/test/apps/awesome-app/builds?id=5e79232e98d88ac68cf7d4bc"
  }
}
{
  "action": "bug_created",
  "organization": {
    "id": "5c9921fbb9f3bb001cc5c9a9",
    "name": "Applivery Dev",
    "url": "https://dashboard.applivery.io/test"
  },
  "application": {
    "id": "5cd19870cdecf8001bef50b7",
    "name": "Awesome App",
    "url": "https://dashboard.applivery.io/test/apps/awesome-app"
  },
  "report": {
    "message": "This is a Bug message that will be included in the Report along with the technical information of the device",
    "url": "https://dashboard.applivery.io/test/apps/awesome-app/reports?id=5e7923a976b4b0e9aa4aa6a9"
  }
}
{
  "action": "feedback_created",
  "organization": {
    "id": "5c9921fbb9f3bb001cc5c9a9",
    "name": "Applivery Dev",
    "url": "https://dashboard.applivery.io/test"
  },
  "application": {
    "id": "5cd19870cdecf8001bef50b7",
    "name": "Awesome App",
    "url": "https://dashboard.applivery.io/test/apps/awesome-app"
  },
  "report": {
    "message": "This is a Feedback message that will be included in the Report along with the technical information of the device",
    "url": "https://dashboard.applivery.io/test/apps/awesome-app/reports?id=5e7923a976b4b0e9aa4aa6a9"
  }
}
{
  "action": "certificate_application_will_expire",
  "organization": {
    "id": "5c9921fbb9f3bb001cc5c9a9",
    "name": "Applivery Dev",
    "url": "https://dashboard.applivery.io/test"
  },
  "application": {
    "id": "5cd19870cdecf8001bef50b7",
    "name": "Awesome App",
    "url": "https://dashboard.applivery.io/test/apps/awesome-app"
  },
  "numDays": "5",
  "team": {
    "name": "Applivery Test",
    "identifier": "BJ55L1KAQW"
  }
}
Note

The numDays field indicates how many days remain before the certificate expires.

Event Reference

Action

Trigger

build_created

A new Build has been uploaded and is queued for processing.

build_processed

A Build has been processed and is ready to install.

bug_created

A new Bug Report has been submitted.

feedback_created

A new Feedback Report has been submitted.

certificate_will_expire

An App enterprise certificate is about to expire.

Key Takeaways

  • Webhooks enable real-time notifications from Applivery to external services.
  • Applivery webhooks support various app distribution events.
  • Webhook integrations can be configured at the workspace or app level.
  • Event payloads are delivered as HTTP POST requests with a JSON body.
  • Monitoring certificate expiration is crucial for app distribution.

Webhooks can be triggered by new build uploads, processed builds ready for install, new feedback/bug reports, and expiring enterprise certificates.

Webhooks can be configured at the workspace level (for all apps) or at the individual app level.

Applivery webhooks send an HTTP POST request with a JSON payload, including an `action` field to identify the event type.

Go to the Integrations section of your Organization or App, click the webhook, and update the URL and subscribed events in the side panel.

The `build_created` action is fired when a new build has been uploaded and queued for processing.

The `certificate_will_expire` event indicates that an app enterprise certificate is approaching its expiration date.

Verify the JWT in the `applivery-signature-v2` header with your webhook token (HS256), then compare its `sha256` value with the SHA-256 hash of the raw request body. The `applivery-signature` header is deprecated and will be removed in a future release.

The `build_processed` action is fired when a build has been successfully processed and is ready to install.

Was this page helpful?

Last updated: November 20, 2026