Skip to Content
GEMMSIM LifecycleActivateSIM Activations

SIM Activations

POSTsubscriber-management/actions/activateSIM LifecycleOpenAPI

Activates service for one or more SIMs so that they can send and receive data.

Auth Scope
urn:grt:gemm
Content-Type
application/json
Base URL
https://gemmapi2.granitenet.com/v2/api/gemm/v1

Uses and Requirements

Mobility sends an asynchronous SubscriberService callback for each SIM in the request when service activates or if activation fails.

Info

The Activation API allows up to 1000 SIMs in a single API request.

Available For

  • ATT
  • Granite Wireless - VzW
  • T-Mobile
  • Verizon
  • Granite Multi Carrier SIM
  • Verizon eSIM
  • ATT: Some ATT plan types are not supported; contact your Account Manager to confirm plan compatibility.

Headers

HeaderValue
AuthorizationBearer access-token
Content-Typeapplication/json
macnumMacnum of the top level account for your organization.

Request Body Parameters

ParameterTypeRequiredDescription
activateOptionstringYesThe type of activation that you want. Valid values are
  • ExistingAccount - Activate specified SIM(s) under an existing child account. When you select this option, accountNumber is required.
  • NewAccount - Activate specified SIM(s) under new child account(s). When you select this option, parentAccountNumber, accountCreationMode and accountInfo are required.
accountNumberstringConditionalThe 8-digit account number for an existing child account. Required when activateOption = ExistingAccount.
simsarray of simInfo objectsYesUp to 1000 SIMs for which you want to activate service, specified by simInfo objects.
simInfoobjectYesSIM information.
iccidstringConditional19-20 digits.
eidstringConditional32 digits. Used for Granite Multi Carrier eSIM QR Code activations instead of iccid.
imeistringConditional15 numeric digits. Required for carriers/flows that activate by device, or when no iccid/eid is provided.
deviceUserstringNoA user-defined descriptive field, limited to 100 characters.
simTypestringConditionalThe type of SIM that you want to activate. Values are Physical or eSIM. Virtual is the earlier name for eSIM and is still accepted. Responses and callbacks return Virtual for an eSIM.
Required on Granite Multi Carrier SIM, Granite Wireless - VzW, Verizon B2B, AT&T POD19 IOT and T-Mobile Control Center plans, and on AT&T Mobility plans other than Basic Phone. Verizon B2B accepts eSIM only, and AT&T Basic Phone plans accept Physical only.
Optional on other plans. A SIM sent without simType is activated as Physical, so its iccid is required. All SIMs in a request must be the same type.
eSimActivationFlowstringNoThe type of virtual activation you want to process. Valid values are QRCode or Default. If omitted, the system falls back to the default flow.
zipCodestringConditionalA 5-digit numeric ZIP code. Required for Telespire activations; optional for Verizon and Verizon B2B activations.
tagItemobjectNoAn object that holds the information about the tags to be associated with the SIM, where each tag is listed in the addTags array.
addTagsarray of stringsNoAn array of strings that represent the tags to be associated with the specified SIM.
accountIdentifiersobjectNoAccount identifiers to record for the SIM.
customField1stringNoLimited to 100 characters.
customField2stringNoLimited to 100 characters.
generalLedgerNostringNoGeneral ledger number. Limited to 50 characters.
branchNostringNoBranch number. Limited to 50 characters.
employerstringNoLimited to 50 characters.
siteAddressInfoobjectConditionalSite address for Verizon 5G Fixed Wireless activations. Pass it on each SIM when siteAddressMode = DifferentSiteAddressForEachSIM, or once at the request level when siteAddressMode = SameSiteAddressForAllSIMs.
siteAddressobjectConditionalObject containing information about the site address. Only required if siteAddressSameAsServiceAddress is false.
address1stringYesStreet address 1 for the site address.
address2stringNoStreet address 2 for the site address.
citystringYesCity for the site address.
statestringYesState for the site address.
zipstringYesZIP code for the site address.
siteAddressSameAsServiceAddressbooleanConditionalIf true, siteAddress is not required.
planNamestringYesThe plan that you want to assign to all specified SIMs. Set this parameter to one of the plan values provided.
skustringNoVerizon plans only, not Fixed Wireless. The Stock Keeping Unit of a 4G device type, used with ICCIDs in place of an IMEI. It applies to every SIM in the request, so all devices must be of the same type. 2-20 letters, numbers or slashes.
siteAddressModestringConditionalOnly supports two values. 1 = SameSiteAddressForAllSIMs and 2 = DifferentSiteAddressForEachSIM. Only required for activations on the Verizon 5G network.
networkApnstringConditionalGranite Multi Carrier and Verizon plans. Name of a private APN set up for your account, for a private network or static IP. Up to 100 characters. On a Verizon plan it also selects the plan and must be sent together with carrierSubnet.
carrierSubnetstringConditionalGranite Multi Carrier and Verizon plans. Private subnet (IP range) set up for the APN on your parent or grandparent account, for example 156.50.240.0/22. 1-50 characters. On a Verizon plan it must be sent together with networkApn. On a static IP plan sent without networkApn or carrierSubnet, Mobility uses the default APN set up for your account.
featuresarray of stringsNoAdd-on value(s) to apply while activating the SIM, for example CROSSZONEROAMING.
contentControlstringNoGranite Multi Carrier SIMs. Name of the content control policy to apply at activation. Ignored on static IP plans. On a dynamic IP plan, send either contentControl or networkApn, not both.
throttleControlstringNoGranite Multi Carrier SIMs. Name of the throttle control policy to apply at activation.
accountCreationModestringConditionalPassed at the request level (not inside accountInfo). Required when activateOption = NewAccount.
Possible values are
  • CreateOneAccountForAllSIMs - Using the AccountInfo provided, Mobility creates one child account and activates all SIMs under it.
  • CreateSeparateAccountForEachSIM - Using the AccountInfo provided on each SIM, Mobility creates a separate child account for each SIM.
