ANLOGIX API PLATFORM

Build with ANLOGIX

Powerful logistics APIs for shipping, tracking, pricing, and automated delivery management. Integrate ANLOGIX directly into your e-commerce platform, ERP, marketplace, or business application.

Shipment Management

Automatically book pickup services and generate waybills on customer order checkouts.

Real-Time Tracking

Provide customers with step-by-step transit timeline events and verified proof of delivery.

Smart Sourcing Rates

Query exact shipping tariffs and distance pricing arrays dynamically before dispatch.

Getting Started

Follow these instructions to authenticate and begin dispatching shipments through the ANLOGIX Developer Network.

Authentication

The ANLOGIX API uses API keys to authenticate requests. You can generate keys in the Developer Console. Bearer authentication is required for all endpoints:

Authorization: Bearer sk_test_************************

Sandbox vs Production

We provide two separate gateways for developers to build and run test cycles before moving cargo live:

Environment Endpoint Gateway Description
Sandbox https://sandbox-api.anlogix.com/v1 Safe testing environment with mock courier tracking simulations.
Production https://api.anlogix.com/v1 Live operations gateway. Charges and bookings are real.

Shipments API

Manage package details, generate waybills, and schedule pickup collections.

POST /v1/shipments

Creates a new shipping waybill booking.

Request Headers

Authorization string (required) - Bearer token
Content-Type string - application/json

Request Body Payload

weight number (required) - Weight in kg
sender object (required) - Sender name, phone, and address
recipient object (required) - Recipient name, phone, and address

Code Example

curl -X POST https://sandbox-api.anlogix.com/v1/shipments \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "weight": 5,
    "sender": { "name": "Alibaba Store", "phone": "+86139..." },
    "recipient": { "name": "John Doe", "phone": "+234706..." }
  }'

Tracking API

Retrieve real-time timeline milestones and recipient signatures.

GET /v1/shipments/{trackingNumber}

Retrieve the full shipping journey and current dispatch stage.

Path Parameters

trackingNumber string (required) - Waybill ID (e.g. ANL123456)

Code Example

curl https://sandbox-api.anlogix.com/v1/shipments/ANL123456 \
  -H "Authorization: Bearer sk_test_your_key"

Rates API

Query active tariffs before final checkouts.

POST /v1/rates

Fetch standard and express shipment pricing.

Request Body Parameters

origin string (required) - Origin hub (e.g. Guangzhou)
destination string (required) - Destination hub (e.g. Lagos)
weight number (required) - Gross weight in kg

Code Example

curl -X POST https://sandbox-api.anlogix.com/v1/rates \
  -H "Authorization: Bearer sk_test_your_key" \
  -d '{ "origin": "Guangzhou", "destination": "Lagos", "weight": 10 }'

API Keys Developer Console

Manage developer credentials and token tokens for sandbox environments.

Test API Keys

Sandbox Mode

Use this key to authenticate requests in the sandbox environment.

sk_test_51Nb2anlogixSecretKey9928374

Webhook Simulator

Test how your server receives event payloads (like status updates) from ANLOGIX.

Simulate Shipment Event

System Status Page

Real-time status tracking for all ANLOGIX API components.

Shipment Booking API Operational
Waybill Generation API Operational
Tracking Journey API Operational
Sourcing Rates API Operational
Webhooks Dispatcher Operational