MailDropMailDropInbox + Developer Cloud
AR Developer login
Developer SDKs

SDKs and examples.

Download source-ready clients, OpenAPI, Postman, and runnable examples.

These are ready source SDKs shipped with this release. They are not yet published on NuGet, npm, PyPI, Maven Central, Packagist, or pkg.go.dev. Use them directly now and publish them later under official MailDrop accounts.
SDK license: Every 4.2.0 package now contains LICENSE.txt. Read the MailDrop SDK License. Obtain legal review before unrestricted commercial distribution.

JavaScript / TypeScript

Node 18+, browser fetch, typed definitions.

npm install ./maildrop-sdk-javascript-4.2.0.zip

Python

requests-based client with structured exceptions.

pip install ./maildrop-sdk-python-4.2.0.zip

.NET 8

HttpClient-based SDK with cancellation and structured errors.

dotnet add reference MailDrop.Sdk.csproj
Quick start

The same workflow in multiple languages

using System.Net.Http.Headers;
using System.Net.Http.Json;

using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("MAILDROP_API_KEY"));
var response = await http.PostAsJsonAsync("https://api.maildrop.online/v1/inboxes", new { local = "checkout-qa", domain = "tests.maildrop.online", lifetime_hours = 24 });
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());

One security model

  • Scoped API keys
  • Idempotency-Key support for create calls
  • Structured errors and request IDs
  • Immediate key revocation
  • Signed webhook events

MailDrop can be installed as an app. When the browser prompt is unavailable, use the permanent install guide.

A new MailDrop version is available.