---
title: Web Event to Hub
slug: adobe-summit-2025/web-event-to-hub
createdAt: 2024-08-02T19:27:35.664Z
---

# Open Postman

Launch postman on your computer and navigate to the following API call:

1. **Postman Left Sidebar**  --> `Collections`
2. **Collection&#x20;**--> `Adobe Summit L614`
3. **Folder&#x20;**--> Profile Lab
4. **API Request** --> `Create Web Event`



![](https://api.archbee.com/api/optimize/DtSMrR5N5XP-AttwqYcDD/vBzUwIY-YEqjGbx29_I3f_image.png)

# Modify API Request

To create the sample API request you need to fill in the following pieces in the body of the API request.

Start by gathering the following values:



## Find Account Streaming Endpoint

1. Go back to AEP
2. Navigate to **Sources&#x20;**&#x69;n the left rail and then click on **Accounts&#x20;**&#x69;n the top nav
3. Search for **dep: HTTP API \[raw]**, highlight the row (click on the row not the hyperlink) and copy and save the value of the **Streaming Endpoint** somewhere you can reference later
4.

![](https://api.archbee.com/api/optimize/n-ADAXZy_lxxLyKc0x1oi-VT-rvewysl8ABem1xFkox-20241025-024115.png "dep: HTTP API \[raw]")

###

## Find Web Dataflow ID

1. Click into the **HTTP API \[raw]&#x20;**&#x41;ccount
2. Find and Select the dataflow row called **dep: Web (stream)**
3. In the right rail copy and save the **Dataflow ID** values somewhere you can reference later

:::hint{type="info"}
Click in an empty space on the row.  DO NOT click on the blue links!
:::

![](https://api.archbee.com/api/optimize/n-ADAXZy_lxxLyKc0x1oi-pRZ4Hwpscm_O_OGuzxNgV-20241025-024319.png "Web Dataflow ID")

###

## Create Final API Request

Go back to Postman

Copy the values you saved in the previous steps into the places highlight below. &#x20;

- **Red&#x20;**--> `Streaming Endpoint URL`
- **Green&#x20;**--> `Dataflow ID`

Your final API request should look like this when done

:::hint{type="info"}
DO NOT EXECUTE YET!
:::

![](https://api.archbee.com/api/optimize/DtSMrR5N5XP-AttwqYcDD/KnUIdwH8reGKY17Tvxojz_final-web-api-request.png)

# Execute the API

1. Save your API call by clicking the **Save&#x20;**&#x62;utton in the top right
2. Execute your request by clicking the **Send&#x20;**&#x62;utton in the top right
3. We are simulating a web page view being streamed to the Hub. &#x20;
   1. This means that when we go check the profile in the next Validate section, we will see it trigger any streaming audiences, evaluate the rules it has and possibly qualify for it.

A successful call should result in something similar as below in the response.  The actual values will vary based on a few things.

![](https://api.archbee.com/api/optimize/DtSMrR5N5XP-AttwqYcDD/TVLXPwq4Au7dhz-8Lihmg_successful-web-event-send.png)

###

# Validate

1. Go back to AEP
2. Lookup your Profile to see that the event was ingested onto Profile.  It should appear in seconds. ([instructions](https://www.dep-labs.com/adobesummit/how-to-lookup-the-profile))
   1. Use the email in your call to lookup the Profile
      1. Merge Policy: Default
      2. Namespace: email
      3. Value: "&#x7B;&#x7B;SANDBOX\_NAME}}@dep.com"
         1. e.g. if your sandbox name is mpaas-49117-sandbox06, then the email address is [mpaas-49117-sandbox06@dep.com](mailto\:mpaas-49117-sandbox06@dep.com)
3. Depending on how long it was since you last sent in an event, you may not qualify for new Audiences. Otherwise you may see these or others:
   1. Any Event Edge (within 15 minutes)
      1. Remember: all audiences saved with an Edge evaluation also are evaluated on the Hub when streaming data comes in
   2. dep: Any Event Streaming (within the hour)
4. Event Forwarding won't send anything.
   1. Why? This event went to the Hub, not the Edge, thus, the event will not appear as an something for Event Forward to send, nor in Assurance.
5. Destinations should send a payload to your webhook within 5 minutes. It will look similar to this below:

![](https://api.archbee.com/api/optimize/DtSMrR5N5XP-AttwqYcDD/YCFH7TGyLlkHFrc4egTxh_image.png)

