---
title: "POST /wireless-devices/{Id}/data"
method: POST
path: "/wireless-devices/{Id}/data"
---

# POST /wireless-devices/{Id}/data

`POST /wireless-devices/{Id}/data`

Sends a decrypted application data frame to a device.

## Path parameters

- `Id` string, required — The ID of the wireless device.

## Request body

- object
  - `TransmitMode` integer, required — The transmit mode to use to send data to the wireless device. Can be: <code>0</code> for UM (unacknowledge mode) or <code>1</code> for AM (acknowledge mode).
  - `PayloadData` string, required — The binary to be sent to the end device, encoded in base64.
  - `WirelessMetadata` object — WirelessMetadata object.
    - `LoRaWAN` object — LoRaWAN device info.
      - `FPort` integer — The Fport value.
      - `ParticipatingGateways` object — Choose the gateways that you want to use for the downlink data traffic when the wireless device is running in class B or class C mode.
        - `DownlinkMode` 'SEQUENTIAL' | 'CONCURRENT' | 'USING_UPLINK_GATEWAY', required — Indicates whether to send the downlink message in sequential mode or concurrent mode, or to use only the chosen gateways from the previous uplink message transmission.
        - `GatewayList` GatewayListItem[], required — The list of gateways that you want to use for sending the downlink data traffic.
          - `GatewayId` string, required — The ID of the wireless gateways that you want to add to the list of gateways when sending downlink messages.
          - `DownlinkFrequency` integer, required — The frequency to use for the gateways when sending a downlink message to the wireless device.
        - `TransmissionInterval` integer, required — The duration of time for which AWS IoT Core for LoRaWAN will wait before transmitting the payload to the next gateway.
    - `Sidewalk` object — The Sidewalk account credentials.
      - `Seq` integer — The sequence number.
      - `MessageType` 'CUSTOM_COMMAND_ID_NOTIFY' | 'CUSTOM_COMMAND_ID_GET' | 'CUSTOM_COMMAND_ID_SET' | 'CUSTOM_COMMAND_ID_RESP' — Sidewalk device message type. Default value is <code>CUSTOM_COMMAND_ID_NOTIFY</code>.
      - `AckModeRetryDurationSecs` integer — The duration of time in seconds to retry sending the ACK.

## Response `202`

Success

- SendDataToWirelessDeviceResponse
  - `MessageId` string — The ID of the message sent to the wireless device.

## Other responses

- `480` — ValidationException
- `481` — ResourceNotFoundException
- `482` — ThrottlingException
- `483` — InternalServerException

---

[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)
