- API Reference
- Box API
- Modems
Read the MTU, TTL and active SIM slot of one modem
Use this before POST /update_dongle_settings. Returns the stored MTU (default 1500), TTL (0 means not changed) and the active SIM slot (1 when the modem cannot report it). On an internal error the defaults are returned with status true.
/get_dongle_settingsRequest body application/json · required
Slot number.
Authentication
Needs dashboard Basic credentials when dashboard authentication is enabled; trusted callers (loopback, LAN unless "force auth for local" is on, whitelisted IP, allowed Tailscale) pass without them.
Responses
Settings.
The caller is not trusted (not loopback, LAN, whitelisted or allowed Tailscale) and sent no valid Basic credentials. The body depends on whether "Basic auth for all API" is on. Routes that also use the panel login can answer a plain-text 401 "Unauthorized Access" instead.
Unhandled error, for example a non-integer position or a missing required parameter.
Error name, e.g. internal_server_error or bad_request.