Headless Publishing SDK
PublishFlip as infrastructure, not just UI.
API-first publishing for developers. Full REST API, JavaScript SDK, webhooks, and embeddable components. Use PublishFlip without our UI. This makes PublishFlip platform-level.
01// Initialize PublishFlip SDK02import { PublishFlip } from '@publishflip/sdk';0304const client = new PublishFlip({05 apiKey: 'your-api-key'06});0708// Upload and publish a document09const doc = await client.documents.create({10 file: pdfBuffer,11 settings: {12 branding: { logo: 'https://...' },13 analytics: { enabled: true },14 security: { password: false }15 }16});1718// Embed in your app19client.embed('#container', doc.id, {20 theme: 'dark',21 controls: ['fullscreen', 'download']22});Full Developer Toolkit
Everything you need to build document experiences
REST API
Full CRUD operations for documents, analytics, and settings
JavaScript SDK
Drop-in components for React, Vue, Angular, and vanilla JS
Webhooks
Real-time events for views, interactions, and conversions
Embed Anywhere
Embed flipbooks in any website, app, or platform
Real-Time Webhooks
Get instant notifications for every view, interaction, and conversion. Push data to your CRM, analytics, or custom systems in real-time.
document.viewed
Triggered when someone opens a document
cta.clicked
Triggered when a CTA button is clicked
form.submitted
Triggered when a form is completed
document.downloaded
Triggered when a document is downloaded
// Webhook payload for document view
{
"event": "document.viewed",
"timestamp": "2024-01-15T14:32:17Z",
"data": {
"document_id": "doc_abc123",
"viewer": {
"email": "user@company.com",
"location": "New York, US"
},
"session": {
"duration": 245,
"pages_viewed": [1, 2, 3, 7, 8],
"interactions": ["cta_click", "form_submit"]
}
}
}Build What You Imagine
Competitors are UI tools. This makes PublishFlip platform-level.
Custom Portals
Build branded document portals with your own UI using our API
App Integrations
Embed interactive documents directly in your SaaS product
Automated Workflows
Generate and publish documents programmatically from your systems
White Label Solutions
Power document experiences for your clients without our branding
Complete API Reference
Full documentation with examples in every language
From Tool to Platform
Competitors are UI tools. We're infrastructure.
Flipsnack
- UI-only tool
- Limited API
- No SDK
Issuu
- Basic embeds
- No real API
- Locked ecosystem
DocSend
- Closed platform
- No customization
- Limited integration
PublishFlip
- Full API
- JS SDK
- Platform-level
Build on PublishFlip
Full API access, comprehensive documentation, and dedicated developer support.