Reads users.phone_token — the code the API wrote when it
last sent an SMS to this user. The column is overwritten on every
resend and cleared once the phone is confirmed, so it always holds the
most recent code and nothing older. Match by e-mail (case-insensitive),
phone number (digits only are compared, so 040 123 456 and
+38640123456 are the same number) or uuid; several
criteria are ANDed and must resolve to exactly one user.
From a test:
GET /sms-code.php?format=json&email=test@izstop.si&wait=15
with X-Helper-Token.