List SIMs
curl --request GET \
--url https://api.spenza.com/api/v1.1/sims \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.spenza.com/api/v1.1/sims"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.spenza.com/api/v1.1/sims', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.spenza.com/api/v1.1/sims",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.spenza.com/api/v1.1/sims"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.spenza.com/api/v1.1/sims")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spenza.com/api/v1.1/sims")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"iccid": "8901260853182965429",
"phoneNumber": "+12792044584",
"status": "ACTIVE",
"assignedStatus": "ASSIGNED",
"isEsim": false,
"operator": "AT&T",
"network": "AT&T",
"operatorStatus": "ACTIVATED",
"assignedTo": {
"email": "jane@example.com",
"name": "Jane Doe"
},
"device": {
"imei": "356938035643809",
"model": "iPhone 14"
},
"group": "Sales Team",
"createdAt": "2026-06-01T10:00:00.000Z"
}
],
"meta": {
"page": 1,
"pageSize": 25,
"total": 240,
"totalPages": 10
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "One or more fields failed validation.",
"details": {
"validationErrors": [
"assignedTo must be an email",
"status must be a valid enum value"
]
}
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Missing or invalid token."
}
}SIMs
List SIMs
List the SIMs on your account, paginated, with live status and assignment.
GET
/
api
/
v1.1
/
sims
List SIMs
curl --request GET \
--url https://api.spenza.com/api/v1.1/sims \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.spenza.com/api/v1.1/sims"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.spenza.com/api/v1.1/sims', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.spenza.com/api/v1.1/sims",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.spenza.com/api/v1.1/sims"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.spenza.com/api/v1.1/sims")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spenza.com/api/v1.1/sims")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"iccid": "8901260853182965429",
"phoneNumber": "+12792044584",
"status": "ACTIVE",
"assignedStatus": "ASSIGNED",
"isEsim": false,
"operator": "AT&T",
"network": "AT&T",
"operatorStatus": "ACTIVATED",
"assignedTo": {
"email": "jane@example.com",
"name": "Jane Doe"
},
"device": {
"imei": "356938035643809",
"model": "iPhone 14"
},
"group": "Sales Team",
"createdAt": "2026-06-01T10:00:00.000Z"
}
],
"meta": {
"page": 1,
"pageSize": 25,
"total": 240,
"totalPages": 10
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "One or more fields failed validation.",
"details": {
"validationErrors": [
"assignedTo must be an email",
"status must be a valid enum value"
]
}
}
}{
"success": false,
"error": {
"code": "UNAUTHORIZED",
"message": "Missing or invalid token."
}
}Authorizations
Bearer token obtained from POST /api/v1.1/auth/token.
Query Parameters
1-indexed page number.
Required range:
x >= 1Items per page.
Required range:
1 <= x <= 100Available options:
ACTIVE, INACTIVE, EXPIRED Available options:
ASSIGNED, UNASSIGNED Filter by assigned user's email.
Free-text match on ICCID, phone number, operator, network, assigned user email, device IMEI/model or group name.
Response
A page of SIMs.
⌘I

