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
// 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/sdkPython
pip install publishflipRuby
gem install publishflipPHP
composer require publishflip/sdkGo
go get github.com/publishflip/go-sdkAPI Reference
Explore our comprehensive API endpoints for managing flipbooks.
/v1/documents/v1/documents/{id}/v1/documents/{id}/v1/documents/{id}/v1/documents/{id}/analytics/v1/documents/{id}/embedReady to Build?
Get your API key and start integrating PublishFlip into your application today.