Questions? Feedback? powered by Olark live chat software

Newsman API Page

Newsman API » Newsman API 1.0 » Template » template.save

Newsman Api Method: template.save

Prototype: template.save($key, $account_id, $template_id, $type, $content)

Description: Saves a template to the account

Return: boolean (Returns True if all ok.)

Variable Type Description
$key string API key
$account_id string
$template_id string the template identifier
$type string template type: text or html allowed
$content string the body of the template

Curl Code Example

curl -G https://cluster.newsmanapp.com/api/1.0/template.save \
	-d key=89789sdsd9fsdf9sd7k2k \
	-d account_id=test90210 \
	-d template_id=theFirstTemplate \
	-d type=text \
	-d content=Some text here \
        -d props=custom_json_string