Public API

Build with Locally Send

A simple REST API to create and manage cloud file transfers programmatically. Authenticate with an API key, send JSON, get JSON back.

Cloud transfer API

Use the API for uploads that need links, expiry, recipients, tracking, and account-level limits.

Nearby in the app

Nearby transfers are designed for signed-in Pro and Business users in the browser, moving files between devices on the same network.

Open Nearby

1. Get an API key

Create a key with the scopes your integration needs. You'll see the secret once.

Manage keys

2. Authenticate

Send your key in the Authorization header.

Authorization: Bearer lsk_live_•••

Scopes: transfers:read · transfers:write · transfers:delete

3. Make a request

curl -X POST https://send.locally.africa/api/public/v1/transfers \
  -H "Authorization: Bearer lsk_live_•••" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Q4 designs",
    "expires_in_days": 7,
    "recipient_emails": ["alice@example.com"]
  }'

Node SDK

@Locally Send/node

npm install @Locally Send/node

PHP SDK

Locally Send/php-sdk

composer require Locally Send/php-sdk

Errors

  • 401 — missing or invalid key
  • 403 — key lacks the required scope
  • 400 — validation failed (see details)
  • 404 — resource not found or not yours