---
title: Send an Event
slug: shkp-ajo/send-an-event
docTags: 
createdAt: 2026-01-21T04:13:58.228Z
---

In this exercise you'll learn how to send an event to a datastream via the Edge Network API - this API could be used for backend events such as car park entry events or instore transactions. &#x20;

## Configure Datastream

A sample API call has been added to the Postman collection called **Send Event - Edge Network API**

Paste your newly created datastream Id into the **dataStreamId&#x20;**&#x70;arameter.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/ksCPm6D7UVq02wr8ZSIfr_image.png)

Now let's configure the payload.   The API expects your XDM formatted event to be contained within an `{"event": {"xdm": {}}`

:::hint{type="info"}
While XDM syntax is validated additional unexpected elements within your XDM payload will be ignored and dropped on ingestion.  This ensures data continues to be collected should the source system add fields before the schema has been updated in Adobe Experience Platform. &#x20;
:::

At a minimum events require an **eventType&#x20;**&#x61;nd an **identity.**   The two other mandatory fields from our experience event class (**\_id** and **timestamp**) will be automatically applied by the edge if they are not included.    Additional event context attributes will depend on the use case, in this example we're appending the name of the mall that the customer entered.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/bOFOKBJh52vGkCPujNwaP_image.png)

Click to **Send** the request.   A unique **requestId&#x20;**&#x77;ill be returned along with a **handle&#x20;**&#x61;rray.   This array contains one of more items relating to the processing of the request.  &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/x2KWO_jGb6kXIFqfBVJnk_image.png)

