TelcoAPI Reference¶
Welcome to the TelcoAPI reference documentation. This guide provides comprehensive information about the TelcoAPI REST APIs, including authentication, rate limiting, error handling, and detailed endpoint references.
Core Concepts¶
Authentication¶
TelcoAPI supports two authentication methods:
-
API Key Authentication
-
OAuth 2.0
Rate Limiting¶
Plan | Requests/minute | Daily Limit |
---|---|---|
Basic | 60 | 50,000 |
Pro | 300 | 250,000 |
Enterprise | 1000 | Unlimited |
Rate limit headers included in responses: - X-RateLimit-Limit
: Rate limit ceiling for the current time window - X-RateLimit-Remaining
: Number of requests remaining in the current window - X-RateLimit-Reset
: Time when the rate limit will reset (Unix timestamp)
Error Handling¶
TelcoAPI follows the RFC 7807 specification for error responses:
{
"type": "https://api.telco-sec.com/errors/rate-limit-exceeded",
"title": "Rate Limit Exceeded",
"status": 429,
"detail": "Request quota exceeded. Please wait before retrying.",
"instance": "/sim/inventory"
}
Common HTTP Status Codes: - 200 OK
: Request successful - 201 Created
: Resource created successfully - 400 Bad Request
: Invalid request parameters - 401 Unauthorized
: Invalid or missing authentication - 403 Forbidden
: Valid authentication but insufficient permissions - 404 Not Found
: Resource not found - 429 Too Many Requests
: Rate limit exceeded - 500 Internal Server Error
: Server-side error
Available APIs¶
SIM Management¶
Diameter Protocol¶
SS7 Protocol¶
IPX/GRX¶
SIP Protocol¶
System Management¶
Common Features¶
Pagination¶
Response headers: - X-Total-Count
: Total number of items - Link
: Links for first, prev, next, and last pages
Filtering¶
Sorting¶
Field Selection¶
Webhooks¶
Subscribe to events:
curl -X POST "https://api.telco-sec.com/v1/webhooks" \
-H "X-API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-server.com/webhook",
"events": ["sim.activated", "sim.deactivated"]
}'
SDKs and Libraries¶
Official SDKs are available for: - Python - Node.js - Java - Go - .NET
Support¶
For API support: - Email: api-support@telcoapi.com - Documentation: https://docs.telcoapi.com - Status Page: https://status.telcoapi.com