Skip to main content
POST
Create a quartile event

Supported products

Autorisations

Authorization
string
header
requis

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

Corps

application/json
mediaType
enum<string>
requis
Options disponibles:
AUDIO,
DOCUMENT,
IMAGE,
OTHER,
VIDEO
occurredTimestamp
integer<int64>
requis
playedPercent
integer<int32>
requis
sessionId
string
requis
_hsenc
string
contactId
integer<int64>
contactUtk
string
externalId
string
externalPlayContext
enum<string>
Options disponibles:
EMAIL,
EXTERNAL_PAGE
mediaBridgeId
integer<int64>
mediaName
string
mediaUrl
string
pageId
integer<int64>
pageName
string
pageUrl
string

Réponse

successful operation

contactId
integer<int64>
requis

The ID of the contact in HubSpot’s system that consumed the media. This can be fetched using HubSpot's Get contact by usertoken (utk) API. The API also supports supplying a usertoken, and will handle converting this into a contact ID automatically.

mediaBridgeId
integer<int64>
requis
mediaBridgeObjectCoordinates
string
requis
mediaBridgeObjectTypeId
string
requis
mediaName
string
requis
mediaType
enum<string>
requis
Options disponibles:
AUDIO,
DOCUMENT,
IMAGE,
OTHER,
VIDEO
occurredTimestamp
integer<int64>
requis
playedPercent
integer<int32>
requis
portalId
integer<int32>
requis

The ID of the HubSpot account.

providerId
integer<int32>
requis
sessionId
string
requis
externalPlayContext
enum<string>
Options disponibles:
EMAIL,
EXTERNAL_PAGE
mediaUrl
string
pageId
integer<int64>

The content ID of the page that an event happened on, for HubSpot pages. Required if the page is a HubSpot page.

pageName
string

The name or title of the page that an event happened on. Required for non-HubSpot pages.

pageObjectCoordinates
string
pageUrl
string

The URL of the page that an event happened on. Required for non-HubSpot pages.

Dernière modification le 6 octobre 2026