Add a new "Email Template" to settings based on information sent via an http form post.
Field | Max Length | Required | Notes |
---|---|---|---|
response_type | false | Default results will be returned in XML. Set this field value to json to return results in JSON format. | |
accountid | true | Must be numeric. Account ID for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
apikey | true | API Key for this account. Found in Settings > API Settings or for White Label CRM in the Admin control panel | |
teammemberid | false | Must be numeric. Team Member ID. Defaults to 0 (Account Owner). | |
name | 50 | true | Display name for the Email Template |
folder | 50 | false | Folder for Email Template. If folder does not exist, it will be created. |
subjectline | 75 | true | Email Subject Line |
messagebody | true | Email Message Body – HTML, Encoded *You must HTML Encode / Output Escape your HTML, otherwise you will receive a server security error. **This error will not be in the normal XML format, so be sure you look for a success message to confirm that your content was added ***Do not include or or tags in your Email Templates. |