Skip to main content
POST
Preview a template version

Authorizations

Authorization
string
header
required

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

Path Parameters

document_id
string<uuid>
required

Template identifier.

version
integer
required

Version number.

Required range: 1 <= x <= 100000

Body

application/json
locales
enum<string>[]
Maximum array length: 5
Available options:
es,
en,
pt,
fr,
it
languages
enum<string>[]

Alias of locales.

Maximum array length: 5
Available options:
es,
en,
pt,
fr,
it
payload
object

Overrides of the generated sample payload.

sample
object | null

Alias of payload.

timezone
string

IANA time zone for dates (default America/Santiago).

Maximum string length: 64
Example:

"America/Santiago"

draft
object

Unsaved halves to render.

Response

One render per language

data
object[]
message
string
meta
object