Last active
April 26, 2016 14:01
-
-
Save i-tabu/6dd6c8facce3792d4011 to your computer and use it in GitHub Desktop.
Pepipost Sample JSON Call
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"api_key":"yourapikey", | |
"email_details":{ | |
"fromname":"sender name", | |
"subject":"test email subject", | |
"from":"[email protected]", | |
"replytoid": "[email protected]", | |
"content":"<p>Hi [%NAME%], This is a test email sent using Pepipost JSON/Email API</p>" | |
}, | |
"X-APIHEADER": ["ACC123","SE2532"], | |
"tags": "AccountDeactivation, Verification", | |
"settings":{ | |
"footer":"1", | |
"clicktrack":"1", | |
"opentrack":"1", | |
"unsubscribe":"1", | |
"bcc":"[email protected]", | |
"attachmentid":"1,3,4", | |
"template":"101", | |
}, | |
"recipients":["[email protected]","[email protected]"], | |
"attributes":{ | |
"NAME":["NameOfFirstRecipient","NameOfSecondRecipient"], | |
"AGE":["20","30"] | |
}, | |
"files": { | |
"attachment_example1.txt": "This is the content of attached text file 1.", | |
"attachment_example2.txt": "This is the content of attached text file 2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment