PDF Generator API icon

PDF Generator API

Generate PDFs, manage templates, convert HTML/URLs to PDF, and perform PDF operations like watermarking, encryption, and optimization

Template → List

AI-generated

Overview

This node operation lists PDF templates from the PDF Generator API. It allows filtering templates by access type (all, organization, private), name, tags, and supports pagination with page number and number of records per page. This is useful for retrieving and managing available PDF templates in an automated workflow, such as displaying templates for selection or processing in document generation tasks.

Use Case Examples

  1. Retrieve all templates accessible to the organization.
  2. Filter templates by a specific name or tag to find relevant templates.
  3. Paginate through templates to handle large sets of templates efficiently.

Properties

Name Meaning
Access Type Filter templates by access type (all, organization, private).
Name Filter Filter templates by name to narrow down the list.
Page Page number to return for pagination.
Per Page Number of records to return per page, with a maximum of 100.
Tags Filter Filter templates by tags to find templates with specific tags.

Output

JSON

  • id - The unique identifier of the template.
  • name - The name of the template.
  • access - The access type of the template (e.g., organization, private).
  • tags - Tags associated with the template.
  • created_at - Timestamp when the template was created.
  • updated_at - Timestamp when the template was last updated.

Dependencies

  • An API key credential for the PDF Generator API is required to authenticate requests.

Troubleshooting

  • Ensure the API key credential is correctly configured and has the necessary permissions to access templates.
  • Verify that the filter parameters (name, tags, access) are correctly formatted and valid.
  • Check for network connectivity issues that might prevent the node from reaching the PDF Generator API endpoint.
  • If pagination parameters (page, per_page) are out of range, the API might return empty results or errors.

Links

Discussion