Differences

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

Link to this comparison view

api-mailinglists [2017/01/18 13:23]
ben [Get Mailing List]
api-mailinglists [2017/07/26 08:24]
Line 1: Line 1:
-====== API Mailing List Endpoints ====== 
  
-===== Get Mailing List ===== 
- 
-This Endpoint is used to get a single Mailing List in your Sentori Account. 
- 
-You can find the [[/​mailing-lists|Mailing List]] External IDs on the [[/​mailing-lists|Mailing List]] page in Sentori. 
- 
-==== Endpoint ==== 
-|URI| <​nowiki>​https://​api.sentoriapp.com/​v2.0/​mailinglists/​MailingListExternalID/</​nowiki>​| 
-|Method| GET | 
- 
-==== Response ==== 
- 
-|Field| Type|Description | 
-|ExternalID| string| ID of the Mailing List.| 
-|Name|string| Name of the Mailing List.| 
-|Description| string| Description of the Mailing List.| 
- 
-|Example|<​code javascript>​ 
-{ 
- "​ExternalID":​ "​1234ABCD",​ 
- "​Name":​ "​Members'​ Offers",​ 
- "​Description":​ "For members who receive special offers emails."​ 
-} 
-</​code>​| 
- 
-===== Get All Mailing Lists ===== 
- 
-This Endpoint is used to get all Mailing Lists in your Sentori Account. 
- 
-==== Endpoint ==== 
-|URI| <​nowiki>​https://​api.sentoriapp.com/​v2.0/​mailinglists/</​nowiki>​| 
-|Method| GET | 
- 
-==== Response ==== 
- 
-|Field| Type|Description | 
-|ExternalID| string| ID of the Mailing List.| 
-|Name|string| Name of the Mailing List.| 
-|Description| string| Description of the Mailing List.| 
- 
-|Example|<​code javascript>​ 
-[ 
- { 
- "​ExternalID":​ "​1234ABCD",​ 
- "​Name":​ "​Members'​ Offers",​ 
- "​Description":​ "For members who receive special offers emails."​ 
- }, 
- { 
- "​ExternalID":​ "​ABCD1234",​ 
- "​Name":​ "​Standard Offers",​ 
- "​Description":​ "For contacts who receive our standard offers emails."​ 
- } 
-] 
-</​code>​|