Developer & API Terms
Operational guidelines and usage terms for production and sandbox traffic hitting https://global.nbsim.com/v1.
1. Transport & Credential Hygiene
All API v1 requests must use HTTPS (TLS 1.2 or higher) with a provisioned API key pair (SK_live_* for production, SK_test_* for sandbox) supplied via HTTP Basic Auth or Bearer token. Never embed SK_live_* secrets in browser bundles, mobile apps, or field device firmware. Upstream carrier signing keys remain strictly server-side and are never shared with clients.
2. Batch Limits, Timeouts & Idempotency
- Batch endpoints (
POST /v1/Sims/BatchandPOST /v1/UsageRecords/Batch) accept up to 100csidor carrierICCIDidentifiers per request, with a maximum JSON body size of 256 KB. - Cross-month usage queries support up to 24 calendar months in a single request. Configure HTTP client timeouts to at least 30 seconds (or 60 seconds for multi-month fleet queries).
- Always attach a unique
Idempotency-Keyheader (e.g., UUID v4) when invokingPOST /v1/Sims/{csid}/OperatorSwitchesso transient network retries never submit duplicate carrier switch commands.
3. Carrier Operations & Regional Scope
3in1 SIM profiles map to mainland China mobile network operators (CMCC, CUCC, and CTCC). Operator switch commands instruct the SIM to detach and re-attach to the target network, which may briefly interrupt active cellular sessions and is rate-limited upstream (recommended minimum interval: 3 minutes per SIM). Poll GET /v1/Sims/{csid}/OperatorSwitches/{sid}?refresh=true or GET /v1/Sims/{csid}/Connectivity to confirm attachment.