IOTSP API Reference
Complete API documentation for IoTSP - IoT Service Provider.
Quick Start
Authentication
Choose authentication based on your use case:
User-Connected Apps (De.auth):
http
de-auth-token: YOUR_AUTH_TOKEN
de-user-agent: YOUR_USER_AGENT
de-auth-device: YOUR_DEVICE_IDServer-to-Server / Connectors:
http
Authorization: Bearer <ACCESS_TOKEN>Base URL
https://api.dedot.io/v1/iotspAPI Categories
Topics
10 endpoints available
- POST Register topic -
/v1/iotsp/topics/register - GET Get Topic specs -
/v1/iotsp/topics/:reference - GET Find topic -
/v1/iotsp/topics/find?query=test - GET Fetch all topics -
/v1/iotsp/topics - PATCH Update topic specs -
/v1/iotsp/topics/:reference
Rules
10 endpoints available
- POST Add a rule -
/v1/iotsp/rules/add - GET Get a rule specs -
/v1/iotsp/rules/:reference - GET Find a rule -
/v1/iotsp/rules/find?query=position - GET Get all rules -
/v1/iotsp/rules?type=REPORT - PATCH Update rule specs -
/v1/iotsp/rules/:reference
Devices
7 endpoints available
- POST Add device -
/v1/iotsp/devices - GET Get device info -
/v1/iotsp/devices/:id - GET Find device -
/v1/iotsp/devices/find?query=862061041674804 - GET Get all devices -
/v1/iotsp/devices - PATCH Update device information -
/v1/iotsp/devices/:id
Response Format
All API responses follow this structure:
typescript
interface APIResponse<T> {
error: boolean;
status: string;
message?: string;
data?: T;
}Success Response
json
{
"error": false,
"status": "SUCCESS",
"data": { ... }
}Error Response
json
{
"error": true,
"status": "ERROR_CODE",
"message": "Human-readable error message"
}Common Error Codes
| Status Code | Description |
|---|---|
SUCCESS | Request completed successfully |
NOT_FOUND | Resource not found (404) |
UNAUTHORIZED | Authentication failed (401) |
FORBIDDEN | Insufficient permissions (403) |
VALIDATION_ERROR | Invalid request data (400) |
INTERNAL_ERROR | Server error (500) |
Rate Limits
Standard Rate Limits:
- 1000 requests per hour
- 100 requests per minute (burst)
Rate limit headers:
http
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1640995200When rate limit is exceeded, you'll receive a 429 Too Many Requests response.
Pagination
List endpoints support pagination:
http
GET /v1/iotsp/resource?page=1&limit=50Response includes pagination metadata:
json
{
"error": false,
"status": "SUCCESS",
"data": [...],
"pagination": {
"page": 1,
"limit": 50,
"total": 237,
"pages": 5
}
}Helpful Resources
Need help? Check our Developer Portal or contact support.

