Skip to main content
GET
/
v1
/
templates
curl --request GET \
  --url https://api.pardocs.com/v1/templates \
  --header 'x-api-key: <api-key>'
[
  {
    "template_id": "<string>",
    "document_type": "<string>",
    "template_data": {},
    "template_created_at": 123,
    "template_updated_at": 123
  }
]
The Get Templates endpoint retrieves a list of all templates that you created through the ParDocs API. Templates define the structure of the data you can extract from various documents using the API. This endpoint is useful for understanding the data formats and fields that can be extracted, ensuring you can properly process and utilize the data returned by the API.
curl --request GET \
  --url https://api.pardocs.com/v1/templates \
  --header 'x-api-key: <api-key>'

Authorizations

x-api-key
string
header
required

Response

Successful Response

template_id
string
document_type
string

The type of the document.

template_data
object

The key-value pairs of information extracted from the document.

template_created_at
integer
template_updated_at
integer