Zum Hauptinhalt springen
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>"
}

Pfadparameter

created
integer<int64>
erforderlich

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

id
string
erforderlich

The unique ID of the event to return.

Antwort

Email event retrieved successfully

appId
integer
erforderlich

The application ID

appName
string
erforderlich

The application name

created
integer<int64>
erforderlich

The creation timestamp

emailCampaignId
integer
erforderlich

The email campaign ID

id
string
erforderlich

The event ID

portalId
integer
erforderlich

The portal ID

recipient
string
erforderlich

The recipient email address

type
string
erforderlich

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 9, 2026