parentAccountNumberstringConditionalThe 8-digit account number for an existing parent account. Required when activateOption = NewAccount.
accountInfoobjectConditionalInformation to create new child account(s). Required when activateOption = NewAccount.
customerNamestringYesCustomer name.
contactPhonestringYesA phone number where the customer can be reached.
genInfoEmailstringYesAn email address for the customer.
billingOptionstringYesPossible values are
  • ParentPays - Parent account to be billed for all SIMs in child account(s).
  • ChildPays - Child account(s) to be billed for all SIMs in it.
serviceAddressobjectYesService address for the child account(s).
address1stringYesThe street address for the SIM's primary place of use.
citystringYesThe city for the SIM's primary place of use.
statestringYesThe two-letter abbreviation of the state for the primary place of use.
zipstringYesThe ZIP code for the SIM's primary place of use.
billingAddressobjectNoBilling address for the child account(s).
address1stringYesThe street address for the SIM's billing address.
address2stringNoOptional additional street address information for the billing address.
citystringYesThe city for the SIM's billing address.
statestringYesThe two-letter abbreviation of the state for the billing address.
zipstringYesThe ZIP code for the SIM's billing address.
invoiceDeliveryMethodstringNoPossible values are Paper, Paper+Email and EmailOnly.
invoiceStylestringNoPossible values are Child-No Bill and Summary Bill.

Request Examples

The examples below are grouped by use case. Any account option can be combined with any activation type.

Existing Child Account

Pass activateOption = ExistingAccount and the 8-digit accountNumber of the child account. All of the activation type and carrier examples further down use this option.

Request to activate a SIM with tags using an existing child account

New Child Account: One Account for All SIMs

Pass activateOption = NewAccount, parentAccountNumber, accountCreationMode = CreateOneAccountForAllSIMs and a single accountInfo at the request level. Mobility creates one child account under the parent and activates every SIM under it. billingAddress, invoiceDeliveryMethod and invoiceStyle are required only when billingOption = ChildPays.

Request to activate SIMs on a new account with billingOption = ParentPays

Request to activate SIMs on a new account with billingOption = ChildPays

New Child Account: Separate Account for Each SIM

Pass activateOption = NewAccount, parentAccountNumber and accountCreationMode = CreateSeparateAccountForEachSIM, then put an accountInfo on each entry in sims instead of at the request level. Mobility creates a separate child account for each SIM. Each account can use its own billing option.

Request to activate SIMs with a separate new child account for each SIM

Fixed Wireless Activation

Verizon 5G Fixed Wireless plans need a site address for each SIM, and imei is required.

  • siteAddressMode = SameSiteAddressForAllSIMs - pass one siteAddressInfo at the request level. It is used for every SIM.
  • siteAddressMode = DifferentSiteAddressForEachSIM - pass a siteAddressInfo on each entry in sims and none at the request level.

Set siteAddressSameAsServiceAddress = true to use the child account’s service address instead of sending a siteAddress.

Request to activate Verizon 5G Fixed Wireless SIMs with the same site address for all SIMs

Request to activate Verizon 5G Fixed Wireless SIMs with a different site address for each SIM

QR Code Activation

