Pular para o conteúdo principal
GET
/
email
/
public
/
v1
/
events
/
{created}
/
{id}
Get Email Event By ID
curl --request GET \
  --url https://api.hubapi.com/email/public/v1/events/{created}/{id}
{
  "appId": 123,
  "appName": "<string>",
  "created": 123,
  "emailCampaignId": 123,
  "id": "<string>",
  "portalId": 123,
  "recipient": "<string>",
  "type": "<string>",
  "browser": {
    "family": "<string>",
    "name": "<string>",
    "producer": "<string>",
    "producerUrl": "<string>",
    "type": "<string>",
    "url": "<string>",
    "version": [
      "<string>"
    ]
  },
  "hmid": "<string>",
  "location": {
    "city": "<string>",
    "country": "<string>",
    "state": "<string>",
    "latitude": 123,
    "longitude": 123
  },
  "response": "<string>",
  "sentBy": {
    "created": 123,
    "id": "<string>"
  },
  "sendId": "<string>",
  "smtpId": "<string>",
  "subject": "<string>",
  "userAgent": "<string>"
}

Parâmetros de caminho

created
integer<int64>
obrigatório

The creation timestamp (in milliseconds since epoch) of the event to return.

id
string
obrigatório

The unique ID of the event to return.

Resposta

Email event retrieved successfully

appId
integer
obrigatório

The application ID

appName
string
obrigatório

The application name

created
integer<int64>
obrigatório

The creation timestamp

emailCampaignId
integer
obrigatório

The email campaign ID

id
string
obrigatório

The event ID

portalId
integer
obrigatório

The portal ID

recipient
string
obrigatório

The recipient email address

type
string
obrigatório

The event type

browser
object
hmid
string

The HubSpot message ID

location
object
response
string

The response message

sentBy
object
sendId
string

The send ID

smtpId
string

The SMTP ID

subject
string

The email subject

userAgent
string

The user agent

Last modified on April 14, 2026