Questions? Feedback? powered by Olark live chat software

Newsman API Page

Newsman API » Newsman API 1.0 » Template »

Newsman Api Method:

Prototype:$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 \
	-d key=89789sdsd9fsdf9sd7k2k \
	-d account_id=test90210 \
	-d template_id=theFirstTemplate \
	-d type=text \
	-d content=Some text here \
        -d props=custom_json_string