# Workspace ONE webhooks in production: duplicates, ordering, retries and timeouts

Agent skill: `npx skills add hookdeck/webhook-skills --skill workspace-one-webhooks` ([details](https://hookdeck.com/webhooks/workspace-one/skill))

This guide covers the problems Event Notifications from Omnissa Workspace ONE UEM, formerly a VMware product, can cause in production and how to handle each one. What Workspace ONE sends is on the [Workspace ONE webhooks](/webhooks/workspace-one) overview, and how to check the credentials is on [Verify Workspace ONE webhooks](/webhooks/workspace-one/verify).

Omnissa's [Event Notifications page](https://docs.omnissa.com/SystemSettings-VSaaS/EventNotificationsSystemSettings) covers the rule's settings, the events and basic user authentication. It gives no example body, HTTP method, timeout, retry policy, ordering guarantee or delivery ID, so much of this guide is about a receiver that doesn't depend on them.

## At a glance

| Problem | What to do | With Event Gateway |
| --- | --- | --- |
| [Timeouts](#timeouts) | Return a 2xx straight away; process in a background job | Accepts the request at once, then queues it for your service |
| [Duplicates](#duplicates) | Make writes safe to repeat; build a key once you've seen a real body | Drops repeats based on the fields you choose |
| [Ordering](#ordering) | Read the device's current state instead of trusting arrival order | Limits the delivery rate to your service |
| [Retries](#retries) | Treat a failed delivery as possibly lost; reconcile against the UEM API | Accepts requests while your service is down and retries to it |
| [Choosing events](#choosing-events) | Give each event its own rule and URL path | Filters and routes on the path or body |
| [Testing](#testing) | Trigger a real event on a test device and keep the body | Forwards to localhost and replays past requests |
| [Other limits](#other-limits) | Use HTTPS, a dedicated account and the right event severity | Checks the Basic credentials on each request |

## Workspace ONE webhook timeouts and slow handlers {#timeouts}

Return a 2xx as soon as you've checked the credentials and stored the body, then do the work in a background job.

**Why it happens:** Omnissa doesn't state how long Workspace ONE UEM waits for a response, or which response counts as success. With no published limit, you can't tell how slow is too slow, and a slow call to a ticketing system shouldn't decide whether the delivery succeeds.

**Fix it in your handler:**

1. Check the credentials, store the body and return `200` before anything else.
2. Call other systems from a worker. See [why to process webhooks asynchronously](/webhooks/guides/why-implement-asynchronous-processing-webhooks).

**With Event Gateway:** Hookdeck accepts each Workspace ONE request as it arrives, then queues it and delivers it to your service with its own [retries](/docs/retries). Your handler can take as long as it needs.

## Duplicate Workspace ONE webhooks {#duplicates}

Make every write safe to repeat. Omnissa documents no delivery ID, and doesn't say whether a notification can repeat.

**Why it happens:** With nothing documented, plan for repeats anyway. Basic authentication gives no replay protection, and the docs don't rule out a second attempt.

**Fix it in your handler:**

1. Write against your own record for the device, so applying a notification twice leaves the same result.
2. Once you've captured real bodies, look for a device identifier and a time, and build a key from them if they're there. See our [guide to webhook idempotency](/webhooks/guides/implement-webhook-idempotency).
3. Before an action you can't repeat, such as opening a ticket for a wiped device, check whether you've already done it.

**With Event Gateway:** [Deduplication](/docs/deduplication) can drop repeats based on the fields you choose before they reach your service.

## Out-of-order Workspace ONE webhooks {#ordering}

Omnissa doesn't promise an order, and documents no timestamp to compare. Read the device's current state before you act on a change that depends on sequence.

**Why it happens:** The docs say nothing about ordering. A compliance change could arrive behind a newer one, or a Device Delete ahead of an earlier Device Attribute Change, and your handler can't assume otherwise.

**Fix it in your handler:**

1. For state such as compliance status, treat a notification as a prompt to read the device through the [UEM REST API](https://docs.omnissa.com/SystemSettings-VSaaS/RestAPIforWorkspaceONEUEM), and store what the API returns.
2. If a notification arrives for a device you've marked deleted, keep it deleted until you've checked the API.
3. If your captured bodies do carry a time, compare it with what you've stored, and skip anything older.

**With Event Gateway:** A [max delivery rate](/docs/destinations#set-a-max-delivery-rate) on your destination keeps a burst from reaching your handler all at once, and every request is stored, so you can inspect the sequence you received.

## Workspace ONE webhook retries and missed notifications {#retries}

Omnissa documents no retries and no resend, so treat a failed delivery as possibly lost and reconcile against the UEM REST API.

**Why it happens:** The Event Notifications page doesn't mention retries, backoff or what happens to a rule whose endpoint keeps failing. You can't tell from the docs whether a `5xx` gets a second attempt. The only delivery detail is `ChangeEventOutboundQueueService.Log`, in the `Logs/Services` folder where UEM is installed, so SaaS customers may not be able to read it.

**Fix it in your handler:**

1. Store the body before you respond. If you can't, return a `5xx`, but don't count on another attempt.
2. For anything that matters, compare your records with the [UEM REST API](https://docs.omnissa.com/SystemSettings-VSaaS/RestAPIforWorkspaceONEUEM).
3. Run that comparison after any outage, and on a schedule if a missed compliance change or wipe has a real cost.

**With Event Gateway:** Hookdeck accepts each request as Workspace ONE sends it, stores it and delivers it to your service with [automatic retries](/docs/retries) on a schedule you control. [Issues](/docs/issues) alert you when deliveries fail, and you can replay any stored request after an outage.

## Choosing Workspace ONE events {#choosing-events}

Give each event its own rule and URL path, because no documented field in the body names the event.

**Why it happens:** The eight events are labels in the rule's **Events** section: Check-in/Check-out, Device Attribute Change, Device Compliance Status Change, Device Compromised Status Change, Device Delete, Device Enrollment, Device Unenrolled Enterprise Wipe and Device Wipe. The docs give no event names, in JSON or in XML. Device Attribute Change also has its own list of attributes that can trigger it: Asset Number, Device Friendly Name, Device MCC, Ownership, Organization Group ID, Operating System, Phone Number and User Email Address.

**Fix it in your handler:**

1. Add a rule per event with its own path, such as `/webhooks/workspace-one/device-wipe`, and select only the events you act on.
2. Confirm on a test notification that the path arrives as you entered it.
3. Select only the attributes you need under Device Attribute Change, and check whether a real body says which one changed.
4. Don't switch on the console labels until you've seen them in a body.

**With Event Gateway:** Hookdeck stores every request with its body, so you can collect real examples. [Filters](/docs/filters) can route on the path or on body fields, so each service gets only what it handles.

## Testing Workspace ONE webhooks {#testing}

Trigger a real event on a test device against a public URL, and keep the body as your first fixture. Omnissa documents no test mode.

**Why it matters:** There's no example body in the docs, in either format. The docs also don't say whether Basic credentials go on the first request or only after a `401` challenge, or which HTTP method the callback uses.

**How to test it:**

1. Run `hookdeck listen 3000 workspace-one --path /webhooks/workspace-one` and use the URL it prints as the Target URL.
2. Trigger the event, such as editing a test device's friendly name with Device Attribute Change selected.
3. Log the method and headers your endpoint receives, and confirm `Authorization: Basic ...` is on that first request.
4. Repeat for each event you use, in the format you chose, and treat any field you haven't seen as a guess.

**With Event Gateway:** The [Hookdeck CLI](/docs/cli) forwards requests to localhost, and you can replay stored requests without wiping another test device.

## Other Workspace ONE limits {#other-limits}

**Basic credentials aren't a signature.** Workspace ONE UEM doesn't sign notifications. Base64 is an encoding, so anyone who reads a request can read the password, and nothing stops a captured request being replayed. Omnissa says notifications use HTTP URLs and doesn't mention HTTPS, so use an `https` Target URL and confirm a test notification arrives.

**The credentials are described as a UEM account.** Omnissa says to enter the Workspace ONE UEM user name and password, which decide the user account that authorizes the notification. It doesn't say whether the console checks them against a real account. Don't reuse an administrator's login: use a dedicated account, so you can change its password without touching anyone's console access.

**Check-in/Check-out needs a severity setting.** Multi-user check-in and check-out notifications need the device event severity level at Information or above, under **All Settings > Admin > Events**.

**Rules follow the organization group hierarchy.** Event Notifications settings can inherit from a parent group or override it, so check which group's rules apply to a device.

**No published source addresses.** The page lists no addresses that notifications come from, so don't plan on an IP allowlist.

**Treat bodies as personal data.** The body isn't documented, but the events concern managed devices and their users, and User Email Address and Phone Number are among the attributes that trigger Device Attribute Change. Keep stored bodies short-lived, and limit who can read them.

**With Event Gateway:** Create a source with the Workspace ONE type, enter the same user name and password as the rule, and use the source URL as the Target URL. Hookdeck checks the credentials on each request, and every request is listed with its headers and body, including any that fail verification, which are recorded as failed and create no event. [Transformations](/docs/transformations) can map the body to a stable internal shape in one place.

[Get started with Hookdeck](https://dashboard.hookdeck.com/signup) for free and handle Workspace ONE notifications reliably in minutes.