Skip to main content
GET
/
v1
/
webhooks
/
{webhookId}
Get webhook
curl --request GET \
  --url https://api.ledger.so/v1/webhooks/{webhookId} \
  --header 'Api-Key: <api-key>'
{
  "object": "webhook",
  "id": "<string>",
  "url": "<string>",
  "events": [
    "<string>"
  ],
  "status": "enabled",
  "createdAt": 123,
  "updatedAt": 123,
  "description": "<string>"
}

Authorizations

Api-Key
string
header
required

API key for authentication. Get your key from the Dashboard.

Path Parameters

webhookId
string
required

The webhook endpoint ID

Response

Webhook details

object
enum<string>
required
Available options:
webhook
id
string
required

Unique identifier for the webhook endpoint

url
string<uri>
required

The URL to send webhook events to

events
string[]
required

List of event types to subscribe to. Empty array means all events.

status
enum<string>
required

Whether the webhook endpoint is active

Available options:
enabled,
disabled
createdAt
integer
required

Unix timestamp when the webhook was created

updatedAt
integer
required

Unix timestamp when the webhook was last updated

description
string

A description of the webhook endpoint