💌
EmailFlow
Emailflow Dashboard
  • 💌 Welcome to Emailflow
  • 🚀 Creating Your First Project
  • Features
    • 📘 Uploading and Managing Email Templates
    • 📕 Creating and Managing PDF Templates
    • 🕵️‍♀️ Understanding Email Logs
    • ⏰ Scheduling Emails
    • 🌐 Custom Domains
    • 🎯 Email Deliverability Status
    • 🔌 Integration Options
  • API Documentation
    • 👾 Transactional Email API
    • 🛠️ PDF Generation API
  • No-Code Integration Guides
    • 💜 FlutterFlow Guide (Email + PDF)
    • 🫧 Bubble Guide (Email + PDF)
  • FAQ & SUPPORT
    • 🤝 Privacy Policy and Terms of Service
    • 🏥 Customer Support
    • 🙋‍♂️ Frequently Asked Questions (FAQ)
    • 📬 Contact Us
  • About Emailflow
    • 💰 Overview of Plans
    • 💌 Who Should Use EmailFlow
    • 🏢 Enterprise Solutions with EmailFlow
    • 🔒 Security Measures
    • 🌟 Company Mission
Powered by GitBook
On this page
  • Base URL
  • Authentication
  • Generating PDFs
  • Examples

Was this helpful?

  1. API Documentation

🛠️ PDF Generation API

Previous👾 Transactional Email APINext💜 FlutterFlow Guide (Email + PDF)

Last updated 1 year ago

Was this helpful?

Welcome to the Emailflow API documentation! With our API, you can easily automate sending transactional emails and generating PDFs. This guide will cover everything you need to know to get started.

Base URL

All URLs referenced in the API documentation have the following base URL:

Authentication

To authenticate your API requests, you need to include a Bearer Token in your HTTP headers. The API key should be prefixed by the word Bearer followed by a space.

Authorization: Bearer API_KEY

Note: Replace API_KEY with your actual API key.


Generating PDFs

POST https://api.emailflow.so/v1/pdfgen

Generates a PDF from a PDF template and returns the generated PDF URL.

Headers

Name
Type
Description

Authorization*

Bearer API_KEY

Request Body

Name
Type
Description

templateId*

String

params

JSON

Endpoint

POST /pdfgen

Request Body Parameters

Parameter
Type
Description

templateId

string

The ID of the PDF template.

params

object

Any additional parameters needed.

Response

Upon successful request, you will receive:

{
  "url": "URL to your generated PDF"
}

Upon failure:

{
  "error": "Error message here."
}

Examples

We'll be adding example requests and additional guidelines soon. Stay tuned!

Thank you for using Emailflow!

https://api.emailflow.so/v1