Learn

API Reference

Build integrations with the TwinEdge REST and WebSocket APIs. Over 150 endpoints for complete platform automation.

JWT Bearer Auth

OAuth2 + API keys supported

Base URL

api.twinedgeai.com/v1

Rate Limits

1,000 req/min (Pro), 10,000 (Enterprise)

API Categories

Fleet Management

Tenants, organizations, devices, and edge hub provisioning.

28 endpoints

Asset Registry

Equipment CRUD, hierarchy nodes, physics models, and sensor mappings.

34 endpoints

Telemetry

Real-time sensor data, time-series queries, aggregations, and WebSocket streams.

16 endpoints

Work Orders

Operations work orders, preventive schedules, parts inventory, and labor tracking.

22 endpoints

GIS / Spatial

Asset geometries, spatial queries, layers, geofences, and map configurations.

42 endpoints

Authentication

JWT tokens, OAuth2, role-based access, tenant resolution, and API keys.

10 endpoints

Quick Examples

cURL

curl -X GET "https://api.twinedgeai.com/v1/assets" \
  -H "Authorization: Bearer <YOUR_TOKEN>" \
  -H "Content-Type: application/json"

Python

import requests

headers = {"Authorization": "Bearer <YOUR_TOKEN>"}
response = requests.get(
    "https://api.twinedgeai.com/v1/assets",
    headers=headers
)
assets = response.json()

Ready to Integrate?

Explore the full interactive API documentation or get a sandbox API key to start building.