NetworkAccessProfile Resource

Control which mobile networks Super SIMs can connect to

NetworkAccessProfile resources control which public land mobile networks (PLMNs) your Super SIMs can connect to:

https://supersim.api.korewireless.com/v1/NetworkAccessProfiles

A NetworkAccessProfile resource can be referenced in the API by either by its unique Sid or UniqueName:

https://supersim.api.korewireless.com/v1/NetworkAccessProfiles/{Sid}
https://supersim.api.korewireless.com/v1/NetworkAccessProfiles/{UniqueName}

Each NetworkAccessProfile (NAP) resource has a Networks subresource (NAP Networks):

https://supersim.api.korewireless.com/v1/NetworkAccessProfiles/{Sid}/Networks

Each NAP Network resource represents a cellular network that Super SIMs can connect to — an allowed Network.

The allowed networks represented by the NAP Network resources will be a subset of all of the networks supported by Super SIM represented by the Network resources returned from the main Networks endpoint. You can add or remove NAP Network resources from the NAP Networks subresource at any time to change which cellular networks your Super SIMs can access.

The Super SIM Networks endpoint is a read-only resource which lists all of the cellular networks to which it is possible for Super SIMs to connect; it is a catalog of available networks for you to choose from. Once you've identified a cellular network you want to allow your Super SIMs to connect to, use its sid to add it to a NetworkAccessProfile resource's Networks subresource. See these examples to learn how to add or remove NAP Network resources.

If your Super SIM has already attached to a network, authentication and authorization information may be cached in that network to allow devices to continue to use that network without re-authenticating with our services. When you disable a network in a NAP, it may not take immediate effect for that Super SIM. The cached information for that Super SIM will need to expire before the Super SIM can no longer use that network. This may take up to a week, but varies by network.

To make use of a NetworkAccessProfile resource, it needs to be referenced by a Fleet resource. All of the Sim resources assigned to that Fleet will then e able to attach to the cellular networks allowed by the NetworkAccessProfile's Networks subresource.

A NetworkAccessProfile can be used by multiple Fleet resources.

For a detailed guide on how Network Access Profiles, Networks, and Fleets work together, check out How to Use Super SIM Fleets and Network Access Profiles


Forbidden Networks

The NAP Networks subresource serves as an allow list of the cellular networks to which Super SIMs can connect. Networks not present in the NAP Networks subresource are therefore blocked (i.e., forbidden).

When your device scans for available cellular networks to attempt to attach to, it may find a number of cellular networks. Super SIMs can only attach to a cellular network if the Network resource that represents the cellular network is present in a NAP's Networks subresource. If your device explicitly tries to attach to a cellular network that has not been allowed, the network will return the error 5004 / ROAMING_NOT_ALLOWED.

There will be some cellular networks for which there is no Network resource available. As such there is no way to add them to the list of allowed cellular networks in a NetworkAccessProfile resource. No Super SIMs will be able to attach to these cellular networks.


Delete a Network Access Profile

New Feature Customers can now delete unused and unwanted NAPs and their associated data. This can be done in Console: visit Super SIM > Network Access Profiles, click on the name of the NAP you wish to delete, and click the Delete Network Access Profile link at the bottom of the page. You will be asked to confirm your action before the NAP is deleted. NAPs which are currently assigned to Fleets cannot be deleted.


API Authorization

Before you can make requests to this resource, you must have a valid bearer token. Review our API authorization guide to learn how to generate a token. Here's a curl example on how to define your access token in a header:

curl -X GET \
-H "Authorization: Bearer <YOUR_ACCESS_TOKEN>" \
'https://supersim.api.korewireless.com/v1/Sims'

The examples below do not show the required Authorization header due to a bug. We're working on fixing that. In the meantime, be sure to include that in all of your requests.


Create a Network Access Profile resource

Create a new Network Access Profile

POSThttps://supersim.api.korewireless.com/v1/NetworkAccessProfiles
Authorization
Body
UniqueNamestring

An application-defined string that uniquely identifies the resource. It can be used in place of the resource's sid in the URL to address the resource.

Networksarray of string

List of Network SIDs that this Network Access Profile will allow connections to.

Response

Created

Headers
Body
sidnullable string

The unique string that identifies the Network Access Profile resource.

Pattern: ^HA[0-9a-fA-F]{32}$
unique_namenullable string

An application-defined string that uniquely identifies the resource. It can be used in place of the resource's sid in the URL to address the resource.

account_sidnullable string

The SID of the Account that the Network Access Profile belongs to.

Pattern: ^AC[0-9a-fA-F]{32}$
date_creatednullable string (date-time)

