Features Solutions Enterprise Integrations Pricing Case Studies API Partners Careers Security Payments Blog FAQ Contact
Log in Request demo
Developers

API overview

Diamond Fleet connects to your pharmacy system through a secure, permissioned API. Here's the shape of how that connection works.

Authentication

Every API connection is authenticated and scoped to your organization — access can be reviewed or revoked at any time from your dashboard.

Authorization: Bearer <your_api_key> Content-Type: application/json

Core resources

The API is organized around the objects that already matter in your operation: orders, routes, drivers and delivery status.

POST /v1/orders — create a delivery order GET /v1/orders/:id — get order status & timeline GET /v1/routes/:id — get route & driver assignment POST /v1/webhooks — subscribe to status updates

Webhooks for real-time status

Instead of polling, your system can subscribe to order status changes — dispatched, in transit, delivered, returned — and receive them as they happen.

Security

All API traffic is encrypted in transit. Data exposed through the API is limited to what's necessary for dispatch and delivery — see our full Security & Compliance page.

Full reference documentation: This page describes the general shape of the API. Complete endpoint-by-endpoint reference documentation is provided directly to your engineering team during integration onboarding.