{ "opencollection": "1.0.0", "info": { "name": "Listrak Cross Channel REST app-push-mobile-client-device SavedMessage API", "version": "v1" }, "items": [ { "info": { "name": "SavedMessage", "type": "folder" }, "items": [ { "info": { "name": "Get all SavedMessages", "type": "http" }, "http": { "method": "GET", "url": "https://api.listrak.com/crosschannel/v1/v1/List/:listId/SavedMessage", "params": [ { "name": "listId", "value": "", "type": "path", "description": "Identifier used to locate the list." } ] }, "docs": "Returns the collection of saved messages associated with the specified list." }, { "info": { "name": "Create a SavedMessage", "type": "http" }, "http": { "method": "POST", "url": "https://api.listrak.com/crosschannel/v1/v1/List/:listId/SavedMessage", "params": [ { "name": "listId", "value": "", "type": "path", "description": "Identifier used to locate the list." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new saved message with the specified content and metadata." }, { "info": { "name": "Send a SavedMessage", "type": "http" }, "http": { "method": "POST", "url": "https://api.listrak.com/crosschannel/v1/v1/List/:listId/SavedMessage/:savedMessageId/Message", "params": [ { "name": "listId", "value": "", "type": "path", "description": "Identifier used to locate the list." }, { "name": "savedMessageId", "value": "", "type": "path", "description": "Identifier used to locate the saved message." }, { "name": "sendDate", "value": "", "type": "query", "description": "The send date for the message." }, { "name": "sendTestMessage", "value": "", "type": "query", "description": "Whether a test message should be sent. The default is `false`." }, { "name": "sendReviewMessage", "value": "", "type": "query", "description": "Whether a review message should be sent. The default is `false`." }, { "name": "testEmailAddress", "value": "", "type": "query", "description": "Test email address that will be used to preview the scheduled message." } ] }, "docs": "Sends a previously-created saved message." }, { "info": { "name": "Get a SavedMessage", "type": "http" }, "http": { "method": "GET", "url": "https://api.listrak.com/crosschannel/v1/v1/List/:listId/SavedMessage/:savedMessageId", "params": [ { "name": "listId", "value": "", "type": "path", "description": "Identifier used to locate the list resource." }, { "name": "savedMessageId", "value": "", "type": "path", "description": "Identifier used to locate the saved message." } ] }, "docs": "Returns the specified saved message." }, { "info": { "name": "Update a SavedMessage", "type": "http" }, "http": { "method": "PUT", "url": "https://api.listrak.com/crosschannel/v1/v1/List/:listId/SavedMessage/:savedMessageId", "params": [ { "name": "listId", "value": "", "type": "path", "description": "Identifier used to locate the list." }, { "name": "savedMessageId", "value": "", "type": "path", "description": "Identifier used to locate the saved message." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the specified saved message with the provided content and metadata." } ] } ], "bundled": true }