action formapi_create_htmltemplate {
label: "Create a new HTML template"
provider: formapi
method: POST
path: "/templates?desc=html"
encoding: json
input: {
type: "object"
required: ["template"]
properties: {
template: {
type: "object"
required: ["name"]
properties: {
allow_additional_properties: {
type: "boolean"
}
description: {
type: "string"
}
editable_submissions: {
type: "boolean"
}
expiration_interval: {
type: "string"
enum: ["minutes", "hours", "days"]
}
expire_after: {
type: "number"
}
expire_submissions: {
type: "boolean"
}
footer_html: {
type: "string"
}
header_html: {
type: "string"
}
html: {
type: "string"
}
name: {
type: "string"
}
public_submissions: {
type: "boolean"
}
public_web_form: {
type: "boolean"
}
redirect_url: {
type: "string"
}
scss: {
type: "string"
}
slack_webhook_url: {
type: "string"
}
template_type: {
type: "string"
enum: ["pdf", "html"]
}
webhook_url: {
type: "string"
}
}
}
}
}
output: {
type: "object"
required: ["allow_additional_properties", "description", "editable_submissions", "expire_submissions", "id", "locked", "name", "page_dimensions", "public_submissions", "public_web_form", "redirect_url", "slack_webhook_url", "template_type", "webhook_url"]
properties: {
allow_additional_properties: {
type: "boolean"
}
description: {
type: "string"
}
editable_submissions: {
type: "boolean"
}
expiration_interval: {
type: "string"
enum: ["minutes", "hours", "days"]
}
expire_after: {
type: "number"
}
expire_submissions: {
type: "boolean"
}
id: {
type: "string"
}
locked: {
type: "boolean"
}
name: {
type: "string"
}
parent_folder_id: {
type: "string"
}
path: {
type: "string"
}
public_submissions: {
type: "boolean"
}
public_web_form: {
type: "boolean"
}
redirect_url: {
type: "string"
}
slack_webhook_url: {
type: "string"
}
template_type: {
type: "string"
}
webhook_url: {
type: "string"
}
}
}
}