How to Automate Flipbook Creation with the FlipLink API
Use the FlipLink API to automate flipbook creation at scale. Learn how to programmatically upload PDFs, configure settings, and publish.
Published on January 30, 2026 · 9 min read
If you're publishing flipbooks one at a time through the dashboard, you're leaving efficiency on the table. The FlipLink API lets you automate every step of the flipbook creation process — from uploading PDFs to configuring settings to publishing — all without touching the UI. Whether you're building a publishing platform, integrating with a CMS, or generating automated reports, this guide walks you through everything you need to get started.
Why Automate Flipbook Creation?
Manual flipbook creation works fine when you're handling a few documents per week. But what happens when you need to process dozens or hundreds of PDFs on a regular schedule? That's where the FlipLink API becomes essential. Every endpoint, parameter, and response in this guide is documented in the live API reference, where you can also try calls directly in the browser.
Automation unlocks several advantages:
- Speed at scale — Convert hundreds of PDFs into flipbooks in minutes instead of hours
- Consistency — Every flipbook follows the same branding, settings, and configuration
- Reduced human error — No missed steps or forgotten settings when a script handles the process
- Workflow integration — Trigger flipbook creation from your existing tools and pipelines
- On-demand publishing — Generate and distribute flipbooks the moment new content is ready
Getting Started with the FlipLink API
Authentication
Every API request requires an API key for authentication. You can generate your key from the FlipLink dashboard under Settings > API Access. Pass the key in the X-Api-Key header on every request:
X-Api-Key: YOUR_API_KEY
Keep your API key secure. Store it in environment variables or a secrets manager — never hardcode it into client-side code or commit it to version control. See the Authentication section of the API reference for the full details.
Base URL and Rate Limits
All API endpoints live under the base URL https://go.fliplink.me/api. Rate limits apply per API key (300 requests/minute), so if you're running batch operations, build in small delays between requests to stay within the allowed threshold. Authentication failures return HTTP 401; for every other case the API responds with HTTP 200 and a JSON body whose Result field is "OK" or "ERROR" — so always branch on Result, not just the status code. Browse the full endpoint list, with live examples, in the API reference.
Uploading PDFs Programmatically
The core of automated flipbook creation is the Create by File endpoint, POST /api/create-by-file. You send the PDF as a multipart form upload and FlipLink processes it into a flipbook. If your PDF already lives at a public URL, use POST /api/create-by-url instead and pass FileURL rather than File.
A typical upload request includes:
- The PDF file (
File, binary data via multipart form) - A
Name(internal) andTitle(display) for the flipbook - The
DocType(e.g.Flipbook)
curl -X POST 'https://go.fliplink.me/api/create-by-file' \
-H 'X-Api-Key: YOUR_API_KEY' \
-F 'File=@catalog-spring.pdf' \
-F 'Name=Spring Product Catalog' \
-F 'Title=Spring Product Catalog' \
-F 'DocType=Flipbook'
A successful call returns {"Result":"OK","ID":"90001","URL":"https://go.fliplink.me/view/<slug>", ...} with your remaining publication quota (Flipbooks_Left). Capture the ID — you'll use it as the {flipbookId} path parameter on every configuration call below.
Configuring Flipbook Settings via API
Uploading a PDF is just the first step. The API also lets you configure every setting you'd normally adjust in the dashboard. Rather than one catch-all update call, FlipLink exposes a focused set-* endpoint per setting group — each is a form-urlencoded PUT that takes the flipbook's ID as a path parameter (/api/set-…/{flipbookId}). That keeps each call small and predictable in a batch pipeline.
Common Configuration Options
- Password access —
set-password-accessto gate a flipbook behind a password - Branding —
set-logo,set-background-image,set-skin,set-metafor SEO metadata and social image - Lead capture —
set-lead-capture(plusset-lead-fields,set-lead-webhook,set-lead-google-sheets) to collect viewer information - Custom domain — publish under your own domain via the CNAME endpoints (see CNAME setup)
- Publish state —
set-publishedto publish or unpublish on demand - Sharing & viewer controls —
set-share-channels,set-viewer-controls, and more
# Example: password-protect the flipbook you just created
curl -X PUT 'https://go.fliplink.me/api/set-password-access/90001' \
-H 'X-Api-Key: YOUR_API_KEY' \
--data-urlencode 'IsPasswordProtected=true' \
--data-urlencode 'Password=spring2026'
Each setting call returns {"Result":"OK","Message":"Updated successfully"}. This separation of upload and configuration makes it easy to apply different settings to different flipbooks within the same batch workflow. The API reference lists every set-* endpoint with its exact parameters and a live Try-It console.
Batch Creation Workflows
When you need to convert an entire folder of PDFs, a batch workflow handles the heavy lifting. The pattern is straightforward:
- Scan your source directory for PDF files
- Upload each PDF to the FlipLink API
- Configure settings based on rules (e.g., filename patterns, metadata files)
- Record the resulting flipbook URLs
- Notify stakeholders or downstream systems
Here's a simplified Python example:
import os
import requests
API_KEY = os.environ["FLIPLINK_API_KEY"]
PDF_DIR = "./catalogs"
BASE = "https://go.fliplink.me/api"
HEADERS = {"X-Api-Key": API_KEY}
results = []
for filename in os.listdir(PDF_DIR):
if not filename.endswith(".pdf"):
continue
filepath = os.path.join(PDF_DIR, filename)
title = filename.replace(".pdf", "").replace("-", " ").title()
with open(filepath, "rb") as f:
response = requests.post(
f"{BASE}/create-by-file",
headers=HEADERS,
files={"File": (filename, f, "application/pdf")},
data={"Name": title, "Title": title, "DocType": "Flipbook"},
)
data = response.json()
if data.get("Result") == "OK":
results.append({"title": title, "id": data["ID"], "url": data["URL"]})
print(f"Created: {title} -> {data['URL']}")
else:
print(f"Failed: {title} -> {data.get('Message')}")
print(f"Batch complete: {len(results)} flipbooks created")
Note the response handling: FlipLink returns HTTP 200 even for application errors, so the script branches on the JSON Result field rather than the status code. For larger batches, add retries for failed uploads and respect the rate limit (300/min) by inserting a short pause between requests.
Free: Pdf To Flipbook
Turn your PDF into a beautiful 3D page-flipping flipbook.
Try it free — no sign-up neededWebhook Callbacks for Real-Time Updates
Once a flipbook is live, webhooks let you react to viewer activity in real time instead of polling. You configure a webhook per flipbook with PUT /api/set-lead-webhook/{flipbookId}, pointing it at your own endpoint. FlipLink then sends a POST to that URL when the flipbook captures activity — primarily new leads, with view and sale events available through the related lead and sales settings.
To wire this up programmatically:
# Send new-lead events for flipbook 90001 to your endpoint
curl -X PUT 'https://go.fliplink.me/api/set-lead-webhook/90001' \
-H 'X-Api-Key: YOUR_API_KEY' \
--data-urlencode 'WebhookURL_NewLead=https://example.com/hooks/fliplink'
You can fire a test delivery at any time with POST /api/test-webhook/{flipbookId} to confirm your handler receives the payload before going live. Webhooks enable real-time pipelines: when a new lead arrives, your handler could push the contact into a CRM, send a Slack notification, or trigger an email campaign. Prefer no-code? The same events can route through Zapier, Make, or n8n. See the Lead Capture endpoint group in the API reference for the webhook and Google Sheets options.
Real-World Use Cases
Publishing Platforms
Media companies and content platforms can integrate FlipLink into their publishing pipeline. When an editor finalizes a magazine issue or newsletter, the system automatically converts the PDF export into a flipbook and embeds it on the website — no manual steps required.
CMS Integrations
Connect FlipLink to your content management system so that uploading a PDF to a specific folder or content type triggers automatic flipbook creation. The resulting embed code gets inserted into the relevant page or post. This is especially powerful for product catalogs, lookbooks, and documentation sites.
Automated Report Distribution
Financial reports, quarterly reviews, and compliance documents often follow a predictable schedule. Automate the entire flow: generate the PDF from your reporting tool, upload it to FlipLink via the API, apply the correct branding and access controls, and distribute the flipbook link to stakeholders — all triggered by a single cron job or workflow event.
E-Commerce Product Catalogs
Retailers with frequently updated catalogs can regenerate flipbooks whenever product data changes. Pull the latest catalog PDF from your product information management system, create a new flipbook, and swap the embed on your storefront — keeping customers looking at up-to-date inventory without manual intervention.
Combining API Access with Automation Integrations
The API is powerful on its own, but it becomes even more versatile when paired with automation integrations. Use tools like Zapier, Make, or n8n to connect FlipLink to hundreds of other apps without writing code. For example:
- Google Drive + FlipLink — Automatically create a flipbook when a new PDF appears in a specific Drive folder
- Shopify + FlipLink — Generate a product flipbook whenever a new collection is published
- HubSpot + FlipLink — Attach a flipbook link to a contact record when they request a brochure
For a deeper dive into connecting FlipLink with third-party tools, check out our guide on using the FlipLink API for integrations.
Best Practices for API-Driven Flipbook Workflows
- Use idempotent operations — Include a unique reference ID with each upload so you can safely retry without creating duplicates
- Handle errors gracefully — Log failures, implement retries with exponential backoff, and alert on repeated errors
- Store flipbook IDs — Map each source PDF to its
IDin your database; it's the{flipbookId}path parameter for every read, update, and delete call - Branch on
Result, not status — Application errors come back as HTTP200withResult: "ERROR"; only auth failures use401 - Monitor usage — Track your API call volume against the 300/min rate limit, and watch
Flipbooks_Leftin create responses against your active-publication capacity
Start Automating Today
The FlipLink API transforms flipbook creation from a manual task into a scalable, automated workflow. Whether you're processing ten PDFs a week or ten thousand, the API handles it with consistent quality and zero manual overhead.
Ready to build your automated flipbook pipeline? Create your FlipLink account, grab your key, and open the API reference to try the endpoints live in your browser. Check out our pricing page to see the one-time lifetime deal from $39.
Ready to Create Your First Flipbook?
Transform your PDFs into interactive flipbooks and documents. Get started with FlipLink's Lifetime Deal — lifetime access that starts at just $39.
Pay Once, Use Forever
10, 50 or 100 flipbooks · All 35 features · Unlimited domains
No feature gates. Every Lifetime Deal tier unlocks all 35 features.
- Every feature unlocked — no feature gates
- Stackable — buy more codes anytime
- Replaceable — swap old for new
- Unlimited custom domains (CNAME)
- No recurring fees, ever
Related Reading
How to Use the FlipLink API for Custom Integrations
Build custom integrations with the FlipLink API — automate flipbook creation, manage publications, and pull analytics.
FlipLink CLI vs API vs MCP: Which Integration Should You Use?
CLI vs API vs MCP for FlipLink — compare effort, audience, and use case, then see the same flipbook created three ways. Pick the right integration.
How to Connect FlipLink to Claude with the MCP Server
Set up the FlipLink Claude MCP server in minutes so Claude can create, publish, and manage flipbooks for you in plain language.