> For the complete documentation index, see [llms.txt](https://api.intecular.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api.intecular.com/invisoutlet-pro/information-and-preferences/configure-accessory-names.md).

# Configure Accessory Names

> Configure and set accessory names for 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> : 4
  * <mark style="color:red;">`callbackArgs`</mark> :
    * <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
{
    "packetID": 950302,
    "payload":
    {
        "callbackName": 4,  
        "callbackArgs":
        [
            {
                "accessory": 1,    
                "name": "Fan"
            },
            {
                "accessory": 2,    
                "name": "Charger"
            },
            {
                "accessory": 3,     
                "name": "Nightlight"
            }
        ]
    }
}
```

**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.

```json
{
    "sn": "0003C44076",
    "packetID": 950302,
    "PUBACK": 1
}
```
