Developer documentation

Dragonfly Partner API

Send delivery orders from your own system or AI agent. Orders land in your Dragonfly account; we dispatch them or build your day's routes, and report every step back over signed webhooks. Single catering drops and multi-stop routes, one API.

Your first order

  1. Get a sandbox key in one request. No approval needed.
  2. Create an order with your own order number as externalId.
  3. Follow it with webhooks or polling.
  4. Ready for real deliveries? Request production access.
bash
curl -s https://api.trydragonfly.com/v1/orders \
  -H "Authorization: Bearer $DRAGONFLY_API_KEY" -H 'content-type: application/json' -d '{
  "externalId": "order-1001",
  "pickup":  { "address": "100 W Randolph St, Chicago, IL 60601", "contactPhone": "+13125550100" },
  "dropoff": { "address": "445 N Michigan Ave, Chicago, IL 60611", "contactName": "Reception",
               "contactPhone": "+13125550111", "windowEnd": "2026-10-09T12:00:00-05:00" }
}'

πŸ€– Building with an AI agent?

Give your agent llms.txt and the OpenAPI spec, or plug in the MCP server. It can create its own sandbox key and test end to end.

Building with AI agents β†’