POST
/
media-bridge
/
v1
/
events
/
attention-span
Event vom Typ „Aufmerksamkeitsspanne“ erstellen
curl --request POST \
  --url https://api.hubapi.com/media-bridge/v1/events/attention-span \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "mediaUrl": "<string>",
  "contactId": 123,
  "rawDataString": "<string>",
  "rawDataMap": {},
  "derivedValues": {
    "totalSecondsPlayed": 123,
    "totalPercentPlayed": 123
  },
  "externalId": "<string>",
  "mediaType": "VIDEO",
  "sessionId": "<string>",
  "pageId": 123,
  "pageName": "<string>",
  "occurredTimestamp": 123,
  "contactUtk": "<string>",
  "pageUrl": "<string>",
  "_hsenc": "<string>",
  "mediaBridgeId": 123,
  "mediaName": "<string>"
}'
{
  "mediaUrl": "<string>",
  "contactId": 123,
  "mediaType": "VIDEO",
  "sessionId": "<string>",
  "rawData": "<string>",
  "pageId": 123,
  "mediaBridgeObjectTypeId": "<string>",
  "pageName": "<string>",
  "pageObjectCoordinates": "<string>",
  "occurredTimestamp": 123,
  "providerId": 123,
  "portalId": 1234567,
  "totalPercentPlayed": 123,
  "totalSecondsPlayed": 123,
  "pageUrl": "<string>",
  "mediaBridgeId": 123,
  "percentRange": "<string>",
  "mediaBridgeObjectCoordinates": "<string>",
  "mediaName": "<string>"
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubKostenlos
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubKostenlos

Erforderliche Bereiche

Diese API erfordert einen der folgenden Bereiche:
  • media_bridge.write

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Response

200
application/json

successful operation

The response is of type object.