app like that
Cassiopeia
Cassiopeia

Cassiopeia is an API for generating PDFs from your app. It allows variable replacing, merging multiple documents, and supports thousands of fonts. Features include unlimited file size, multiple request formats, and different pricing plans based on usage.

Features

Variable Replacing

Replace dynamic parts of your documents with specified variables, allowing for customization and personalization.

Merging Multiple Documents

Combine several documents into one, simplifying the management of related files.

Thousands of Supported Fonts

Access a wide range of font options to match different stylistic requirements and brand guidelines.

Support for all Usual Formats

Generate PDFs from various document formats, offering flexibility in document handling.

Multiple Request and Response Formats

Support for different formats in requests and responses, ensuring compatibility with various systems.

PDF Generation

Generate PDFs from ODT, DOCX, HTML, Markdown, plain text, and many more.

Merging

Merge multiple documents into a single document.

Variables / Templates

Use variables in your documents to generate dynamic content.

Fast and Reliable

Built to be highly scalable and fault-tolerant.

Simple API

Easy to use and integrate into your system.

DOCX Template Integration

Allows you to create a Word document template with placeholders that can be replaced with actual data, such as invoice numbers and dates, to generate PDFs.

Placeholder Variables

Enables template customization by replacing placeholders like invoice number and date with actual values.

API Call

Use an API call to send the DOCX template and placeholder values to the service, which returns a PDF document.

PDF Generation

The service processes the DOCX template and returns a generated PDF file, which can be downloaded and used as an invoice.

Simple RESTful API for PDF generation

Provides a simple and reliable RESTful API to generate PDFs, removing the complexity of building a solution in-house.

Support for variables and document merging

Enables dynamic data insertion and merging of documents, such as client names and invoice numbers, into PDF files.

Scalable and reliable service

Offers a scalable and dependable solution, easing concerns about handling large numbers of requests.

No additional infrastructure required

Eliminates the need for additional infrastructure investment for PDF generation.

Minimal maintenance requirements

Requires minimal ongoing maintenance, reducing operational burdens.

Generate PDF via Base64

Allows sending a POST request to the /api/documents endpoint with a base64 encoded file. The file is sent as a JSON object with a templates field containing an array of base64-encoded files.

Generate PDF via Multipart/Form-Data

Uses a POST request to the /api/documents endpoint with a file sent as multipart/form-data. The file is sent with the name files.

Inline Base64 Response

Supports response format in base64 encoding. The default or when specified with 'respond_with': 'base64', returns a JSON object containing a base64 encoded PDF. Ideal for direct API integration and lightweight handling along with JSON fields.

Attachment Response

Allows response to be downloaded directly as a PDF file. When the response is set to 'download', it returns a content-disposition header for attachment, making it suitable for direct file download use cases.

Variable Syntax

Variables are defined using {{Variable.name}} syntax within your document. They can be placed anywhere, including headlines and tables.

Replacing Variables

Variables can be replaced with actual values by passing them in a JSON object, which allows generating personalized content.

Troubleshooting

Guidance on resolving issues with variable replacement, such as formatting issues, specifically within DOCX and ODT formats, using methods like 'Clear Formatting' or using fields in Word and LibreOffice.

Document Merging

Allows you to merge multiple documents into a single PDF file. The merging is automatic when you send multiple files with the same mime type.

Pricing Plans

Explorer

$0
per monthly

Conqueror

$45
per monthly

Consignor Plan

$45
per monthly