
Connectors / Documents and e-signature · HTTP Connector
Automate APITemplate.io with Tray.ai
Create a PDF, create an image and update a PDF template in APITemplate.io, and start a workflow when APITemplate.io sends “PDF generated”.
Thanks — someone from our team will be in touch soon.
What can you do with APITemplate.io on Tray.ai?
APITemplate.io generates PDFs and images from reusable templates, HTML, Markdown or a web page URL, with regional endpoints in the US, Europe, Singapore and Australia. Tray.ai connects to APITemplate.io through the HTTP Connector, so your workflows can call the APITemplate.io API alongside the rest of your stack.
- Create a PDF of the invoice when an order is paid in your billing system.
- When APITemplate.io sends “PDF generated”, email the file to the customer from your email platform.
- Create a PDF from HTML for weekly reports pulled from your data warehouse.
- Check remaining quota daily and alert the ops team in team chat before it runs out.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://rest.apitemplate.io
Set it up
Connect APITemplate.io to Tray.ai
Each step uses APITemplate.io's own API details, from its documentation.
Step 1
Save APITemplate.io's API key
Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://rest.apitemplate.io as the base URL. Or paste a cURL example from APITemplate.io's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “List generated objects”
It's one of 13 documented actions, under Images. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from APITemplate.io events
Give APITemplate.io the URL of a Tray.ai webhook trigger. “PDF generated” can then start a workflow.
What the APITemplate.io API covers
4 resources and 13 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
PDFs
- Create a PDF
- Create a PDF from HTML
- Create a PDF from URL
- Create a PDF from Markdown
- Merge multiple PDFs
Images
- Create an image
- List generated objects
- Delete an object
Templates
- List templates
- Get a PDF template
- Update a PDF template
Account
- Get account information
- Check remaining quota
Events APITemplate.io can send to a Tray.ai webhook trigger
- PDF generated
Checked against APITemplate.io's own documentation on 2026-10-22
How Tray.ai makes this work
APITemplate.io plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 6,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in APITemplate.io — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose APITemplate.io actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on APITemplate.io data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More documents and e-signature apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every documents and e-signature connector →
Frequently asked questions
What can a Tray.ai workflow do in APITemplate.io?
+
The APITemplate.io API documents 13 actions across 4 resources (PDFs, Images, Templates, Account). For example: Create a PDF; Create an image; List templates. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with APITemplate.io?
+
The APITemplate.io API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which APITemplate.io events can start a Tray.ai workflow?
+
APITemplate.io sends one event to a webhook URL, for example: PDF generated. A Tray.ai webhook trigger receives them and starts a workflow.
See APITemplate.io working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.