Skip to main content
GET
Retrieve an event

Authorizations

Authorization
string
header
required

Your secret API key, sent as Authorization: Bearer hmk_test_....

Headers

Hammock-Version
string

The API version to use for this request. Defaults to the version pinned to your API key.

Path Parameters

id
string
required

Response

The event.

id
string
required
Example:

"evt_9Qw2Er5tYu8I"

object
string
required
Allowed value: "event"
type
string
required

What happened, as <object>.<action>.

Example:

"deduction.updated"

created
string<date-time>
required
Example:

"2027-03-10T16:42:11Z"

livemode
boolean
required
employer
string | null
required

The employer the event belongs to.

Example:

"empr_1Qx8Zt2eZvKYlo2C"

The object that changed. Retrieve it to read its current state.

request
object | null

The API request that caused the event, when one of yours did.