Activate a Device for 5G Business Internet
# Activating a 5G Business Internet Device ### `POST /v1/devices/actions/activate` Activate an individual device to use the 5G Business Internet Fixed Wireless Access service. Please note that these plans are fixed location plans. It is agreed to only use the Service at the qualified service address that Verizon Wireless approved at the time the Service was activated. If the Service is used outside of the qualified service address without the specific written approval of Verizon Wireless, Verizon Wireless reserves the right to terminate the Service at any time thereafter upon written notice. For more information and best practices, please visit [Best Practices for Activation](https://thingspace.verizon.com/documentation/api-documentation.html#/http/connectivity-management/guides/getting-started/best-practices-for-activation). ## Header Parameters The request header must set the content-type to JSON, contain a current ThingSpace authorization token and a current VZ-M2M session token. For more details on how to get these tokens, visit [Getting Started](https://thingspace.verizon.com/documentation/api-documentation.html#/http/connectivity-management/guides/getting-started/introduction-to-the-connectivity-management-api). |Parameter Name|Data Type|Description| |-----|-----|-----| | **Authorization** *(required)* | string | HTTP Authorization request header containing a valid Bearer token: `Authorization: Bearer {token}` | | **VZ-M2M-Token** *(required)* | string | A valid session token returned by a Connectivity Management `POST /session/login` request. | | **Content-Type** *(required)* | string | Must be `application/json`. | ## HTTP Request [POST https://thingspace.verizon.com/api/m2m/v1/devices/actions/activate](/docs/standard-apis/5g-business-internet/api-endpoints/businessinternetactivateusingpost) ## Request Parameters Request body parameters. All parameters listed are required unless marked "optional". |Parameter Name|Data Type|Description| |-----|-----|-----| |**accountName**|string|The name of a billing account. This value is numeric and must include any leading zeroes.| |**servicePlan**|string|The service plan code to assign to all specified devices. Set this parameter to one of the code values returned by `GET /plans/{accountname}`. Verizon Wireless provides service plan codes at the time of on-boarding and subsequently whenever there are any changes to the service plan. <br>**NOTE:** Any devices in the request that are not supported by the service plan will not activate.| |**deviceListWithServiceAddress**|array|An array of Device ID information and customer information objects, including the object defining the address of where the device will be used.| |**deviceIds**|array|An array of Device ID objects including a `kind` and `id`. The `kind` is the The type of the device identifier and will be **IMEI** (decimal, 15 digits) and **ICCID** (decimal, 20 digits) in that order. The `id` is the value of the types.| |**primaryPlaceOfUse|object|The customer name and the address of the device’s primary place of use.| |**address**|object|The customer address for the line’s primary place of use.| |**addresLine1**|string|The street address for the line’s primary place of use. This must be a physical address; it cannot be a P.O. box.| |**city**|string|The city for the line’s primary place of use.| |**state**|string|The two-letter abbreviation of the state for the line’s primary place of use. To see examples of the two-letter codes (i.e. TX for Texas), please see the [Wikipedia page on ISO-3166-2:US](https://en.wikipedia.org/wiki/ISO_3166-2:US).| |**zip**|string|The ZIP code for the line’s primary place of use.| |**zip4** *(optional)*|string|The ZIP+4 for the line’s primary place of use.| |**country**|string|“USA” for the country of the line’s primary place of use.| |**phone** *(optional)*|string|A phone number where the customer can be reached.| |**phoneType** *(optional)*|string|A single letter to indicate the customer phone type: <br>**M** = Mobile <br>**H** = Home <br>**F** = Fax <br>**W** = Work/Business <br>**P** = Pager| |**emailAddress** *(optional)*|string|An email address for the customer.| |**customerName**|object|The customer name to be used for line usage taxation.| |**title** *(optional)*|string|An optional title for the customer, such as **Mr.** or **Dr.**| |**firstName**|string|The customer’s first name. Valid values are any string of up to 20 alphanumeric characters, space, dash, exclamation point and pound sign.| |**middleName** *(optional)*|string|The customer’s middle name.| |**lastName**|string|The customer’s last name. Valid values are any string of up to 25 alphanumeric characters, space, dash, exclamation point and pound sign.| |**suffix** *(optional)*|string|An optional suffix for the customer name, such as **Jr.** or **III.**| |**skuNumber** *(optional)* |string| The Stock Keeping Unit number of the device being activated.| |**publicIpRestriction** *(optional)*|string|For devices with static IP addresses, on the public network, this specifies whether the devices have general access to the Internet. Valid values are **restricted** or **unrestricted**. <br>**Unrestricted** = The device will have full access to the Internet. <br>**Restricted** = The device will have access to any content provided by Verizon Wireless but will be restricted from access to the Internet. <br>If left blank, the device will be activated as Public Dynamic. Public network devices with dynamic IP addresses are always unrestricted.| |**carrierName**|string|The carrier that will perform the activation. This parameter is only required if more than one carrier is being used. If there is only one carrier it is not necessary to specify the `carrierName` since that carrier will be used by default.| |**mdnZipCode**|string|The ZIP code of the location where the line of service will primarily be used, or a Zip code that the user has been told to use with these devices. For accounts that are configured for geographic numbering, this is the ZIP code from which the Mobile Directory Number (MDN) will be derived. <br>**NOTE:** Set the `mdnZipCode` value to match the ZIP value defined for primary place of use.| ## Request Body Example Request (Public Static) ```json { "accountName":"0000123456-00001", "servicePlan":"service plan name", "deviceListWithServiceAddress":[ { "deviceIds":[ { "id":"15-digit IMEI", "kind":"IMEI" }, { "kind":"iccid", "id":"20-digit ICCID" } ], "primaryPlaceOfUse":{ "address":{ "addressLine1":"number and street", "city":"city", "state":"2-letter state ID (ISO 3166-2)", "country":"USA", "zip":"5-digit zip code", "zip4":"", "phone":"10-digit phone number", "phoneType":"W", "emailAddress":"email@emailaddress.com" }, "customerName":{ "firstName":"first name", "lastName":"last name", "middleName":"middle name", "title":"Mr", "suffix":"Jr" } } } ], "skuNumber": "VZW Stock Keeping Unit number", "publicIpRestriction":"Unrestricted", "carrierName":"Verizon Wireless", "mdnZipCode":"5-digit zip code" } ``` Example Request (Public Dynamic) ```json { "accountName":"0000123456-00001", "servicePlan":"service plan name", "deviceListWithServiceAddress":[ { "deviceIds":[ { "id":"15-digit IMEI", "kind":"IMEI" }, { "kind":"iccid", "id":"20-digit ICCID" } ], "primaryPlaceOfUse":{ "address":{ "addressLine1":"number and street", "city":"city", "state":"2-letter state ID (ISO 3166-2)", "country":"USA", "zip":"5-digit zip code", "zip4":"", "phone":"10-digit phone number", "phoneType":"W", "emailAddress":"email@emailaddress.com" }, "customerName":{ "firstName":"first name", "lastName":"last name", "middleName":"middle name", "title":"Mr", "suffix":"Jr" } } } ], "publicIpRestriction":"", "carrierName":"Verizon Wireless", "mdnZipCode":"5-digit zip code" } ``` Example Request (Mobile Private Network or MPN) ```json { "accountName":"0000123456-00001", "servicePlan":"service plan name", "deviceListWithServiceAddress":[ { "deviceIds":[ { "id":"15-digit IMEI", "kind":"IMEI" }, { "kind":"iccid", "id":"20-digit ICCID" } ], "primaryPlaceOfUse":{ "address":{ "addressLine1":"number and street", "city":"city", "state":"2-letter state ID (ISO 3166-2)", "country":"USA", "zip":"5-digit zip code", "zip4":"", "phone":"10-digit phone number", "phoneType":"W", "emailAddress":"email@emailaddress.com" }, "customerName":{ "firstName":"first name", "lastName":"last name", "middleName":"middle name", "title":"Mr", "suffix":"Jr" } } } ], "carrierName":"Verizon Wireless", "mdnZipCode":"5-digit zip code" } ``` ## Success Responses **Status 200** ```json { "requestId": "be36accb-eeee-ffff-gggg-0af6c4ed256a" } ``` ## Failure Responses All error messages are returned in this format: ```json { "errorCode": "error code string", "errorMessage": "error message string" } ``` ## Callback Response ```json { "requestId": "be36accb-eeee-ffff-gggg-0af6c4ed256a", "deviceIds": [ { "id": "15-digit IMEI", "kind": "imei" } ], "deviceResponse": { "externalProvisioningChangeResponse": { "change": "Device Detection", "deviceInfo": { "preIMEI": "15-digit IMEI", "preSKU": "VZW080000250070", "accountName": "0000123456-00001", "billingCycleEndDate": "2023-01-10T00:00:00.0000000Z", "carrierInformations": [ { "carrierName": "Verizon Wireless", "servicePlan": "5GBI200MBPSCband", "state": "active" } ], "connected": true, "createdAt": "2022-11-01T19:57:34.0000000Z", "deviceIds": [ { "id": "10-digit phone number", "kind": "mdn" }, { "id": "15-digit IMSI", "kind": "imsi" }, { "id": "15-digit IMEI", "kind": "imei" }, { "id": "20-digit ICCID", "kind": "iccId" }, { "id": "11-digit MSISDN", "kind": "msisdn" }, { "id": "10-digit MIN", "kind": "min" } ], "groupNames": [ "Default: 0000123456-00001" ], "ipAddress": "0.0.0.0", "lastActivationBy": "user name", "lastActivationDate": "2022-12-20T16:32:05.0000000Z", "lastConnectionDate": "2022-12-20T16:33:53.0000000Z" } } }, "callbackCount": 1, "maxCallbackThreshold": 4 } ``` ## Callback Parameters |Parameter Name|Data Type|Description| |-----|-----|-----| | **requestId**|string|The request ID that the callback is for.| |**deviceIds**|array|An array of device ID objects where the `kind` could be the device's **imei**, **imsi** or **iccid** and the `id` is the value of the `kind`.| |**deviceResponse**|object|The object containing the device's type of response, what the device is responding to and configuration.| |**externalProvisioningChangeResponse**|object|The object defining the type of device response.| |**change**|string|The type of change the device is responding to.| |**deviceInfo**|object|Device identification and basic service account information.| |**preIMEI**|string|The IMEI information shared at account creation.| |**preSKU**|string|The Stock Keeping Unit (SKU) of the device shared at account creation.| |**accountName**|string|The numeric name of the account.| |**billingCycleEndDate**|string ($date-time)|The assigned end date of the device's billing cycle.| |**carrierInformations**|array|An array containing the name of the service provider (`carrierName`), the service plan being used (`servicePlan`) and the device's status on the service provider's network (`state`).| |**connected**|boolean|Indicates if the device is connected to the service provider's network (**true**) or not (**false**).| |**createdAt**|string ($date-time)|Timestamp for when the device record was created.| |**deviceIds**|array|An array of device identifier objects where the `kind` can be **imei**, **imsi**, **msisdn**, **iccid**, **min** and **mdn** and the `id` is the value of the `kind` represented.| |**groupNames**|array|An array of groups the device is associated with.| |**ipAddress**|string|The IP address assigned to the device if it is activated as Public Static.| |**lastActivationBy**|string|The user name that made the most recent change.| |**lastActivationDate**|string ($date-time)|The timestamp of the most recent change.| |**lastConnectionDate**|string ($date-time)|The timestamp of the most recent connection to the service provider's network.| |**callbackCount**|integer|The number of callbacks for this request.| |**maxCallbackThreshold**|integer|The maximum number of callbacks allowed for this request.|