Skip to content
Slingdrop

Developers

Slingdrop, from your code

A REST API with an OpenAPI spec, a typed SDK, a CLI, an MCP server for AI agents, file hosting and signed webhooks. Everything the app can do, you can automate.

CLI

Sling files, folders or piped output from a terminal or CI job and get a link, a QR code and the URL on your clipboard. Requires Node 20 or later.

CLI reference
terminal
npx slingdrop deck.pdf                 # public link for 24 hours, no account
npm i -g slingdrop && slingdrop login
slingdrop ./dist --expires 30d

Authentication

Create an API key in Settings → Developer and send it as a bearer token. Every plan, Free included, gets keys. AI clients can sign in with OAuth instead.

Authentication
curl
curl https://api.slingdrop.my/v1/me \
  -H "Authorization: Bearer $SLINGDROP_API_KEY"

Create a drop

Describe the files, get the link and an upload target per file, then send the bytes. Files over 10 MB upload in 8 MB parts. Versions, expiry, folders and access are all in the API.

Drops guide

TypeScript SDK

@slingdrop/sdk handles uploads (including multipart and Vault encryption), retries and types. Works in Node 20+ and modern browsers.

SDK reference
TypeScript
import { Slingdrop } from "@slingdrop/sdk";

const sd = new Slingdrop({ apiKey: process.env.SLINGDROP_API_KEY });
const { shareUrl } = await sd.drops.create([{ name: "build-418.zip", data: blob }], { expiry: "7d" });

File hosting

Stable CDN URLs for app assets and your users' uploads, with image resizing. Protect files with signed links, your own sign-in (JWT) or an approval webhook.

File hosting guide

AI agents (MCP)

An MCP server at https://slingdrop.my/mcp (OAuth or API key) and as npx -y @slingdrop/mcp. Agents share files, host assets and run a review loop with you.

MCP setup and tools
terminal
claude mcp add --transport http slingdrop https://slingdrop.my/mcp

Webhooks

Signed JSON callbacks when drops are created, viewed, commented on, approved and more, retried with backoff until your endpoint answers 2xx.

Webhooks guide

API reference

Every endpoint with request and response examples, generated from the same schemas that validate requests. Sign in to send real requests from the page, or download the OpenAPI 3.1 spec.

Open the API reference

Raycast

Sling the selected Finder files or your clipboard, browse recent drops and copy links without leaving the keyboard. Install the Slingdrop extension in Raycast and paste an API key from Settings when asked.

Get an API key

Limits

Free keys get 1,000 calls a day, Pro 10,000 and Team 100,000. Upload sizes, storage and hosting follow your plan.

All limits

Build something with Slingdrop

Create an API key and send your first drop from code.

Start the quickstart