PorterchainPORTERCHAIN

Developers

Integrate once. Operate forever.

API-first local delivery infrastructure. Authenticate with API keys; post parcels, get pricing, receive webhooks.

Authentication

API keys. Generate in the admin panel after signup. Pass in header: Authorization: Bearer YOUR_API_KEY.

Endpoints

  • POST /api/v1/batches — Create batch
  • POST /api/v1/parcels — Create parcel
  • GET /api/v1/pricing/calculate — Get pricing calculation
  • GET /api/v1/parcels/:id/status — Get statuses

Webhooks

Configure a webhook URL in the admin panel. We send events as POST requests to your URL.

Webhook events

  • parcel.created
  • parcel.priced
  • route.assigned
  • parcel.delivered
  • parcel.exception
  • invoice.issued
  • payment.failed

SDKs

JS/TS and Python SDKs. Rate limiting and idempotency rules apply; see admin docs after signup.