# getSN

Read the device serial number.

```js
getSN()
```

## Arguments

No arguments.

## Returns

Serial-number string when available.

## Example

```js
console.log(JSON.stringify(getSN()));
```

## Notes

Avoid logging or sharing device identifiers unnecessarily.

[All JavaScript APIs](https://mcp.applesauceos.com/doc/api.md) · [Automation playbook](https://mcp.applesauceos.com/doc/ai.md)
