Skip to main content
const endpoint = await luma.webhooks.get("whk-abc123");
console.log(endpoint.url);
{
  "api_id": "whk-abc123",
  "url": "https://myapp.com/api/luma-webhook",
  "event_types": ["guest.updated", "guest.registered"]
}
SDK luma.webhooks.get(id: string): Promise<Webhook> Returns a single webhook endpoint by ID.
const endpoint = await luma.webhooks.get("whk-abc123");
console.log(endpoint.url);
{
  "api_id": "whk-abc123",
  "url": "https://myapp.com/api/luma-webhook",
  "event_types": ["guest.updated", "guest.registered"]
}

Parameters

id
string
required
Webhook endpoint api_id from webhooks.create() or webhooks.list().

Test it

Use a webhook ID from your account — run webhooks.list() to find one:
const endpoint = await luma.webhooks.get("whk-abc123");
console.log(endpoint.url);