Templates
Get a list of available templates
To get all templates, send a GET request to
/api/templates
. You will receive a JSON response containing all templates.
GET /api/templates
Headers |
|
Authorization* |
The
|
Content-Type |
Default: application/json
The
|
Example Request
Here is an example of a GET request to the templates endpoint. In this example, we are using the
curl
command-line tool to send a GET request to the API.
curl -X POST "https://pdf-api.io/api/templates" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {token}"