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. And underneath, our own software: we built and operate the platform, with more than a decade in production.
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.67