# The added device object

> What the device's WireGuard config needs.

```json Example
{
  "name": "laptop",
  "address": "100.96.0.2",
  "gateway": "100.96.0.1",
  "endpoint": "wg.shako.dev:51820",
  "public_key": "Bq9z..."
}
```

## Fields

**name** `string`

The device's name.

**address** `string`

Its address on the private network.

**gateway** `string`

Shako's address on the private network.

**endpoint** `string`

Shako's WireGuard endpoint, host:port.

**public_key** `string`

Shako's WireGuard public key.
