⌨️
API Documentation
HomeBuilderPricingSupportContact
  • Introduction
  • Getting Started
  • API Conventions
  • API Reference
    • Documents
      • Template
    • Conversion
      • Convert
    • Ai
      • Compare
        • Result
      • Summary
        • Result
  • Specification
Powered by GitBook
On this page

Was this helpful?

  1. API Reference
  2. Conversion

Convert

PreviousConversionNextAi

Last updated 11 months ago

Was this helpful?

Convert a document to a new file format, currently the following formats are supported:

  • PDF - Adobe PDF.

  • HTML - HTML Format, text and formatting only, images are not included.

  • TXT - Text only, with very limited formatting and no images.

Document Response Format

Described the format you would like the document to be returned in. Values supported are:

  • PDF (default)

  • HTML

  • TXT

Required Properties

  • Document

Convert a document to PDF, HTML or TXT

post

Convert a document to a new file format. Includes PDF and HTML.

Authorizations
Body
Responses
200
Success
403
The request is not authorized to make the conversion request
404
Service has not been found, please contact support@tendocs.com
500
Something has gone wrong, please contact support@tendocs.com
post
POST //conversion/v1/convert HTTP/1.1
Host: api.tendocs.com
X-API-KEY: YOUR_API_KEY
Accept: */*

No content

  • Document Response Format
  • Required Properties
  • POSTConvert a document to PDF, HTML or TXT