Get PDF templates

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://restapi.wyzio.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Wyzio MCP server": {
    "url": "https://restapi.wyzio.com/mcp"
  }
}

Close
GET /api-v1/pdf-template

Returns a list of PDF templates for the organization based on the specified filters.

Headers

  • WEAL-TOKEN Required

    API token (can be retrieved from account settings)

  • TARGET-ORGANIZATION-ID

    ID of organization, for which the operation must be performed

Query parameters

  • pageNumber integer

    Page Number

    Default value is 1.

  • sortingField string

    Field to sort by

  • direction string

    Sorting direction

    Values are ASC or DESC. Default value is ASC.

  • sizePerPage integer

    Size per page

    Default value is 60.

  • id string

    PDF template ID filter.

    Multi-value supported. Example: value1;value2

  • name string

    Template name filter

  • templateType string

    Template type filter

    Values are SALES_INVOICE, LATE_NOTICE, SALARY_SLIP, MY_SALARY_SLIP, SALES_ORDER, VAT_REPORT, DELIVERY_NOTE, or GENERAL_LEDGER.

  • sourceTemplateId string

    Source template file ID filter.

    Multi-value supported. Example: value1;value2

  • previewTemplateId string

    Preview template file ID filter.

    Multi-value supported. Example: value1;value2

  • previewImageId string

    Preview image file ID filter.

    Multi-value supported. Example: value1;value2

  • previewExists boolean

    Whether a preview exists for the template

  • moduleAvailabilityType string

    Template scope filter

    Values are ORGANIZATION or GLOBAL.

  • description string

    Template description filter

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • id integer(int64)
    • name string
    • templateType string

      Values are SALES_INVOICE, LATE_NOTICE, SALARY_SLIP, MY_SALARY_SLIP, SALES_ORDER, VAT_REPORT, DELIVERY_NOTE, or GENERAL_LEDGER.

    • sourceTemplateId integer(int64)
    • previewTemplateId integer(int64)
    • previewImageId integer(int64)
    • previewExists boolean
    • moduleAvailabilityType string

      Values are ORGANIZATION or GLOBAL.

    • description string
  • 400

    400 Bad Request

  • 401

    401 Unauthorized

  • 403

    403 Access Denied

  • 404

    404 Not Found

  • 500

    500 Internal Server Error

GET /api-v1/pdf-template
curl \
 --request GET 'https://wyzio.app/api-v1/pdf-template'
Response examples (200)
[
  {
    "id": 42,
    "name": "string",
    "templateType": "SALES_INVOICE",
    "sourceTemplateId": 42,
    "previewTemplateId": 42,
    "previewImageId": 42,
    "previewExists": true,
    "moduleAvailabilityType": "ORGANIZATION",
    "description": "string"
  }
]