If you've used the Hologram REST API in the past you have likely noticed the state  parameter. This is used to indicate the state of the SIM with regards to the network.

Below are the values possible for the state parameter in our REST API. 

INACTIVE This one is implicit as looking up a SIM that has not been activated would return an empty JSON object
LIVE This state indicates that your SIM is able to connect to the network
PAUSED-USER This state indicates that your SIM is in a user set pause.
PAUSED-SYS This state indicates that your SIM is in a system set pause.
TEST-HIBERNATE This state indicates that your SIM is in the Test Hibernate Preflight mode
TEST-AUTOACTIVATE This state indicates that your SIM is in the Auto-Activate Preflight mode
TEST-ACTIVATE This state indicates that your SIM is in the Test Activate Preflight mode
DEAD This state indicates that your SIM has been permanently deleted

Pending states are transitional states that indicate which state a SIM is transitioning to. They are:
LIVE-PENDING
PAUSED-PENDING-SYS
TEST-HIBERNATE-PENDING
TEST-AUTOACTIVATE-PENDING
DEAD-PENDING

One thing to point out is that there is no connected state like one can see in the Hologram Dashboard. This is because that information is derived from the lastsession's active parameter.

Did this answer your question?