Skip to main content
PUT
/
v1
/
templates
/
{id}
cURL
curl --request PUT \
  --url https://api.doczilla.app/v1/templates/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "output": "PDF"
}
'
{
  "message": "Validations failed!",
  "code": "api.validation",
  "fields": {
    "page.url": "must be a URL address"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
name
string

The name of the template.

Maximum string length: 200
output
enum<string>

The output format of the template.

Available options:
PDF,
IMAGE
variables
object

The variables of the template.

Response