Developer API

Build with the PublishFlip API

Integrate interactive flipbooks into your applications with our powerful REST API. Full documentation, SDKs, and code examples to get you started in minutes.

Developer-First Design

Built by developers, for developers. Our API is designed to be intuitive, powerful, and reliable.

RESTful Design

Clean, predictable API endpoints following REST best practices.

Secure by Default

OAuth 2.0 authentication with API keys and JWT tokens.

Global CDN

99.9% uptime with edge servers in 200+ locations worldwide.

JSON Responses

Consistent JSON responses with detailed error messages.

Webhooks

Real-time notifications for document events and analytics.

SDKs & Libraries

Official SDKs for JavaScript, Python, Ruby, PHP, and Go.

Get Started in Minutes

Our SDKs make it easy to integrate PublishFlip into your application. Create, manage, and embed flipbooks with just a few lines of code.

1. Get your API key

Sign up and grab your key from the dashboard

2. Install the SDK

Choose your language and install via package manager

3. Start building

Create your first flipbook in seconds

Request API access
example.js
// Initialize the PublishFlip client
import { PublishFlip } from '@publishflip/sdk';

const client = new PublishFlip({
  apiKey: 'your-api-key'
});

// Create a new flipbook from PDF
const document = await client.documents.create({
  file: pdfBuffer,
  title: 'My Product Catalog',
  settings: {
    branding: true,
    analytics: true,
    downloadable: false
  }
});

// Get embed code
const embed = await client.documents.getEmbed(document.id, {
  width: '100%',
  height: 600
});

console.log(embed.html);

Official SDKs

Use our official SDKs for the fastest integration experience.

🟨

JavaScript

npm install @publishflip/sdk
🐍

Python

pip install publishflip
💎

Ruby

gem install publishflip
🐘

PHP

composer require publishflip/sdk
🔵

Go

go get github.com/publishflip/go-sdk

API Reference

Explore our comprehensive API endpoints for managing flipbooks.

POST/v1/documents
GET/v1/documents/{id}
PUT/v1/documents/{id}
DELETE/v1/documents/{id}
GET/v1/documents/{id}/analytics
POST/v1/documents/{id}/embed

Ready to Build?

Get your API key and start integrating PublishFlip into your application today.