Skip to content
Home Developers API Documentation
Developer API

Embed end-to-end encryption in any workflow

A REST API, official SDKs for Node.js, Python, Java, and .NET, webhook events, and the embeddable Dropzone widget. Build encrypted file exchange into the apps your team already uses.

MCP for Claude & Codex

Drive SendSafely from your AI client.

Claude, Codex, or any MCP-aware AI client calls SendSafely's full user capability surface — send, download, manage recipients and monitor activity — without leaving the conversation.

~/work/sendsafely — claude code — v2.6 MCP connected
✳ Welcome to Claude Code
/help for help, /status for your status
cwd: ~/work/sendsafely · mcp: sendsafely (connected)
>Send the Q4 audit report to outside-counsel@apexlegal.com encrypted, with SMS verification.
mcp__sendsafely__send_package(recipients: ["outside-counsel@apexlegal.com"], identity: "sms")
Package XYZ123 sent. Encrypted on device. SMS dispatched.
Pick your entry point

Three surfaces, one encryption model

Files are encrypted on the sender's device before they reach any SendSafely server. Pick the surface that matches the workflow you're building.

Client SDKs · CLI

SDKs, CLI, and developer tooling

Native SDKs for Node.js, Python, Java, and .NET, plus a REST API, Postman collection, and reference command-line samples. Every SDK handles key generation, OpenPGP encryption, and large-file segmentation automatically.

Browse SDKs
Event surfaces

Webhooks and event integrations

Wire SendSafely events into your own systems. Dropzone upload webhooks fire on every secure upload. The Audit Log API makes available security related events such as PACKAGE_EVENT, ADMIN_EVENT, and USER_EVENT records for SIEM and downstream tooling.

See event surfaces
Embeddable widget

Dropzone Widget for browser uploads

A JavaScript widget that drops encrypted file collection into any web form, portal, or AI chat. Files are encrypted in the visitor's browser and uploaded directly to SendSafely.

Set up the widget
Screenshot of a SendSafely Dropzone custom form widget embedded in a web page, accepting an encrypted file upload directly from a visitor's browser
The Dropzone widget drops into any web form or portal — files are encrypted in the visitor's browser before they leave the device.
SDK code samples

Send an encrypted package in a few lines

The SDKs share the same shape across every language. Authenticate with your API key and secret, create a package, attach recipients and files, then finalize. Encryption happens client-side automatically.

Node.js send-package.js
const SendSafely = require('@sendsafely/sendsafely');

const ss = new SendSafely(
  'https://your-portal.sendsafely.com',
  process.env.SS_API_KEY,
  process.env.SS_API_SECRET
);

// 1. create package, add recipient, attach file
const pkg = await ss.createPackage();
await ss.addRecipient(pkg.packageId, 'user@example.com');
await ss.encryptAndUploadFile(pkg.packageId, './file.pdf');

// 2. finalize and return the secure share link
const link = await ss.finalizePackage(pkg.packageId, pkg.keyCode);
console.log(link);
Python send_package.py
from sendsafely import SendSafely, Package

ss = SendSafely(
    "https://your-portal.sendsafely.com",
    os.environ["SS_API_KEY"],
    os.environ["SS_API_SECRET"],
)

# 1. create package, add recipient, attach file
pkg = Package(ss)
pkg.add_recipient("user@example.com")
pkg.encrypt_and_upload_file("./file.pdf")

# 2. finalize and return the secure share link
link = pkg.finalize()
print(link)

Patterns shown are representative of the SendSafely Code-Examples repo. See the SDK sub-page for full installation and reference links.

Audit Log API · Enterprise plan

Programmatic access to events on the platform.

The Audit Log API returns security related events such as PACKAGE_EVENT, ADMIN_EVENT, and USER_EVENT records with timestamps, IP, authenticated user, and JSON event details. Pipe directly to your SIEM or push to S3 for indefinite retention.

Programmatic access to events Indefinite via S3 export SIEM-ready JSON
GET /api/v2.0/audit-logs
PACKAGE_EVENT
FINALIZE_PACKAGE · user@acme.com · 10.0.4.21
2026-05-30T14:18:42Z
USER_EVENT
PACKAGE_DOWNLOAD · recipient@ext.com · 198.51.100.7
2026-05-30T14:21:10Z
ADMIN_EVENT
API_KEY_GENERATED · admin@acme.com · 10.0.4.5
2026-05-30T14:25:03Z
PACKAGE_EVENT
DROPZONE_UPLOAD · anonymous · 203.0.113.55
2026-05-30T14:29:51Z
Who calls our API

One SDK, every team consolidated.

The API exists so your engineers can stop building encryption and start building on it. Here is what each team gets back.

For IT teams

Deployable in a day. Operable on autopilot.

REST API with SDKs for Java, .NET, and Node.js. Dropzone widget for browser uploads with one script tag. SAML 2.0 + SCIM for identity. Audit log API your SIEM ingests directly. No app to host. No key escrow to manage. One vendor across encrypted exchange, email, helpdesk, AI, and your own apps — not five.

SAML 2.0 · SCIM · audit log API · REST + SDKs
See the audit log API
For security & compliance

Limit blast radius by design.

The API enforces the same split-key architecture as every other SendSafely surface. Files are encrypted client-side before they ever reach the server. Limit blast radius: a breach of your application produces ciphertext, not data. Least-privilege by default. Full data sovereignty in US, EU, or AU.

SOC 2 Type 2 · HIPAA · PCI DSS · GDPR
Read the security overview
Split-key architecture

Files are encrypted before they reach any server

Every file is encrypted on the sender's device using OpenPGP. SendSafely sees ciphertext only — the decryption key is split so nobody, not even SendSafely, can read the contents on its own.

Audited annually. SendSafely maintains the certifications regulated industries require.

Compliance & certifications
SOC 2 Type 2 HIPAA PCI DSS GDPR CCPA
Client-side OpenPGP
Files are encrypted on the device before they ever leave it.
Split-key architecture
The decryption key is split so no single party—including SendSafely—can decrypt file contents on its own.
Full audit trail
Every send, recipient open, identity check, and download is logged with timestamps for compliance reporting.
Start building

Ship encrypted file exchange this week.

Get an API key, pick an SDK, and embed end-to-end encryption into the workflow your team already uses. Need a sandbox portal or a higher rate limit? Our team can help.