Skip to main content
The External API is the machine-to-machine surface of DropHub. A merchant system authenticates as an OAuth client, optionally quotes a price, creates a shipment from an order reference and two coordinates, and receives signed webhook events as the shipment moves.

Quickstart

Token to tracked shipment in a few calls.

Authentication

Client ID and secret, 15-minute tokens.

Shipments

Create, read, change, and what comes back.

Webhooks

One endpoint, ten events, HMAC-SHA256 signatures.

What you send

Everything DropHub needs to move a parcel:

What DropHub derives

You do not model any of the following. DropHub resolves each one when the shipment is created:

The whole surface

All paths start with /api/v2.

Conventions

Idempotency and ETags

Your order reference is the retry key. If-Match guards changes.

Errors

Problem details with stable machine codes.
Responses are JSON. Errors are application/problem+json. Timestamps are UTC, ISO 8601, with microseconds. Money is a JSON number with two decimals in SAR (34.00). Fields without a value are present and null.