SIMs
A SIM is a unique card that identifies itself to a specific mobile network and provides voice, text, and data connectivity to a user’s device. There are two types of available SIMs: eSIM and pSIM. eSIMs can be activated and installed instantly on any eSIM compatible device, pSIMs (physical SIMs) must be provided to the user or installed into the device beforehand.
Properties
- Name
- object
- Type
- string
- Description
Type of object is always
sim.Allowed values:sim
- Name
- id
- Type
- string
- Description
Unique identifier for the SIM.
Example:"sim_0SNlurA049MEWV1BAAmWZULA4lf6"
- Name
- createdAt
- Type
- string
- Description
Time when the SIM was created.
Example:"2021-01-21T19:38:34Z"
- Name
- iccid
- Type
- string
- Description
The ICCID (integrated circuit card identifier) associated with the SIM.
Example:"89883070000007537119"
- Name
- provider
- Type
- string
- Description
The ID of the network provider of the SIM.
Example:"p9"
- Name
- status
- Type
- string
- Description
The status of the SIM. Can be
activeorinactive.Allowed values:inactiveactiveretired
- Name
- suspension
- Type
- nullable object
- Status
- PREVIEW
- Description
- The suspension of the SIM. A suspended SIM has no voice, SMS or data.
nullwhen the SIM is not suspended.Example:null- Name
- status
- Type
- string
- Description
The status of the suspension. It can have one of the following values:
suspending: The suspension was requested and the network provider has not confirmed it yet.suspended: The network provider confirmed the suspension.unsuspending: A request to unsuspend the SIM was made and the network provider has not confirmed it yet. The SIM still has no service.
Example:"suspended"Allowed values:suspendedsuspendingunsuspending
- Name
- updatedAt
- Type
- string
- Description
Time of the last transition of the suspension.
Example:"2026-09-24T10:00:00Z"
- Name
- type
- Type
- string
- Description
The type of the SIM. Can be
eSIMorpSIM.Allowed values:eSIMpSIM
Sim object
{
"object": "sim",
"id": "sim_0SNlurA049MEWV1BAAmWZULA4lf6",
"metadata": {},
"createdAt": "2021-01-21T19:38:34.0Z",
"iccid": "89883070000007537119",
"provider": "p9",
"status": "inactive",
"suspension": null,
"type": "eSIM"
}
Retrieve an eSIM profile
Retrieves the details of an existing eSIM profile for a given SIM.
A 404 response will be returned if the SIM does not exist, or is a pSIM.
Note that for providers other than p3, p14 or p15 the status of
the profile will currently always be unknown.
Related guide: eSIM profile lifecycle
Path Parameters
Responses
Returns the eSimProfile if it exists.
- Name
- object
- Type
- string
- Description
Type of object is always
eSimProfile.Allowed values:eSimProfile
- Name
- sim
- Type
- Sim
- Description
- A SIM is a unique card that identifies itself to a specific mobile network and provides voice, text, and data connectivity to a user’s device. There are two types of available SIMs: eSIM and pSIM. eSIMs can be activated and installed instantly on any eSIM compatible device, pSIMs (physical SIMs) must be provided to the user or installed into the device beforehand.
- Name
- status
- Type
- string
- Description
The current status of the eSimProfile.
Supported providers are
p3,p11,p12,p14,p15,p18andp32.This will be
unknownwhen:- the SIM's provider is not supported; or
- no lifecycle status has been received for the given SIM.
Related guide: eSIM profile lifecycle
Allowed values:deleteddisableddownloadedenabledinstalledunknown
- Name
- updatedAt
- Type
- string
- Description
Time at which the eSIM profile was last updated.
Example:"2024-03-13T15:36:01Z"
Request
curl https://api.gigs.com/projects/${GIGS_PROJECT}/sims/{sim}/eSimProfile \
-X GET \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${GIGS_TOKEN}" \
-H "Accept: application/json"
Responses 200
{
"object": "eSimProfile",
"sim": {
"object": "sim",
"id": "sim_0SNlurA049MEWV1BAAmWZULA4lf6",
"metadata": {},
"createdAt": "2021-01-21T19:38:34Z",
"iccid": "89883070000007537119",
"provider": "p9",
"status": "inactive",
"suspension": null,
"type": "eSIM"
},
"status": "deleted",
"updatedAt": "2024-03-13T15:36:01Z"
}
List all SIMs
Returns a list of SIMs. The SIMs returned are sorted by creation date, with the most recently created SIMs appearing first.
Path Parameters
Query Parameters
- Name
- provider
- Type
- array
- Description
The network provider ID for the sim to be filtered by.
- Name
- status
- Type
- array
- Description
A comma-separated list of statuses to filter the sims by.
Default:inactive,active
- Name
- type
- Type
- string
- Description
The type for the sim to be filtered by.
Allowed values:eSIMpSIM
- Name
- user
- Type
- string
- Description
The unique identifier for the user to be filtered by.
Example:"usr_0SNlurA049MEWV4OpCwsNyC9Kn2d"
- Name
- after
- Type
- string
- Description
A cursor for use in pagination. The
afterparameter takes an object ID that defines the position in the list, only items immediately following the item with that ID will be returned.
- Name
- before
- Type
- string
- Description
A cursor for use in pagination. The
beforeparameter takes an object ID that defines the position in the list, only items immediately preceding the item with that ID will be returned.
- Name
- limit
- Type
- integer
- Description
The limit of items to be returned in the list, between 0 and 200.
Example:20Default:10>= 0<= 200
Responses
Returns a dictionary with an items property that contains an array of SIMs.
- Name
- object
- Type
- string
- Description
Type of object is always
list.Allowed values:list
- Name
- items
- Type
- array
- Description
- List of objects of type
sim.
- Name
- moreItemsAfter
- Type
- nullable string
- Description
A unique identifier to be used as
afterpagination parameter if more items are available sorted after the current batch of items.
- Name
- moreItemsBefore
- Type
- nullable string
- Description
A unique identifier to be used as
beforepagination parameter if more items are available sorted before the current batch of items.
Request
curl https://api.gigs.com/projects/${GIGS_PROJECT}/sims \
-X GET \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${GIGS_TOKEN}" \
-H "Accept: application/json"
Responses 200
{
"object": "list",
"items": [
{
"object": "sim",
"id": "sim_0SNlurA049MEWV1BAAmWZULA4lf6",
"metadata": {},
"createdAt": "2021-01-21T19:38:34Z",
"iccid": "89883070000007537119",
"provider": "p9",
"status": "inactive",
"suspension": null,
"type": "eSIM"
}
],
"moreItemsAfter": null,
"moreItemsBefore": null
}
Retrieve a SIM
Retrieve the details of an existing SIM which the authenticated user is authorized to view.
Path Parameters
Responses
Returns the SIM if it exists.
- Name
- object
- Type
- string
- Description
Type of object is always
sim.Allowed values:sim
- Name
- id
- Type
- string
- Description
Unique identifier for the SIM.
Example:"sim_0SNlurA049MEWV1BAAmWZULA4lf6"
- Name
- createdAt
- Type
- string
- Description
Time when the SIM was created.
Example:"2021-01-21T19:38:34Z"
- Name
- iccid
- Type
- string
- Description
The ICCID (integrated circuit card identifier) associated with the SIM.
Example:"89883070000007537119"
- Name
- provider
- Type
- string
- Description
The ID of the network provider of the SIM.
Example:"p9"
- Name
- status
- Type
- string
- Description
The status of the SIM. Can be
activeorinactive.Allowed values:inactiveactiveretired
- Name
- suspension
- Type
- nullable object
- Status
- PREVIEW
- Description
- The suspension of the SIM. A suspended SIM has no voice, SMS or data.
nullwhen the SIM is not suspended.Example:null- Name
- status
- Type
- string
- Description
The status of the suspension. It can have one of the following values:
suspending: The suspension was requested and the network provider has not confirmed it yet.suspended: The network provider confirmed the suspension.unsuspending: A request to unsuspend the SIM was made and the network provider has not confirmed it yet. The SIM still has no service.
Example:"suspended"Allowed values:suspendedsuspendingunsuspending
- Name
- updatedAt
- Type
- string
- Description
Time of the last transition of the suspension.
Example:"2026-09-24T10:00:00Z"
- Name
- type
- Type
- string
- Description
The type of the SIM. Can be
eSIMorpSIM.Allowed values:eSIMpSIM
Request
curl https://api.gigs.com/projects/${GIGS_PROJECT}/sims/{sim} \
-X GET \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${GIGS_TOKEN}" \
-H "Accept: application/json"
Response 200
{
"object": "sim",
"id": "sim_0SNlurA049MEWV1BAAmWZULA4lf6",
"metadata": {},
"createdAt": "2021-01-21T19:38:34Z",
"iccid": "89883070000007537119",
"provider": "p9",
"status": "inactive",
"suspension": null,
"type": "eSIM"
}
Update a SIM
Update the details of an existing SIM.
Body
Path Parameters
Responses
Returns the updates SIM.
- Name
- object
- Type
- string
- Description
Type of object is always
sim.Allowed values:sim
- Name
- id
- Type
- string
- Description
Unique identifier for the SIM.
Example:"sim_0SNlurA049MEWV1BAAmWZULA4lf6"
- Name
- createdAt
- Type
- string
- Description
Time when the SIM was created.
Example:"2021-01-21T19:38:34Z"
- Name
- iccid
- Type
- string
- Description
The ICCID (integrated circuit card identifier) associated with the SIM.
Example:"89883070000007537119"
- Name
- provider
- Type
- string
- Description
The ID of the network provider of the SIM.
Example:"p9"
- Name
- status
- Type
- string
- Description
The status of the SIM. Can be
activeorinactive.Allowed values:inactiveactiveretired
- Name
- suspension
- Type
- nullable object
- Status
- PREVIEW
- Description
- The suspension of the SIM. A suspended SIM has no voice, SMS or data.
nullwhen the SIM is not suspended.Example:null- Name
- status
- Type
- string
- Description
The status of the suspension. It can have one of the following values:
suspending: The suspension was requested and the network provider has not confirmed it yet.suspended: The network provider confirmed the suspension.unsuspending: A request to unsuspend the SIM was made and the network provider has not confirmed it yet. The SIM still has no service.
Example:"suspended"Allowed values:suspendedsuspendingunsuspending
- Name
- updatedAt
- Type
- string
- Description
Time of the last transition of the suspension.
Example:"2026-09-24T10:00:00Z"
- Name
- type
- Type
- string
- Description
The type of the SIM. Can be
eSIMorpSIM.Allowed values:eSIMpSIM
Request
curl https://api.gigs.com/projects/${GIGS_PROJECT}/sims/{sim} \
-X PATCH \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${GIGS_TOKEN}" \
-H "Accept: application/json" \
-d '{
"metadata": {}
}'
Response 200
{
"object": "sim",
"id": "sim_0SNlurA049MEWV1BAAmWZULA4lf6",
"metadata": {},
"createdAt": "2021-01-21T19:38:34Z",
"iccid": "89883070000007537119",
"provider": "p9",
"status": "inactive",
"suspension": null,
"type": "eSIM"
}
Retrieve the SIM credentials
Retrieve the credentials of an existing SIM.
Path Parameters
Responses
Returns the SIM credentials.
- Name
- object
- Type
- string
- Description
Type of object is always
simCredentials.Allowed values:simCredentials
- Name
- activationCode
- Type
- nullable string
- Description
eSIM activation code to download and install the profile in a device. Only available for type
eSIM.Example:"LPA:1$smdp.gigs.com$2M-3L0MX-F8HE2"
- Name
- androidInstallUrl
- Type
- nullable string
- Description
URL to install the eSIM profile on Android devices. Only available for type
eSIM.Be careful how you share this URL, it contains the credentials required to install the eSIM profile.
Example:"https://esimsetup.android.com/esim_qrcode_provisioning?carddata=LPA:1$smdp.gigs.com$2M-3L0MX-F8HE2"
- Name
- iosInstallUrl
- Type
- nullable string
- Description
URL to install the eSIM profile on iOS devices. Only available for type
eSIM.Be careful how you share this URL, it contains the credentials required to install the eSIM profile.
Example:"https://esimsetup.apple.com/esim_qrcode_provisioning?carddata=LPA:1$smdp.gigs.com$2M-3L0MX-F8HE2"
- Name
- puk1
- Type
- nullable string
- Description
The first PUK code for the SIM. Not available for all network providers.
Example:"12345678"
- Name
- puk2
- Type
- nullable string
- Description
The second PUK code for the SIM. Not available for all network providers.
Example:"12345678"
- Name
- qrCodeUrl
- Type
- nullable string
- Description
URL of the activation code in QR-Code format. Only available for type
eSIM.Be careful how you share this URL, it can be accessed publicly without authentication.
Example:"https://files.gigs.com/qrcode/example/pUNIvfeLBNQ.png"
- Name
- sim
- Type
- string
- Description
Unique identifier for the SIM this credentials are for.
Example:"sim_0SNlurA049MEWV1BAAmWZULA4lf6"
Request
curl https://api.gigs.com/projects/${GIGS_PROJECT}/sims/{sim}/credentials \
-X GET \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${GIGS_TOKEN}" \
-H "Accept: application/json"
Response 200
{
"object": "simCredentials",
"activationCode": "LPA:1$smdp.gigs.com$2M-3L0MX-F8HE2",
"androidInstallUrl": "https://esimsetup.android.com/esim_qrcode_provisioning?carddata=LPA:1$smdp.gigs.com$2M-3L0MX-F8HE2",
"iosInstallUrl": "https://esimsetup.apple.com/esim_qrcode_provisioning?carddata=LPA:1$smdp.gigs.com$2M-3L0MX-F8HE2",
"puk1": "12345678",
"puk2": "12345678",
"qrCodeUrl": "https://files.gigs.com/qrcode/example/pUNIvfeLBNQ.png",
"sim": "sim_0SNlurA049MEWV1BAAmWZULA4lf6"
}
Search for SIMs
Searches for existing SIMs matching the given parameters.
Body
Path Parameters
Responses
Returns a list schema response with all found SIMs.
- Name
- object
- Type
- string
- Description
Type of object is always
list.Allowed values:list
- Name
- items
- Type
- array
- Description
- List of objects of type
sim.
- Name
- moreItemsAfter
- Type
- nullable string
- Description
A unique identifier to be used as
afterpagination parameter if more items are available sorted after the current batch of items.
- Name
- moreItemsBefore
- Type
- nullable string
- Description
A unique identifier to be used as
beforepagination parameter if more items are available sorted before the current batch of items.
Request
curl https://api.gigs.com/projects/${GIGS_PROJECT}/sims/search \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${GIGS_TOKEN}" \
-H "Accept: application/json" \
-d '{
"iccid": "89883070000007537119",
"type": [
"eSIM"
]
}'
Responses 200
{
"object": "list",
"items": [
{
"object": "sim",
"id": "sim_0SNlurA049MEWV1BAAmWZULA4lf6",
"metadata": {},
"createdAt": "2021-01-21T19:38:34Z",
"iccid": "89883070000007537119",
"provider": "p9",
"status": "inactive",
"suspension": null,
"type": "eSIM"
}
],
"moreItemsAfter": null,
"moreItemsBefore": null
}
Suspend a SIM
Suspends all connectivity of the SIM, blocking voice, SMS and data, for example when the device is lost or stolen. The subscription, the phone number and billing are not affected.
If the SIM is still suspended 30 days after the suspension took effect, its subscription ends. Unsuspending the SIM before then cancels the end.
The returned SIM includes a suspension object with status: suspending. The status changes to suspended once the network provider confirms the suspension.
Preview
This endpoint is currently in preview and might change in the future.
We’re excited to hear your feedback and ideas. Please send an email to support@gigs.com to share your thoughts.
Path Parameters
Responses
Returns the SIM with the requested suspension.
- Name
- object
- Type
- string
- Description
Type of object is always
sim.Allowed values:sim
- Name
- id
- Type
- string
- Description
Unique identifier for the SIM.
Example:"sim_0SNlurA049MEWV1BAAmWZULA4lf6"
- Name
- createdAt
- Type
- string
- Description
Time when the SIM was created.
Example:"2021-01-21T19:38:34Z"
- Name
- iccid
- Type
- string
- Description
The ICCID (integrated circuit card identifier) associated with the SIM.
Example:"89883070000007537119"
- Name
- provider
- Type
- string
- Description
The ID of the network provider of the SIM.
Example:"p9"
- Name
- status
- Type
- string
- Description
The status of the SIM. Can be
activeorinactive.Allowed values:inactiveactiveretired
- Name
- suspension
- Type
- nullable object
- Status
- PREVIEW
- Description
- The suspension of the SIM. A suspended SIM has no voice, SMS or data.
nullwhen the SIM is not suspended.Example:null- Name
- status
- Type
- string
- Description
The status of the suspension. It can have one of the following values:
suspending: The suspension was requested and the network provider has not confirmed it yet.suspended: The network provider confirmed the suspension.unsuspending: A request to unsuspend the SIM was made and the network provider has not confirmed it yet. The SIM still has no service.
Example:"suspended"Allowed values:suspendedsuspendingunsuspending
- Name
- updatedAt
- Type
- string
- Description
Time of the last transition of the suspension.
Example:"2026-09-24T10:00:00Z"
- Name
- type
- Type
- string
- Description
The type of the SIM. Can be
eSIMorpSIM.Allowed values:eSIMpSIM
Request
curl https://api.gigs.com/projects/${GIGS_PROJECT}/sims/{sim}/suspend \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${GIGS_TOKEN}" \
-H "Accept: application/json"
Response 200
{
"object": "sim",
"id": "sim_0SNlurA049MEWV1BAAmWZULA4lf6",
"metadata": {},
"createdAt": "2021-01-21T19:38:34Z",
"iccid": "89883070000007537119",
"provider": "p9",
"status": "inactive",
"suspension": {
"status": "suspending",
"updatedAt": "2026-09-24T10:00:00Z"
},
"type": "eSIM"
}
Unsuspend a SIM
Restores the connectivity of a suspended SIM, for example once a lost device is recovered.
The returned SIM includes a suspension object with status: unsuspending. The SIM has no service until the network provider confirms, at which point suspension is cleared.
Preview
This endpoint is currently in preview and might change in the future.
We’re excited to hear your feedback and ideas. Please send an email to support@gigs.com to share your thoughts.
Path Parameters
Responses
Returns the SIM, which stays suspended until the network provider confirms it can proceed to unsuspend.
- Name
- object
- Type
- string
- Description
Type of object is always
sim.Allowed values:sim
- Name
- id
- Type
- string
- Description
Unique identifier for the SIM.
Example:"sim_0SNlurA049MEWV1BAAmWZULA4lf6"
- Name
- createdAt
- Type
- string
- Description
Time when the SIM was created.
Example:"2021-01-21T19:38:34Z"
- Name
- iccid
- Type
- string
- Description
The ICCID (integrated circuit card identifier) associated with the SIM.
Example:"89883070000007537119"
- Name
- provider
- Type
- string
- Description
The ID of the network provider of the SIM.
Example:"p9"
- Name
- status
- Type
- string
- Description
The status of the SIM. Can be
activeorinactive.Allowed values:inactiveactiveretired
- Name
- suspension
- Type
- nullable object
- Status
- PREVIEW
- Description
- The suspension of the SIM. A suspended SIM has no voice, SMS or data.
nullwhen the SIM is not suspended.Example:null- Name
- status
- Type
- string
- Description
The status of the suspension. It can have one of the following values:
suspending: The suspension was requested and the network provider has not confirmed it yet.suspended: The network provider confirmed the suspension.unsuspending: A request to unsuspend the SIM was made and the network provider has not confirmed it yet. The SIM still has no service.
Example:"suspended"Allowed values:suspendedsuspendingunsuspending
- Name
- updatedAt
- Type
- string
- Description
Time of the last transition of the suspension.
Example:"2026-09-24T10:00:00Z"
- Name
- type
- Type
- string
- Description
The type of the SIM. Can be
eSIMorpSIM.Allowed values:eSIMpSIM
Request
curl https://api.gigs.com/projects/${GIGS_PROJECT}/sims/{sim}/unsuspend \
-X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${GIGS_TOKEN}" \
-H "Accept: application/json"
Response 200
{
"object": "sim",
"id": "sim_0SNlurA049MEWV1BAAmWZULA4lf6",
"metadata": {},
"createdAt": "2021-01-21T19:38:34Z",
"iccid": "89883070000007537119",
"provider": "p9",
"status": "inactive",
"suspension": {
"status": "unsuspending",
"updatedAt": "2026-09-24T10:00:00Z"
},
"type": "eSIM"
}