Overview
Lists Email Templates for an account based on information sent via an http form post.
Post Url
https://hyperdrivepro.morethanrewards.com/api/2/GetEmailTemplates.aspx
- SSL is required
Form Fields
Field | Max Length* | Required | Notes |
response_type | Yes | Set this field value to json to return results in JSON format | |
accountid | Yes | Must be numeric. Account ID for this account. | |
teammemberid | No | Leave blank or set to 0 (zero) for Account Owner Only | |
apikey | Yes | API Key for this account. |
Success Message
<results> <emailtemplates> <emailtemplate> <id>10001</id> <accountid>2</accountid> <name>Test Email Template 1</name> <subject>Email Subject</subject> </emailtemplate> <emailtemplate> <id>10024</id> <accountid>2</accountid> <name>Test Email Template 2</name> <subject>Email Subject</subject> </emailtemplate> </emailtemplates> </results>
Sample Failure Message
<?xml version="1.0"?> <results> <error>Authentication failed</error> </results>