import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.simCards.getDeviceDetails('6a09cdc3-8948-47f0-aa62-74ac943d6c58');
console.log(response.data);{
"data": {
"record_type": "device_details",
"imei": "457032284023794",
"model_name": "iPad Pro 11 2020 Cellular",
"brand_name": "Apple",
"device_type": "Tablet",
"operating_system": "iOS 12"
}
}It returns the device details where a SIM card is currently being used.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.simCards.getDeviceDetails('6a09cdc3-8948-47f0-aa62-74ac943d6c58');
console.log(response.data);{
"data": {
"record_type": "device_details",
"imei": "457032284023794",
"model_name": "iPad Pro 11 2020 Cellular",
"brand_name": "Apple",
"device_type": "Tablet",
"operating_system": "iOS 12"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Identifies the SIM.
"6a09cdc3-8948-47f0-aa62-74ac943d6c58"
Successful response
Show child attributes
"device_details"
IMEI of the device where the SIM card is being used in.
"457032284023794"
Brand of the device where the SIM card is being used in.
"iPad Pro 11 2020 Cellular"
Brand of the device where the SIM card is being used in.
"Apple"
Type of the device where the SIM card is being used in.
"Tablet"
Operating system of the device where the SIM card is being used in.
"iOS 12"
Was this page helpful?