Edit in GitHubLog an issue

Interact endpoint (interactive collection)

The interact endpoint sends a single event to a datastream. When sending an event to this endpoint, a response is returned that can contain content from Edge Network services. These types of interactions are valuable for both collecting data and personalizing content.

This endpoint does not support batch events. If you need to queue events or send multiple events simultaneously, use the collect endpoint instead.

This endpoint supports both authenticated and non-authenticated events. The payloads for each endpoint use an identical format. Make sure that you use the correct endpoint for your organization's use case.

  • Authenticated: POST https://server.adobedc.net/ee/v2/interact?datastreamId={Datastream ID}
  • Non-authenticated: POST https://edge.adobedc.net/ee/v2/interact?datastreamId={Datastream ID}
Copied to your clipboard
curl -X POST "https://server.adobedc.net/ee/v2/collect?datastreamId={DATASTREAM_ID}"
-H "Content-Type: application/json"
-d '{
"event": {
"xdm": {
"identityMap": {
"Email_LC_SHA256": [
{
"id": "0c7e6[...]e8a3b",
"primary": true
}
]
},
"eventType": "web.webpagedetails.pageViews",
"web": {
"webPageDetails": {
"URL": "https://example.com/",
"name": "home-demo-Home Page"
}
},
"timestamp": "YYYY-08-09T14:09:20.859Z"
},
"data": {
"prop1": "custom value"
}
}
}'

The following query string parameters are available for this endpoint:

ParameterTypeRequiredDescription
datastreamId
String
Yes
The ID of the datastream used by the data collection endpoint.
requestId
String
No
Provide an external request tracing ID. If none is provided, the Edge Network generates one for you and includes it in the response.

A successful response returns HTTP status 200 OK, with one or more Handle objects, depending on the real-time edge services enabled in the datastream configuration.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.