Skip to main content
GET
/
v1
/
templates
List Templates
curl --request GET \
  --url https://reporter.sandbox.lerian.net/v1/templates \
  --header 'X-Organization-id: <x-organization-id>'
{
"items": [
{
"id": "0196b193-0dc6-7a30-abb5-4f1ce5e8f829",
"outputFormat": "HTML",
"description": "Statements",
"fileName": "0196b193-0dc6-7a30-abb5-4f1ce5e8f829.tpl",
"createdAt": "2025-05-08T20:25:26.726Z",
"updatedAt": "2025-05-08T20:25:26.726Z",
"deletedAt": null
},
{
"id": "0196b1a4-a154-7adc-81c2-45fb1393c30d",
"outputFormat": "TXT",
"description": "CNAB",
"fileName": "0196b1a4-a154-7adc-81c2-45fb1393c30d.tpl",
"createdAt": "2025-05-08T20:44:38.612Z",
"updatedAt": "2025-05-08T20:44:38.612Z",
"deletedAt": null
}
],
"page": 1,
"limit": 10,
"total": 6
}

Headers

Authorization
string

The authorization token. Important: This header is required if your environment has the Access Manager plugin enabled.

X-Organization-id
string
required

The unique identifier of the Organization associated with the request.

Query Parameters

page
integer

The number of the page that you want to retrieve.

limit
integer

Maximum number of items returned per page.

outputFormat
enum<string>

The format of the generated output.

Available options:
HTML,
CSV,
PDF,
TXT,
XML
description
string

Briefly describes what the template is for or what it contains.

createdAt
string

Timestamp indicating when the template was created.

Response

The list of all templates available in the system.

items
object[]