Pass simType = eSIM and eSimActivationFlow = QRCode, and identify the device by eid (or imei) instead of iccid. All eSIMs in one request must use the same flow. When the activation completes, the callback returns the activationCode (LPA code). Use Get QR-Code through LPA Code to turn it into a QR code that the device scans to download the eSIM profile.

Request to activate a Granite eSIM QRCode (with EID) on an existing child account

Granite Multi Carrier Activation

Granite Multi Carrier SIM plans support Physical SIMs and eSIMs, and add these options:

  • contentControl and throttleControl - names of the content and throttle policies to apply at activation.
  • carrierSubnet, with networkApn where needed - a private APN / static IP that is configured on the parent or grandparent account.
  • features - add-ons such as CROSSZONEROAMING.

An eSIM needs either eid or imei.

Request to activate a SIM on Webbing CAN/MEX Plan using an existing child account

Request to activate a Granite Multi Carrier Physical SIM with content and throttle controls on an existing child account

Request to activate a Physical SIM on Private Static IP using an existing child account

Request to activate a Granite eSIM (with IMEI) on Private Static IP using an existing child account

Request to activate a Webbing eSIM on an existing child account with Cross Zone Roaming enabled

Carrier Examples

Standard Physical SIM and eSIM activations for each carrier. Activation requests can’t mix Physical SIMs and eSIMs.

Request to activate an AT&T (APEX) eSIM on an existing child account

Request to activate an AT&T (APEX) Physical SIM on an existing child account

Request to activate an ATT IoT Physical SIM on an existing child account

Request to activate an ATT ABIR Physical SIM on an existing child account

Request to activate a Granite Wireless - VzW (Telespire) eSIM on an existing child account. zipCode is required.

Request to activate a Granite Wireless - VzW (Telespire) Physical SIM on an existing child account. zipCode is required.

Request to activate a T-Mobile Physical SIM on an existing child account

Request to activate a Verizon Physical SIM on an existing child account

Request to activate a Verizon eSIM on an existing child account

Secondary SIM and SIM360 Activations

Responses

Immediate Success Response (200 OK)

Response Fields

ParameterTypeDescription
transactionIDstringA unique string that associates the request with the results that are sent via a callback service.
Mobility sends a separate callback for each SIM that matched the request criteria, indicating whether the operation succeeded for that SIM and containing any requested information. All callbacks have the same transactionID.

Callback Success Response

Response Fields

ParameterTypeDescription
requestTypestringName of the requested action. For activation, the value is Activate.
transactionIDstringA unique string that associates the request with the results that are sent via a callback service. Mobility sends a separate callback for each SIM that matched the request criteria, indicating whether the operation succeeded for that SIM and containing any requested information. All callbacks have the same transactionID.
simInfoobjectSIM information.
eidstring32 digits.
iccidstring19-20 digits.
msisdnstring10 digits.
imeistring15 digits.
activationCodestringLPA Code received for QRCode based Activations.
ipAddressstringThe IP address of the activated device.
resultobjectResult status object.
statusstringSuccess or Failed.
messagestringResult message.
errorsobjectList of errors.
errorCodestringError code.
errorMessagestringError message.
callbackCountintegerThe number of times this callback message has been sent.
maxCallbackThresholdintegerThe maximum number of times this callback message will be sent if it is not correctly acknowledged.

Failure Responses

For a complete list of error codes, messages, causes, and resolutions, see Activation - Sync Error Messages and Activation - Async Error Messages.

Immediate Error Message

Error Response Fields

ParameterTypeDescription
resultobjectResult status object.
statusstringSuccess or Failed.
errorsobjectList of errors.
errorCodestringError code.
errorMessagestringError message.

Example Async Error Message

If the request fails validation and is rejected:

If the request fails because of an internal error or at the carrier:

Error Response Fields

ParameterTypeDescription
requestTypestringName of the requested action. For activation, the value is Activate.
simInfoobjectSIM information.
simTypestringPhysical or Virtual.
iccidstring19-20 digits.
imeistring15 digits.
deviceUserstringA user-defined descriptive field, limited to 100 characters.
zipCodestringA 5-digit numeric ZIP code.
callbackCountintegerThe number of times this callback message has been sent.
maxCallbackThresholdintegerThe maximum number of times this callback message will be sent if it is not correctly acknowledged.
transactionIDstringA unique string that associates the request with the results that are sent via a callback service.
resultobjectResult status object.
statusstringSuccess or Failed.
errorsobjectList of errors.
errorCodestringError code.
errorMessagestringError message.

Code Examples

Last updated on