Template gallery

List gallery designs

Every design in the pdfs.build gallery, without its source. Filter with category (for example odoo, whose designs are named after Odoo's own fields) or useCase (for example odoo-invoice). The id is what POST …/templates/from-gallery takes.

get/v2/organizations/{organizationId}/gallery

Request

  • Base URL: https://api.pdfs.build
  • URL: https://api.pdfs.build/v2/organizations/{organizationId}/gallery
  • Auth: HTTP bearer

Query parameters

categorystring

Only designs in this category, e.g. odoo, finance.

useCasestring

Only designs for this document type, e.g. odoo-invoice, invoice.

Response

The matching designs and the per-category counts of the whole library.

Example response

{
  "templates": [
    {
      "id": "odoo-invoice-stub-band",
      "name": "Odoo Invoice — Stub Band",
      "useCase": "odoo-invoice",
      "category": "odoo",
      "archetype": "band-header",
      "palette": "royal-bone",
      "tier": "expressive",
      "page": "A4-portrait",
      "pages": 1
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.