# Get Pulsene MQTT settings

Canonical page: https://docs.ovok.com/api/iotdevice/get-pulsene-mqtt-settings

`POST /v1/iot-device/pulsene/setup`

Returns the MQTT connection settings for a Pulsene MC01 device. The device calls this route on startup to learn which broker to connect to.

**Auth:** None at the HTTP level (no bearer token). The body must carry an `apiKey` that matches the key the device firmware ships with. A wrong or missing key is rejected with 401.

## Behaviour

- The body must contain `serialNumber` (non-empty string) and `apiKey` (non-empty string).
- Ovok does not look the device up. Any serial that passes the key check receives the same response shape: `mqtt.clientId` is the serial you sent, `username` and `password` are the fixed MC01 broker credentials, and `url` is the broker URL configured for the environment.
- `wifi` and `pairing` are not returned for this device family.
- The route answers `200`. It does not write anything.

## Example

```bash
curl -X POST 'https://api.sandbox.ovok.com/v1/iot-device/pulsene/setup' \
  -H 'Content-Type: application/json' \
  -d '{ "serialNumber": "<serial>", "apiKey": "<device-api-key>" }'
```