The date and time in GMT when the resource was created specified in ISO 8601 format.

date_updatednullable string (date-time)

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

urlnullable string (uri)

The absolute URL of the Network Access Profile resource.

linksnullable object (uri-map)
Request
const response = await fetch('https://supersim.api.korewireless.com/v1/NetworkAccessProfiles', {
    method: 'POST',
    headers: {
      "Content-Type": "application/x-www-form-urlencoded"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "sid": "text",
  "unique_name": "text",
  "account_sid": "text",
  "date_created": "2024-11-14T01:17:07.123Z",
  "date_updated": "2024-11-14T01:17:07.123Z",
  "url": "https://example.com"
}

Fetch a Network Access Profile resource

Fetch a Network Access Profile instance from your account.

GEThttps://supersim.api.korewireless.com/v1/NetworkAccessProfiles/{Sid}
Authorization
Path parameters
Sid*string

The SID of the Network Access Profile resource to fetch.

Response

OK

Headers
Body
sidnullable string

The unique string that identifies the Network Access Profile resource.

Pattern: ^HA[0-9a-fA-F]{32}$
unique_namenullable string

An application-defined string that uniquely identifies the resource. It can be used in place of the resource's sid in the URL to address the resource.

account_sidnullable string

The SID of the Account that the Network Access Profile belongs to.

Pattern: ^AC[0-9a-fA-F]{32}$
date_creatednullable string (date-time)

The date and time in GMT when the resource was created specified in ISO 8601 format.

date_updatednullable string (date-time)

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

urlnullable string (uri)

The absolute URL of the Network Access Profile resource.

linksnullable object (uri-map)
Request
const response = await fetch('https://supersim.api.korewireless.com/v1/NetworkAccessProfiles/{Sid}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "sid": "text",
  "unique_name": "text",
  "account_sid": "text",
  "date_created": "2024-11-14T01:17:07.123Z",
  "date_updated": "2024-11-14T01:17:07.123Z",
  "url": "https://example.com"
}

Read Multiple NetworkAccessProfile resources

Retrieve a list of Network Access Profiles from your account.

GEThttps://supersim.api.korewireless.com/v1/NetworkAccessProfiles
Authorization
Query parameters
Response

OK

Headers
Body
network_access_profilesarray of supersim.v1.network_access_profile (object)
metaobject
Request
const response = await fetch('https://supersim.api.korewireless.com/v1/NetworkAccessProfiles', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "network_access_profiles": [
    {
      "sid": "text",
      "unique_name": "text",
      "account_sid": "text",
      "date_created": "2024-11-14T01:17:07.123Z",
      "date_updated": "2024-11-14T01:17:07.123Z",
      "url": "https://example.com"
    }
  ],
  "meta": {
    "first_page_url": "https://example.com",
    "key": "text",
    "next_page_url": "https://example.com",
    "previous_page_url": "https://example.com",
    "url": "https://example.com"
  }
}

Update a NetworkAccessProfile resource

Updates the given properties of a Network Access Profile in your account.

POSThttps://supersim.api.korewireless.com/v1/NetworkAccessProfiles/{Sid}
Authorization
Path parameters
Sid*string

The SID of the Network Access Profile to update.

Body
UniqueNamestring

The new unique name of the Network Access Profile.

Response

OK

Headers
Body
sidnullable string

The unique string that identifies the Network Access Profile resource.

Pattern: ^HA[0-9a-fA-F]{32}$
unique_namenullable string

An application-defined string that uniquely identifies the resource. It can be used in place of the resource's sid in the URL to address the resource.

account_sidnullable string

The SID of the Account that the Network Access Profile belongs to.

Pattern: ^AC[0-9a-fA-F]{32}$
date_creatednullable string (date-time)

The date and time in GMT when the resource was created specified in ISO 8601 format.

date_updatednullable string (date-time)

The date and time in GMT when the resource was last updated specified in ISO 8601 format.

urlnullable string (uri)

The absolute URL of the Network Access Profile resource.

linksnullable object (uri-map)
Request
const response = await fetch('https://supersim.api.korewireless.com/v1/NetworkAccessProfiles/{Sid}', {
    method: 'POST',
    headers: {
      "Content-Type": "application/x-www-form-urlencoded"
    },
    body: JSON.stringify({
      "UniqueName": "My Network Access Profile"
    }),
});
const data = await response.json();
Response
{
  "sid": "text",
  "unique_name": "text",
  "account_sid": "text",
  "date_created": "2024-11-14T01:17:07.123Z",
  "date_updated": "2024-11-14T01:17:07.123Z",
  "url": "https://example.com"
}

Last updated