API Inkside
Convertis des documents .inkside (Markdown, maths en LaTeX, tableaux et dessins prêts à l'emploi) en écriture manuscrite, en carnets GoodNotes et en PDF.
Les clés API sont disponibles sur demande. Écris à hello@inkside.app depuis l'adresse de ton compte et dis ce que tu construis.
Authentification
Envoie ta clé en Authorization: Bearer ink_…. Les clés agissent pour leur compte ; garde-les sur ton serveur.
Usage équitable
Inkside est gratuit : 20 fichiers et 120 pages par jour, jusqu'à 20 pages chacun. 20 / 60 / 60 per minute (render / preview / check).
Endpoints
POST
/api/v1/renderRender a document into a fileCounts 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 documentDiagnostics with lines and fixes, the page count and missing characters. No file, not counted.
POST
/api/v1/previewPreview a documentUp 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 fileThe 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 handwritingsThe account's own handwritings, then the presets. Name one in a document's header: `font: caveat`.
POST
/api/v1/handwritingsImport a handwritingImports 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 handwritingDELETE
/api/v1/handwritings/{id}Delete an own handwritingGET
/api/v1/handwritings/{id}/sample.svgA specimen of a handwritingGET
/api/v1/componentsSearch drawing componentsPrecomputed drawing components for ```draw blocks: how to use each one, never how it is drawn.
GET
/api/v1/components/{name}Get a drawing componentGET
/api/v1/usageToday's fair-use countersGET
/api/v1/formatThe .inkside formatThe format reference as Markdown: header fields, Markdown, math, tables, ```draw and the other figure blocks.
Exemple
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.pdfLes sessions du site et les liens ChatGPT ne fonctionnent que sur le site et dans ChatGPT. Les utiliser ailleurs, simuler un client ou partager des clés entraîne la suspension du compte.