Skip to main content
POST
Create a quartile event

Supported products

Autorizaciones

Authorization
string
header
requerido

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

Cuerpo

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

Respuesta

successful operation

contactId
integer<int64>
requerido

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>
requerido
mediaBridgeObjectCoordinates
string
requerido
mediaBridgeObjectTypeId
string
requerido
mediaName
string
requerido
mediaType
enum<string>
requerido
Opciones disponibles:
AUDIO,
DOCUMENT,
IMAGE,
OTHER,
VIDEO
occurredTimestamp
integer<int64>
requerido
playedPercent
integer<int32>
requerido
portalId
integer<int32>
requerido

The ID of the HubSpot account.

providerId
integer<int32>
requerido
sessionId
string
requerido
externalPlayContext
enum<string>
Opciones 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.

Última modificación el 13 de abril de 2026