Skip to main content
GET
/
v1
/
webhooks
/
{webhookId}
Get a webhook
curl --request GET \
  --url https://api.ledger.so/v1/webhooks/{webhookId} \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "id": "<string>",
    "url": "<string>",
    "events": [
      "customer.created"
    ],
    "status": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Pass your API key as a Bearer token: Authorization: Bearer ld_live_...

Path Parameters

webhookId
string
required

The webhook ID

Response

Webhook details

ok
enum<boolean>
required
Available options:
true
data
object
required