Web Socket Test Page

Web Socket Endpoint


Example Web Socket Connection in JavaScript

var params = "key=YOUR_API_KEY_HERE&addresses=1@mailsac.com,2@mailsac.com";
var ws = new WebSocket("wss://sock.mailsac.com/incoming-messages?" + params);
ws.onmessage = function (event) {

Connection Test

Enter details below then hit the Open Web Socket button to receive emails on this web page.

Web socket frames that you receive will be printed below.

API Documentation →

An API key from the the API keys page.
Only email addresses you own (private) are accepted. You must have the web socket setting flipped on the address.