Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

SettingsUpdates Resource


(warning)

Warning

This resource is currently in Public Beta . Some features are not yet implemented and others may be changed before being declared as Generally Available. Beta products are not covered by a Twilio SLA . Learn more about beta product support(link takes you to an external page).

A SettingsUpdate instance represents a single update to the configuration of a single physical SIM or eSIM profile. Settings updates are either applied at the time of manufacturing or via over-the-air updates. Updates to the SIM may include modifying the standard elementary files (EFs) found on all SIMs or resources specific to Super SIM, such as the multi-IMSI applet, that may impact how a SIM behaves.

Pending over-the-air updates that are waiting to for the corresponding SIM to connect, download, and install the update can be read using this resource.

This resource can be found at the following URL:


_10
https://supersim.twilio.com/v1/SettingsUpdates


SettingsUpdate Properties

settingsupdate-properties page anchor
Resource properties
sidtype: SID<OB>Not PII

The unique identifier of this Settings Update.


iccidtype: stringNot PII

The ICCID(link takes you to an external page) associated with the SIM.


sim_sidtype: SID<HS>Not PII

The SID of the Super SIM to which this Settings Update was applied.


statustype: enum<STRING>Not PII

The Status of this Settings Update. One of scheduled, in-progress, successful or failed.

Possible values:
scheduledin-progresssuccessfulfailed

packagestype: arrayNot PII

Array containing the different Settings Packages that will be applied to the SIM after the update completes. Each object within the array indicates the name and the version of the Settings Package that will be on the SIM if the update is successful.


date_completedtype: string<DATE TIME>Not PII

The time, given in ISO 8601(link takes you to an external page) format, when the update successfully completed and the new settings were applied to the SIM.


date_createdtype: string<DATE TIME>Not PII

The date that this Settings Update was created, given in ISO 8601(link takes you to an external page) format.


date_updatedtype: string<DATE TIME>Not PII

The date that this Settings Update was updated, given in ISO 8601(link takes you to an external page) format.


The table below describes the available status values of a SettingsUpdate instance:

StatusDescription
scheduledThe update is waiting for the SIM and has not started.
in-progressThe update is in progress but may require multiple update stages to complete.
successfulThe update is complete and the settings described in the packages array are what is now being used by the SIM.
failedThe update did not complete all stages successfully and the update is no longer being retried.

An update may add, remove, or update one or more settings packages. Each settings package represents a collection of configuration values that are set on the SIM that influence how it behaves. Some settings packages may override others. For example, all SIMs will have a base-settings package which represents the default settings used by all SIMs. If an additional settings package is loaded onto a SIM, the subset of settings controlled by package will override those set by the base-settings package.

nameThe string identifier of the settings package.
versionThe version of the settings package. SIMs using the same version of a settings package should behave identically. When a change is made to a settings package that alters the behavior, the version of the settings package will be incremented. When comparing two versions of a settings package, a higher version indicates a newer version. The value will be a string. Example: "1.0.0".
more_infoURL of the dedicated docs page for the settings package. Will be null if there is no additional public documentation for the settings package.

Read a list of SettingsUpdates

read-a-list-of-settingsupdates page anchor
GET https://supersim.twilio.com/v1/SettingsUpdates

Parameters

list-parameters page anchor
URI parameters
Simtype: stringNot PII
Query Parameter

Filter the Settings Updates by a Super SIM's SID or UniqueName.


Statustype: enum<STRING>Not PII
Query Parameter

Filter the Settings Updates by status. Can be scheduled, in-progress, successful, or failed.

Possible values:
scheduledin-progresssuccessfulfailed

PageSizetype: integerNot PII
Query Parameter

How many resources to return in each list page. The default is 50, and the maximum is 1000.


Pagetype: integerNot PII
Query Parameter

The page index. This value is simply for client state.


PageTokentype: stringNot PII
Query Parameter

The page token. This is provided by the API.

Read a list of SettingsUpdates

read-a-list-of-settingsupdates-1 page anchor
Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_10
// Download the helper library from https://www.twilio.com/docs/node/install
_10
// Find your Account SID and Auth Token at twilio.com/console
_10
// and set the environment variables. See http://twil.io/secure
_10
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10
const authToken = process.env.TWILIO_AUTH_TOKEN;
_10
const client = require('twilio')(accountSid, authToken);
_10
_10
client.supersim.v1.settingsUpdates
_10
.list({limit: 20})
_10
.then(settingsUpdates => settingsUpdates.forEach(s => console.log(s.sid)));

Output

_29
{
_29
"settings_updates": [
_29
{
_29
"sid": "OBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_29
"iccid": "89883070000123456789",
_29
"sim_sid": "HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_29
"status": "scheduled",
_29
"packages": [
_29
{
_29
"name": "base-settings",
_29
"version": "1.0.0",
_29
"more_info": "https://twilio.com/docs/iot/supersim/settings-packages/base-settings"
_29
}
_29
],
_29
"date_completed": null,
_29
"date_created": "2015-07-30T20:00:00Z",
_29
"date_updated": "2015-07-30T20:00:00Z"
_29
}
_29
],
_29
"meta": {
_29
"page": 0,
_29
"page_size": 50,
_29
"first_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Status=scheduled&Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=0",
_29
"previous_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Status=scheduled&Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=0",
_29
"url": "https://supersim.twilio.com/v1/SettingsUpdates?Status=scheduled&Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=0",
_29
"next_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Status=scheduled&Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=1",
_29
"key": "settings_updates"
_29
}
_29
}

Read a list of SettingsUpdates for a single SIM

