MemoryKit

Get Webhook

Retrieve details for a specific webhook endpoint.

GET/v1/webhooks/{webhook_id}

Path parameters

webhook_idUUIDrequired

The webhook ID.

Response

Returns 200 OK with the webhook object. The secret field is not included -- it is only returned on creation.

idstring

Webhook ID (UUID).

urlstring

The registered endpoint URL.

eventsstring[]

Subscribed event types.

is_activeboolean

Whether the webhook is active.

failure_countnumber

Number of consecutive delivery failures.

created_atstring

ISO 8601 timestamp.

Example response
{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "url": "https://example.com/webhooks/memorykit",
  "events": ["memory.completed", "memory.failed"],
  "is_active": true,
  "failure_count": 0,
  "created_at": "2025-01-15T10:30:00Z"
}
const webhook = await mk.webhooks.get("a1b2c3d4-e5f6-7890-abcd-ef1234567890");
console.log(webhook.url, webhook.isActive);
Edit on GitHub

On this page