http://docs.callproof.com/index.php?title=API:Email:New&feed=atom&action=history
API:Email:New - Revision history
2024-03-29T06:06:24Z
Revision history for this page on the wiki
MediaWiki 1.31.0
http://docs.callproof.com/index.php?title=API:Email:New&diff=889&oldid=prev
Jeff Epperson: Created page with "== API » New Email == '''URL:''' <nowiki>https://app.callproof.com/api/contact/email/messages/new/</nowiki> '''Method:''' POST '''Required Fields:''' * '''''api_k..."
2017-08-16T13:02:16Z
<p>Created page with "== <a href="/index.php/API" title="API">API</a> ยป New Email == '''URL:''' <nowiki>https://app.callproof.com/api/contact/email/messages/new/</nowiki> '''Method:''' POST '''Required Fields:''' * '''''api_k..."</p>
<p><b>New page</b></p><div>== [[API]] &#187; New Email ==<br />
<br />
'''URL:''' <nowiki>https://app.callproof.com/api/contact/email/messages/new/</nowiki><br />
<br />
'''Method:''' POST<br />
<br />
'''Required Fields:'''<br />
<br />
* '''''api_key[key]''''' - API Key<br />
* '''''api_key[secret]''''' - API Key Secret<br />
* '''''message_data[to_email_ids][]''''' - Array of Email IDs to whom email sent<br />
* '''''message_data[from]''''' - Source Email ID from which email sent.<br />
* '''''message_data[sent_date]''''' - Email sent date/time (e.g. '2014-08-10 12:34:56')<br />
* '''''message_data[subject]''''' - Email subject<br />
* '''''message_data[body][content_type]''''' - Email data type ('text/plain', 'html')<br />
* '''''message_data[body][content]''''' - Email data i.e. content of message<br />
* '''''message_data[message_id]''''' - Unique message ID<br />
* '''''message_data[account_id]''''' - Account associate with callproof system<br />
<br />
<br />
'''Optional Fields:'''<br />
* '''''message_data[body][has_attachments]''''' - If email contains attachment then '1' else '0'<br />
* '''''message_data[body][attachments][]''''' - Array of attachments<br />
* '''''message_data[body][attachments][0][name]''''' - Name of attachment file<br />
* '''''message_data[body][attachments][0][file_data]''''' - Base64 encoded file data<br />
<br />
<br />
'''Data Returned:'''<br />
<br />
* '''''results''''' - Synced email message data<br />
* '''''errors''''' - Array of errors produced by the request<br />
* '''''code''''' - HTTP request status</div>
Jeff Epperson