API Reference
Overview & Auth

API Overview & Authentication

The TrackLogy API is a RESTful HTTP API. All requests and responses use JSON. Use it to create and manage shipments, configure notifications, and integrate tracking into your platform.

Base URL

https://api.tracklogy.com

All endpoints are versioned under /v1:

https://api.tracklogy.com/v1/shipments
https://api.tracklogy.com/v1/notifications/settings

Authentication

All API requests must be authenticated using a Bearer token — your workspace API key.

Authorization: Bearer YOUR_API_KEY

Get your API key from Dashboard → Settings → API Keys.

Example

curl https://api.tracklogy.com/v1/shipments \
  -H "Authorization: Bearer YOUR_API_KEY"
⚠️

Requests without a valid Authorization header will return 401 Unauthorized. Never expose your API key in client-side code.

Request Format

  • Method: Standard HTTP verbs (GET, POST, PUT, DELETE)
  • Content-Type: application/json for POST/PUT requests
  • Encoding: UTF-8
curl -X POST https://api.tracklogy.com/v1/shipments \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "tracking_number": "1Z999AA10123456784" }'

Response Format

All responses follow a consistent JSON envelope:

Success:

{
  "success": true,
  "message": "Shipment created",
  "data": {
    "shipment": { ... }
  }
}

Error:

{
  "success": false,
  "error": {
    "code": 422,
    "message": "Tracking number is required"
  },
  "data": {}
}

HTTP Status Codes

CodeMeaning
200Success
201Resource created
400Bad request
401Unauthorized — missing or invalid API key
402Payment required — tracker balance exhausted
403Forbidden — insufficient permissions
404Resource not found
409Conflict — e.g. duplicate tracking number
422Unprocessable entity — validation error
429Too many requests — rate limit exceeded
500Internal server error

Rate Limiting

The API enforces rate limits to ensure fair usage across all workspaces. If you exceed the rate limit, you'll receive a 429 Too Many Requests response.

Retry with exponential backoff after receiving a 429. For higher rate limit needs, contact [email protected].

Pagination

List endpoints support pagination via query parameters:

ParameterDefaultMaxDescription
page1—Page number
per_page25100Results per page

Paginated responses include:

{
  "success": true,
  "data": {
    "items": [ ... ],
    "total": 142,
    "page": 1,
    "per_page": 25,
    "total_pages": 6
  }
}

Available Endpoints

MethodPathDescription
GET/v1/shipmentsList all shipments
POST/v1/shipmentsCreate a shipment
GET/v1/shipments/showGet a single shipment by ID
PUT/v1/shipments/updateUpdate a shipment
DELETE/v1/shipments/deleteDelete a shipment
GET/v1/shipments/eventsGet tracking events for a shipment
POST/v1/shipments/retryRetry registration for a shipment
GET/v1/notifications/settingsGet notification settings
PUT/v1/notifications/settingsUpdate notification settings
GET/v1/billingGet billing info and plans
GET/v1/api-keysGet your API key info