Skip to main content

Connect PDFCrowd API

What is PDFCrowd?

PDFCrowd is an API-based service that converts HTML content into high-quality PDF documents. Use it to automate document rendering in your agents.

How to Get Your API Key

Follow these steps to obtain and securely store your PDFCrowd credentials:

  1. Visit pdfcrowd.com and create an account if you don’t already have one.
  2. After logging in, go to the left sidebar and click “API v2 License.”
  3. Locate your API Key on that page.
  4. Copy your API Key and store it somewhere safe.
Use Vault for secure storage

We recommend storing your API key in the SmythOS Vault for secure, managed access across your agents. → How to store keys in Vault

Example Usage in Agent Configuration


pdfcrowd:
Connector: HttpRequest
Settings:
url: https://api.pdfcrowd.com/convert/5.0/html-to-pdf
method: POST
headers:
Authorization: Basic YOUR_BASE64_ENCODED_KEY
body:
html: <p>Hello, PDFCrowd!</p>
Note on Authentication

PDFCrowd uses Basic Auth. You need to base64-encode your username:apikey pair and use that in the Authorization header.

Agents That Commonly Use This

  • Document generators
  • HTML to PDF reporting tools
  • Invoice or export utilities
  • Resume or webpage capture agents

→ See Studio Visual Builder to set this up visually

Need Help?

If you're having trouble setting up PDFCrowd or integrating it with your agent:

Contact Support for help with setup, encoding, or debugging.