Skip to main content
GET
Retrieve a webhook endpoint

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 webhook endpoint.

id
string
required
Example:

"we_6Yt2Bn8mKp4S"

object
string
required
Allowed value: "webhook_endpoint"
url
string<uri>
required
Example:

"https://partner.example/webhooks/hammock"

enabled_events
string[]
required
Example:
status
enum<string>
required
Available options:
enabled,
disabled
livemode
boolean
required
created
string<date-time>
required
description
string | null
secret
string

The signing secret. Only returned when the endpoint is created or its secret is rolled.

Example:

"whsec_Zk3Vb8nQ2mX7cL5pR9tY1wE4"