Developer Platform

Build Delivery Into
Your Application

The DropSwift REST API gives developers full programmatic control over deliveries, real-time tracking, and payment processing. Ship your integration in hours, not weeks.

Full documentation is shared privately after your access request is approved.

POST /api/developer/create-delivery/
# Create a delivery via DropSwift API
import requests

response = requests.post(
    "https://api.dropswift.org/api/developer/create-delivery/",
    headers={
        "X-API-KEY": "YOUR_API_KEY",
        "X-API-SECRET": "YOUR_SECRET",
    },
    json={
        "pickup_address":  "Accra Central, Ghana",
        "dropoff_address": "Tema, Ghana",
        "item_description": "Electronics package",
        "weight_kg": 2.5,
    }
)

data = response.json()
print(data["tracking_id"])  # DS-2024-089
Capabilities

What You Can Build

Three powerful endpoints. Endless possibilities.

Create Deliveries

Submit delivery orders programmatically from your platform. Set pickup, drop-off, item details, and payment in a single API call.

POST /api/developer/create-delivery/
Track Deliveries

Poll live delivery status and GPS location for any order created through your API credentials. Embed tracking into your own customer portal.

GET /api/developer/track-delivery/
Process Payments

Initiate Paystack transactions and handle payment verification through our unified API layer. No direct Paystack integration needed.

POST /api/developer/payment/
Authentication

Secure API Key Authentication

All API requests require your unique API Key and Secret passed as request headers. Keys are issued after your access request is reviewed and approved.

  • X-API-KEY — Your unique identifier
  • X-API-SECRET — Your private signing secret
  • Rate limiting — Applied per key, shown in response headers
Authorization Headers
# Required headers for every API call
headers = {
    "X-API-KEY":    "ds_live_xxxxxxxxxxxxxx",
    "X-API-SECRET": "secret_xxxxxxxxxxxxxx",
    "Content-Type": "application/json",
}

# Track a delivery by tracking_id
resp = requests.get(
    "https://api.dropswift.org/api/developer/track-delivery/",
    headers=headers,
    params={"tracking_id": "DS-2024-089"},
)
print(resp.json())
Getting Started

Get API Access in 3 Steps

1
Submit Request

Fill out the API access form with your project name, use case, and expected traffic.

2
Team Review

Our team reviews your application within 2 business days and approves qualified developers.

3
Receive Credentials

Your API key, secret, and private documentation link are sent to your email.

Ready to Integrate DropSwift?

Submit your request and start building with our delivery API.