read-a-list-of-settingsupdates-for-a-single-sim page anchor
Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_10
// Download the helper library from https://www.twilio.com/docs/node/install
_10
// Find your Account SID and Auth Token at twilio.com/console
_10
// and set the environment variables. See http://twil.io/secure
_10
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10
const authToken = process.env.TWILIO_AUTH_TOKEN;
_10
const client = require('twilio')(accountSid, authToken);
_10
_10
client.supersim.v1.settingsUpdates
_10
.list({sim: 'HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', limit: 20})
_10
.then(settingsUpdates => settingsUpdates.forEach(s => console.log(s.sid)));

Output

_29
{
_29
"settings_updates": [
_29
{
_29
"sid": "OBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_29
"iccid": "89883070000123456789",
_29
"sim_sid": "HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_29
"status": "successful",
_29
"packages": [
_29
{
_29
"name": "base-settings",
_29
"version": "1.0.0",
_29
"more_info": "https://twilio.com/docs/iot/supersim/settings-packages/base-settings"
_29
}
_29
],
_29
"date_completed": "2015-07-30T20:00:00Z",
_29
"date_created": "2015-07-30T20:00:00Z",
_29
"date_updated": "2015-07-30T20:00:00Z"
_29
}
_29
],
_29
"meta": {
_29
"page": 0,
_29
"page_size": 50,
_29
"first_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=0",
_29
"previous_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=0",
_29
"url": "https://supersim.twilio.com/v1/SettingsUpdates?Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=0",
_29
"next_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=1",
_29
"key": "settings_updates"
_29
}
_29
}

Read a list of Pending SettingsUpdates

read-a-list-of-pending-settingsupdates page anchor

Can be used to identify SIMs with pending SettingsUpdates

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_10
// Download the helper library from https://www.twilio.com/docs/node/install
_10
// Find your Account SID and Auth Token at twilio.com/console
_10
// and set the environment variables. See http://twil.io/secure
_10
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_10
const authToken = process.env.TWILIO_AUTH_TOKEN;
_10
const client = require('twilio')(accountSid, authToken);
_10
_10
client.supersim.v1.settingsUpdates
_10
.list({status: 'scheduled', limit: 20})
_10
.then(settingsUpdates => settingsUpdates.forEach(s => console.log(s.status)));

Output

_29
{
_29
"settings_updates": [
_29
{
_29
"sid": "OBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_29
"iccid": "89883070000123456789",
_29
"sim_sid": "HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_29
"status": "scheduled",
_29
"packages": [
_29
{
_29
"name": "base-settings",
_29
"version": "1.0.0",
_29
"more_info": "https://twilio.com/docs/iot/supersim/settings-packages/base-settings"
_29
}
_29
],
_29
"date_completed": null,
_29
"date_created": "2015-07-30T20:00:00Z",
_29
"date_updated": "2015-07-30T20:00:00Z"
_29
}
_29
],
_29
"meta": {
_29
"page": 0,
_29
"page_size": 50,
_29
"first_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Status=scheduled&PageSize=50&Page=0",
_29
"previous_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Status=scheduled&PageSize=50&Page=0",
_29
"url": "https://supersim.twilio.com/v1/SettingsUpdates?Status=scheduled&PageSize=50&Page=0",
_29
"next_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Status=scheduled&PageSize=50&Page=1",
_29
"key": "settings_updates"
_29
}
_29
}


Determine a SIM's Current Settings

determine-a-sims-current-settings page anchor

You can determine what Settings Packages and their respective versions that are currently installed on a SIM by looking at a SIM's most recent successful Settings Update. Records are returned in in reverse chronological order with the most recent Settings Update returned first. Use the SIM's SID or Unique Name and the successful status as filters and the look at the first record. The Settings Packages listed in the record's settings_packages are what your SIM is currently using.

Read the current settings on a SIM

read-the-current-settings-on-a-sim page anchor

The most recent successful update shows the Settings Packages currently installed on the SIM. This will be the first record.

Node.js
Python
C#
Java
Go
PHP
Ruby
twilio-cli
curl

_14
// Download the helper library from https://www.twilio.com/docs/node/install
_14
// Find your Account SID and Auth Token at twilio.com/console
_14
// and set the environment variables. See http://twil.io/secure
_14
const accountSid = process.env.TWILIO_ACCOUNT_SID;
_14
const authToken = process.env.TWILIO_AUTH_TOKEN;
_14
const client = require('twilio')(accountSid, authToken);
_14
_14
client.supersim.v1.settingsUpdates
_14
.list({
_14
status: 'successful',
_14
sim: 'HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
_14
limit: 20
_14
})
_14
.then(settingsUpdates => settingsUpdates.forEach(s => console.log(s.status)));

Output

_29
{
_29
"settings_updates": [
_29
{
_29
"sid": "OBXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_29
"iccid": "89883070000123456789",
_29
"sim_sid": "HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_29
"status": "successful",
_29
"packages": [
_29
{
_29
"name": "base-settings",
_29
"version": "1.0.0",
_29
"more_info": "https://twilio.com/docs/iot/supersim/settings-packages/base-settings"
_29
}
_29
],
_29
"date_completed": "2015-07-30T20:00:00Z",
_29
"date_created": "2015-07-30T20:00:00Z",
_29
"date_updated": "2015-07-30T20:00:00Z"
_29
}
_29
],
_29
"meta": {
_29
"page": 0,
_29
"page_size": 50,
_29
"first_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=0",
_29
"previous_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=0",
_29
"url": "https://supersim.twilio.com/v1/SettingsUpdates?Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=0",
_29
"next_page_url": "https://supersim.twilio.com/v1/SettingsUpdates?Sim=HSXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&PageSize=50&Page=1",
_29
"key": "settings_updates"
_29
}
_29
}


Rate this page: