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} \
  --header 'Authorization: Bearer <token>'
{
  "appId": 123,
  "appName": "<string>",
  "browser": {
    "family": "<string>",
    "name": "<string>",
    "producer": "<string>",
    "producerUrl": "<string>",
    "type": "<string>",
    "url": "<string>",
    "version": [
      "<string>"
    ]
  },
  "created": 123,
  "emailCampaignId": 123,
  "hmid": "<string>",
  "id": "<string>",
  "location": {
    "city": "<string>",
    "country": "<string>",
    "state": "<string>",
    "latitude": 123,
    "longitude": 123
  },
  "portalId": 123,
  "recipient": "<string>",
  "response": "<string>",
  "sentBy": {
    "created": 123,
    "id": "<string>"
  },
  "sendId": "<string>",
  "smtpId": "<string>",
  "subject": "<string>",
  "type": "<string>",
  "userAgent": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

created
integer
required

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

id
string
required

The unique ID of the event to return.

Response

200
application/json

Email event retrieved successfully

The response is of type object.