# Create a webhook

Registers an https endpoint for link.created/updated/deleted and link.clicked events (click events are aggregated per link per flush, not one call per click). Deliveries are signed with HMAC-SHA256 in X-Easerix-Signature ("sha256=<hex>" over the raw body). The signing secret is returned ONCE in this response. Endpoints failing 20 consecutive deliveries are auto-deactivated.

Canonical: https://easerix.com/docs/developers/api/links/webhooks/createWebhook

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="links" operations={[{"path":"/v1/webhooks","method":"post"}]} />
    </>
  );
}
