GET
/
v1
/
templates
curl --request GET \
  --url https://api.doczilla.app/v1/templates \
  --header 'Authorization: Bearer <token>'
{
  "hasNextPage": true,
  "hasPreviousPage": true,
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "output": "PDF",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
number | null
default:
1
Required range: x > 1

Response

200
application/json
hasNextPage
boolean
required

Is true if there is a next page.

hasPreviousPage
boolean
required

Is true if there is a previous page.

data
object[]
required

The list of templates.

Was this page helpful?