DEVELOPERS
IoT connectivity REST API
Integrate SIM management into your system
REST API to automate the full SIM IoT lifecycle: provisioning, plan changes, usage queries, suspension, network diagnostics and event webhooks. OAuth2 with key rotation. Same source of truth as the portal.
RESTful API
Well-structured endpoints following REST best practices. JSON responses.
Webhooks
Receive real-time notifications of events like connections, consumption and alerts.
Secure authentication
API Keys, OAuth 2.0 and JWT tokens. Granular permission control by scope.
OpenAPI documentation
Complete specification with Swagger UI. Test endpoints directly from the browser.
Flexible rate limits
Limits adapted to your volume. Enterprise options for high demand.
Enterprise security
Mandatory HTTPS, IP whitelisting available and audit logs.
Code example
// Example: Get SIM usage
const response = await fetch(
'https://api.iot.cards/v1/sims/89340123456789012345/usage',
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
}
);
const data = await response.json();
console.log(data.usage_mb); // 245.67Main endpoints
GET/sims
GET/sims/{id}
POST/sims/{id}/activate
POST/sims/{id}/suspend
GET/sims/{id}/usage
PUT/sims/{id}/plan
GET/sims/{id}/sessions
POST/webhooks
REST
Standard API
99.9%
Uptime
<100ms
Avg latency
SDKs
Multiple languages