Skip to content

Update a template

PATCH
/v1/templates/{id}
curl --request PATCH \
--url https://shareout.site/v1/templates/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "subject": "example", "html": "example", "text_body": "example", "variables": [ { "name": "example", "type": "string", "required": false, "default": "example", "description": "example" } ] }'
id
required
string
Media type application/json
object
name
string
subject
string
html
string
text_body
string
variables
Array<object>
object
name
required

Accessed via {{data.name}}.

string
type
required
string
Allowed values: string number boolean date
required
boolean
default
description
string

Updated