Inkside-API

Schreib .inkside-Dokumente (Markdown, LaTeX-Formeln, Tabellen und fertige Zeichnungen) in Handschrift, als GoodNotes-Notizbücher und PDFs.

API-Schlüssel gibt es auf Anfrage. Schreib von der Adresse deines Kontos an hello@inkside.app, woran du arbeitest.

Authentifizierung

Schick deinen Schlüssel als Authorization: Bearer ink_…. Schlüssel handeln für ihr Konto; behalte sie auf deinem Server.

Fair Use

Inkside ist kostenlos: 20 Dateien und 120 Seiten am Tag, bis zu 20 Seiten pro Datei. 20 / 60 / 60 per minute (render / preview / check).

Endpunkte

  • POST/api/v1/renderRender a document into a file

    Counts one file and its pages against the day's fair-use limits. A document with errors is refused (422) with its diagnostics.

  • POST/api/v1/checkCheck a document

    Diagnostics with lines and fixes, the page count and missing characters. No file, not counted.

  • POST/api/v1/previewPreview a document

    Up to 6 pages (`count`, default 6) as SVG (PDF points), from page `from` (0-based, default 0). Not counted as files; limited per minute.

  • POST/api/v1/extractRead the text of a file

    The text of a PDF (at most 120 pages are read), a Word or PowerPoint file, or a plain text or Markdown file (the request body, at most 15 MB), as Markdown to write as a document. Nothing is stored. Not counted as a file; limited per minute like checks.

  • GET/api/v1/handwritingsList handwritings

    The account's own handwritings, then the presets. Name one in a document's header: `font: caveat`.

  • POST/api/v1/handwritingsImport a handwriting

    Imports a filled-in Inkside template (GoodNotes notebook, at most 12 MB) as the request body. Templates: https://inkside.app/templates/inkside-template-en.goodnotes, -de.goodnotes, -es.goodnotes and -fr.goodnotes (each with the accents on their own, ñ, ç, œ, ¿ ¡ « »; files filled in on the older en/de template without them still import).

  • PATCH/api/v1/handwritings/{id}Rename an own handwriting

  • DELETE/api/v1/handwritings/{id}Delete an own handwriting

  • GET/api/v1/handwritings/{id}/sample.svgA specimen of a handwriting

  • GET/api/v1/componentsSearch drawing components

    Precomputed drawing components for ```draw blocks: how to use each one, never how it is drawn.

  • GET/api/v1/components/{name}Get a drawing component

  • GET/api/v1/usageToday's fair-use counters

  • GET/api/v1/formatThe .inkside format

    The format reference as Markdown: header fields, Markdown, math, tables, ```draw and the other figure blocks.

Beispiel

curl https://inkside.app/api/v1/render \
  -H "Authorization: Bearer $INKSIDE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"format": "pdf", "document": "---\nfont: caveat\ntitle: Notes\n---\n# Hello\n\n$E = mc^2$"}' \
  -o notes.pdf

Website-Sitzungen und ChatGPT-Verbindungen funktionieren nur auf der Website und in ChatGPT. Wer sie anderswo nutzt, einen Client fälscht oder Schlüssel teilt, wird gesperrt.