Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

APITemplate.io

No security coverage Under active development 15 sites

This module provides a PHP client to interact with APITemplate.io's API for generating PDFs and images. It allows Drupal sites to programmatically create, merge, and list PDF templates using an API key and endpoint configured in the Drupal admin settings.

Simple PHP client to interact with APITemplate.io's REST API v2. APITemplate.io is a PDF and image generation service.

This is an API module, supporting a few operations. Usage:

  1. Create account at APITemplate.io; add at least 1 PDF template.
  2. Configure API endpoint + key at /admin/config/system/apitemplate-io.
  3. Inject service 'apitemplate_io.client' into a service/form/controller.
  4. Call any of the available API operations on the client: createPdf(), mergePdfs(), listTemplates(); passing the appropriate JSON-vars + query parameters (as relevant for the operation being called).
  5. Use the returned URL/data as needed: serve as direct download (see ApiTemplateClient::serveFile()), save to filesystem, etc.

The provided test tool also serves as an example for how to use the API client.

Ask your assistant about APITemplate.io

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Feb 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-beta4 Pre-release 9–11 Jun 13, 2025
1.0.0-beta3 Pre-release 9–10 Feb 10, 2023
1.0.0-beta2 Pre-release 9–10 Feb 3, 2023
1.0.x-dev Dev 9–11 Feb 2, 2023