Developer Documentation

Comprehensive API reference, SDKs, and integration guides for building custom logistics applications on the Ibero.pro platform.

API Overview

REST API

OpenAPI 3.0 specification with JSON payloads. All endpoints require OAuth 2.0 authentication or API key for service accounts.

  • Base URL: https://api.ibero.pro/v1
  • Authentication: OAuth 2.0 + PKCE, API keys
  • Content-Type: application/json
  • Rate Limits: Per-tier quotas (see below)

GraphQL API

Schema stitching supports federated queries across shipments, devices, and blockchain verification endpoints.

  • Endpoint: https://api.ibero.pro/graphql
  • Subscriptions: WebSocket-based real-time updates
  • Introspection: Enabled in sandbox environment
  • Pagination: Cursor-based with Relay connections

Rate Limits

TierREST LimitGraphQL LimitWebhook Limit
Core1,000 req/min500 req/min100 events/min
Pro5,000 req/min2,500 req/min500 events/min
SovereignUnlimitedUnlimitedUnlimited

Rate limits use token bucket algorithm. Burst allowance of 2x sustained rate for 30 seconds. HTTP 429 responses include Retry-After header.

Webhooks

Payload Schema

{
  "id": "evt_xxxxxxxxxxxxx",
  "type": "shipment.location_update",
  "created_at": "2024-01-15T10:30:00Z",
  "data": {
    "shipment_id": "shp_xxxxxxxxxxxxx",
    "device_id": "dev_xxxxxxxxxxxxx",
    "latitude": 39.7684,
    "longitude": -86.1581,
    "timestamp": "2024-01-15T10:29:55Z"
  },
  "signature": "sha256=xxxxx"
}

Delivery & Verification

  • Retry Policy: Exponential backoff starting at 1 second, max 10 retries over 24 hours
  • Timeout: 30 second response timeout. Non-2xx responses trigger retry
  • Signature: HMAC-SHA256 signature in X-Ibero-Signature header
  • Verification: Compute HMAC of raw body using webhook secret

Integration Guides

Blockchain Testnet

Test blockchain anchoring functionality on Polygon Mumbai testnet before production deployment. Free test MATIC available via faucet.

Testnet Details

Changelog

v2.4.0 - January 2024

  • Added GraphQL subscription support for real-time shipment tracking
  • New webhook event types: device.battery_low, geofence.entered, temperature.excursion
  • Increased rate limits for Pro tier (5,000 to 10,000 req/min)

v2.3.0 - November 2023

  • Blockchain anchoring now batches hourly instead of daily for Core tier
  • Added Merkle proof verification endpoint
  • Deprecated legacy /v1/devices endpoint (sunset June 2024)

v2.2.0 - September 2023

  • Introduced GraphQL API alongside existing REST endpoints
  • Added Python and Go SDKs
  • Webhook signature verification now uses SHA-256 (SHA-1 deprecated)

Deprecation Policy: API versions supported for minimum 12 months after deprecation announcement. Breaking changes only introduced in major version releases.

Need integration support?

Our developer relations team can assist with custom integration requirements and provide architecture guidance.

Contact Developer Team