# Add a quick note to the caller's Inbox or daily page

Quick capture (EAS-735). Adds a note to the end of a page without the
caller opening it first: their Inbox (`destination: inbox`), or their
daily page for a date (`destination: daily`, the same page the daily
notes call opens). The page is made when there is none, in the caller's
own private space, which the server picks (see `openDailyPage`). A
trashed Inbox or day is restored. The note is one write on the server,
so two captures at once both land, and a page open in an editor picks
the note up. The words are stored as plain text, one paragraph per
non-blank line, and are searchable straight away.

A note holds at most 10,000 characters and 200 lines
(400 `capture_too_long`). For `daily`, `date` is required and follows
the rules of `openDailyPage`. A locked page is not written to (423).

A web clip sends the page it came from as `source`. The clip is added
as the page's title, bold and linked to its address, then the words as
paragraphs, with a divider above it when the page already has content.
The title and the address are searchable too. A clip may have no words
(a bookmark) and may hold up to 60,000 characters and 1,500 lines. The
address must be an http or https one (400 `bad_capture_source`
otherwise): a `javascript:` or `data:` link is never stored.


Canonical: https://easerix.com/docs/developers/api/notes/pages/captureNote

{/* 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="notes" operations={[{"path":"/v1/capture","method":"post"}]} />
    </>
  );
}
