The connection status and connection history of Soracom SIM cards are available to view in both the Soracom User Console and through the Soracom API.
Method 1: User Console
The easiest way to check the last connection status of a small number of SIMs is to use the Soracom User Console. To do so please follow the steps below:
2. Check the box for the SIM you would like to view the details of and select Details.
3. Select the Session Details tab. The most recent cellular session event will be displayed at the top of the list. Please note that the Session Details tab will only show the connection history that has occurred in the last two weeks.
Method 2: API
The Soracom API provides multiple calls that can retrieve the last connected status of a single SIM or multiple SIMs simultaneously. For example:
- For a single SIM - the getSim call can be used to retrieve information for any SIM by ICCID that is associated with your operator account. This includes the lastUpdatedTime field, which will display the UNIX timestamp for the most recent cellular session event for that SIM.
- For multiple SIMs - the listSims call can be used to retrieve the same data as the getSim call for up to 100 SIMs per call.
For further information on API calls that may suit your needs please consult our API Documentation.