# Request Accessory Names

> Request and retrieve accessory names from the device.

**Request**

* <mark style="color:red;">`packetID`</mark>: Represents the ID of the packet. This can be any six digit number, no leading zeros.
* <mark style="color:red;">`payload`</mark>:&#x20;
  * <mark style="color:red;">`callbackName`</mark>: 3

```json
{
    "packetID": 180072,
    "payload":
    {
        "callbackName": 3   
    }
}
```

#### Response

* <mark style="color:red;">`sn`</mark>: The serial number of the InvisOutlet.
* <mark style="color:red;">`packetID`</mark>: Represents the ID of the packet based on request <mark style="color:red;">`packetID`</mark>.
* <mark style="color:red;">`PUBACK`</mark> : If the request is successfully processed; 1 - Successful, 0 - Fail.
* <mark style="color:red;">`payload`</mark>:&#x20;
  * <mark style="color:red;">`callbackName`</mark>: 3
  * <mark style="color:red;">`callbackArgs`</mark>:&#x20;
    * <mark style="color:red;">`accessory`</mark>: 1 - Outlet 1 (Top), 2 - Outlet 2 (Bottom), 3 - Nightlight (if InvisDeco is installed).
    * <mark style="color:red;">`name`</mark>: The corresponding names for the <mark style="color:red;">`accessory`</mark>.

```json
{
    "sn": "11B29200071",
    "packetID": 180072,
    "PUBACK": 1,
    "payload": {
        "callbackName": 3,
        "callbackArgs": {
            "payload": [
                {
                    "accessory": 1,
                    "name": "Outlet 1"
                },
                {
                    "accessory": 2,
                    "name": "Outlet 2"
                },
                {
                    "accessory": 3,
                    "name": "Nightlight"
                }
            ]
        }
    }
}
```
