Skip to content
The On-Demand API enables application developers and system integrators to interact with the SocketLabs On-Demand platform programmatically.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

These samples show how to send email through your SocketLabs account and how to use our APIs.

The Reporting API examples show how to retrieve information about messages sent through the SocketLabs On-Demand platform in bulk. The Injection API examples show how to programatically inject messages via HTTP, as well as how to perform an in-line mail merge. The Notification API example endpoint shows how to receive HTTP notifications from our system in real-time. The Inbound API example endpoint shows how to receive parsed email messages generated from our parsing service.

Sample code for sending email through our system:

  • Microsoft.NET Platform (VB.NET / C#)
  • Java
  • Ruby

Sample code for the Reporting API:

  • Microsoft.NET Platform (C#)
  • Node.js
  • PHP
  • Perl
  • Python

Sample code for the Injection API:

  • Microsoft.NET Platform (C#)
  • PHP
  • Ruby

Sample code for the Notification API:

  • Microsoft.NET - ASP.NET MVC 5 / Web API 2 (C#)
  • Microsoft.NET - ASP.NET MVC 4 (C#)
  • Node.js

Sample code for the Inbound Parsing API:

  • Microsoft.NET - ASP.NET MVC 3 (C#)
  • Node.js

See for complete API documentation.

You can’t perform that action at this time.