Templates
Create Template
This operation allows you to create a new template by providing the necessary template details.
post/public/v1/templates
Query parameters
fieldsstring[]
A comma-separated list of additional fields to include in the response.
Request body
Example request
{
"url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"name": "Template name example",
"folder_uuid": "EE8yUNg5HztqVAuH85He8V",
"owner": {
"membership_id": "QMDSzwabfFzTgjW6KijHyu",
"email": "john.doe@example.com"
},
"metadata": {
"my_favorite_pet": "Panda"
},
"tokens": [
{
"name": "Favorite.Pet",
"value": "Panda"
}
]
}Response
OK
Example response
{
"id": "iMymdDd9XFD3HyxP5VD67Q",
"name": "Blank",
"date_created": "2021-06-17T15:51:13.226974Z",
"date_modified": "2021-06-17T15:51:13.326974Z",
"version": "2",
"content_date_modified": "2021-06-17T15:51:13.426974Z"
}