token this endpoint returns.
Tokens expire after 2 hours. Logging in again immediately invalidates your previous token. Cache the token locally and refresh it proactively before it expires rather than calling login on every request.
Request parameters
Your MIOeSIM account phone number. This is your login username.
Your MIOeSIM account password.
Request signature computed from
phonenumber and password. See Computing the signature for the full algorithm.Response fields
Status code.
1 indicates success. Negative values indicate errors — see the error table below.Human-readable status description.
Present on success. Contains the session token.
Error codes
| Code | Meaning |
|---|---|
1 | Success — token returned in data.token |
-1 | Wrong username or password |
-2 | Username or password is empty |
-3 | Account does not have API call permission |
-30 | Signature (sign) is incorrect |
