Differences

This shows you the differences between two versions of the page.

Link to this comparison view

api-emails [2015/02/16 16:03]
dan
api-emails [2017/07/26 08:24]
Line 1: Line 1:
-====== API Email Endpoints ====== 
- 
-The Email Endpoints are used to manage the Emails in your Sentori Account. 
- 
-===== Get Draft Emails ===== 
- 
-This Endpoint is used to get the Draft Emails currently in your Sentori Account. 
- 
-|URI| <​nowiki>​https://​api.sentoriapp.com/​v2.0/​emails/​drafts/</​nowiki>​| 
-|Method| GET | 
- 
-==== Response ==== 
-|Example|<​code javascript>​[{ 
-"​ExternalID":"​AB1C234D",​ 
-"​Name":"​Draft Email",​ 
-"​Description":"​This is a draft email.",​ 
-"​Created":"​2013-02-21T14:​41:​59.007",​ 
-"​CreatedBy":"​ExampleU",​ 
-"​Modified":"​2013-02-21T15:​45:​14.47",​ 
-"​ModifiedBy":"​ExampleU"​ 
-},{ 
-"​ExternalID":"​XY1C234E",​ 
-"​Name":"​Another draft email",​ 
-"​Description":"​This is a second draft email.",​ 
-"​Created":"​2012-02-07T11:​06:​53.85",​ 
-"​CreatedBy":"​ExampleU",​ 
-"​Modified":"​2012-02-07T11:​06:​53.85",​ 
-"​ModifiedBy":"​ExampleU"​}] 
-</​code>​| 
- 
-===== Get Sent Emails ===== 
- 
-This Endpoint is used to get the Broadcast Emails that have been sent. 
- 
-|URI| <​nowiki>​https://​api.sentoriapp.com/​v2.0/​emails/​sent/</​nowiki>​| 
-|Method| GET | 
- 
-==== Response ==== 
-|Example|<​code javascript>​[{ 
-"​ExternalID":"​AB1C234D",​ 
-"​Name":"​Draft Email",​ 
-"​Description":"​This is a sent email.",​ 
-"​Created":"​2013-02-21T14:​41:​59.007",​ 
-"​CreatedBy":"​ExampleU",​ 
-"​Modified":"​2013-02-21T15:​45:​14.47",​ 
-"​ModifiedBy":"​ExampleU",​ 
-"​LastScheduled":"​2013-02-21T16:​00:​00"​ 
-},{ 
-"​ExternalID":"​XY1C234E",​ 
-"​Name":"​Another draft email",​ 
-"​Description":"​This is a second sent email.",​ 
-"​Created":"​2012-02-07T11:​06:​53.85",​ 
-"​CreatedBy":"​ExampleU",​ 
-"​Modified":"​2012-02-07T11:​06:​53.85",​ 
-"​ModifiedBy":"​ExampleU",​ 
-"​LastScheduled":"​2013-02-07T11:​30:​00"​}] 
-</​code>​|