---
title: "POST /wireless-devices"
method: POST
path: "/wireless-devices"
---

# POST /wireless-devices

`POST /wireless-devices`

Provisions a wireless device.

## Request body

- object
  - `Type` 'Sidewalk' | 'LoRaWAN', required — The wireless device type.
  - `Name` string — The name of the new resource.
  - `Description` string — The description of the new resource.
  - `DestinationName` string, required — The name of the destination to assign to the new wireless device.
  - `ClientRequestToken` string — Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
  - `LoRaWAN` object — LoRaWAN object for create functions.
    - `DevEui` string — The DevEUI value.
    - `DeviceProfileId` string — The ID of the device profile for the new wireless device.
    - `ServiceProfileId` string — The ID of the service profile.
    - `OtaaV1_1` object — OTAA device object for v1.1 for create APIs
      - `AppKey` string — The AppKey value.
      - `NwkKey` string — The NwkKey value.
      - `JoinEui` string — The JoinEUI value.
    - `OtaaV1_0_x` object — OTAA device object for create APIs for v1.0.x
      - `AppKey` string — The AppKey value.
      - `AppEui` string — The AppEUI value.
      - `GenAppKey` string — The GenAppKey value.
    - `AbpV1_1` object — ABP device object for create APIs for v1.1
      - `DevAddr` string — The DevAddr value.
      - `SessionKeys` object — Session keys for ABP v1.1
        - `FNwkSIntKey` string — The FNwkSIntKey value.
        - `SNwkSIntKey` string — The SNwkSIntKey value.
        - `NwkSEncKey` string — The NwkSEncKey value.
        - `AppSKey` string — The AppSKey value.
      - `FCntStart` integer — The FCnt init value.
    - `AbpV1_0_x` object — LoRaWAN object for create APIs
      - `DevAddr` string — The DevAddr value.
      - `SessionKeys` object — Session keys for ABP v1.0.x
        - `NwkSKey` string — The NwkSKey value.
        - `AppSKey` string — The AppSKey value.
      - `FCntStart` integer — The FCnt init value.
    - `FPorts` FPorts — List of FPort assigned for different LoRaWAN application packages to use
      - `Fuota` integer — The Fport value.
      - `Multicast` integer — The Fport value.
      - `ClockSync` integer — The Fport value.
      - `Positioning` object — FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
        - `ClockSync` integer — The Fport value.
        - `Stream` integer — The Fport value.
        - `Gnss` integer — The Fport value.
      - `Applications` ApplicationConfig[] — Optional LoRaWAN application information, which can be used for geolocation.
        - `FPort` integer — The Fport value.
        - `Type` 'SemtechGeolocation' — Application type, which can be specified to obtain real-time position information of your LoRaWAN device.
        - `DestinationName` string — The name of the position data destination that describes the AWS IoT rule that processes the device's position data for use by AWS IoT Core for LoRaWAN.
  - `Tags` Tag[] — The tag to attach to the specified resource. Tags are metadata that you can use to manage a resource.
    - `Key` string, required — The tag's key value.
    - `Value` string, required — The tag's value.
  - `Positioning` 'Enabled' | 'Disabled' — FPort values for the GNSS, stream, and ClockSync functions of the positioning information.
  - `Sidewalk` object — Sidewalk object for creating a wireless device.
    - `DeviceProfileId` string — The ID of the Sidewalk device profile.

## Response `201`

Success

- CreateWirelessDeviceResponse
  - `Arn` string — The Amazon Resource Name of the new resource.
  - `Id` string — The ID of the new wireless device.

## Other responses

- `480` — ValidationException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — ConflictException
- `484` — InternalServerException
- `485` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/iotwireless.md) · [All operations](https://skmtc.net/aws/apis/iotwireless/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/iotwireless/versions/022d242d4bce/schema)
