# Live signing events (SSE)

A Server-Sent Events stream that tells the signer's open page their Government ID check has been decided, so it can re-read the session at once instead of polling. The token is the credential and the stream is routed by the recipient it resolves to. Frames carry no result, only a nudge: the session endpoint (GET /public/signing/{token}) remains the sole decision and the only place the verified-session cookie is set.
The stream emits `event: ready` once on connect (re-read the session, an event may have been missed while disconnected), then `event: verification` with `{"status":"verified"|"failed"|"expired"}` when the check settles, plus `: ping` heartbeat comments every 25s. The server ends the stream after 15 minutes. Delivery is best-effort, so keep a slow fallback poll of the session. 404 when the link has no Government ID check to follow; 503 when the server has no event listener (poll instead).

Canonical: https://easerix.com/docs/developers/api/sign/signing/signingEvents

{/* 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="sign" operations={[{"path":"/public/signing/{token}/events","method":"get"}]} />
    </>
  );
}
