v1
documents

Upload Document To Editor

Upload a document file and load it into the editor.

Converts the file to HTML with formatting preserved (tables, colors, images). Images are extracted to cloud storage and referenced by URL. Returns the HTML for the editor to display.

AI indexing happens automatically on the first chat message. For API clients who want immediate indexing, pass ?index=true.

post/v1/documents/upload

Request

  • Base URL: https://api.superdocs.app
  • URL: https://api.superdocs.app/v1/documents/upload
  • Auth: HTTP bearer

Query parameters

indexstring nullable

Set to 'true' for immediate AI indexing (API clients). Default: conversion only.

Headers

authorizationstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.