Page 1 of 1

Setting USA as the country code

Posted: Tue Apr 13, 2021 1:36 am
by lolwaitwut
What is the input required for the "Custom country code" for getsmscode to set it to USA only?

I've tried US, USA, +1, 1. None of them work and it keeps defaulting to Chinese numbers which rarely work and even when they do, it flags the account.

Re: Setting USA as the country code

Posted: Tue Apr 13, 2021 3:22 pm
by martin@rootjazz
lolwaitwut wrote: Tue Apr 13, 2021 1:36 am What is the input required for the "Custom country code" for getsmscode to set it to USA only?

I've tried US, USA, +1, 1. None of them work and it keeps defaulting to Chinese numbers which rarely work and even when they do, it flags the account.
You have to look within the getsms website and get the code from there. Is the US even an option?

Re: Setting USA as the country code

Posted: Tue Apr 13, 2021 10:17 pm
by lolwaitwut
martin@rootjazz wrote: Tue Apr 13, 2021 3:22 pm
lolwaitwut wrote: Tue Apr 13, 2021 1:36 am What is the input required for the "Custom country code" for getsmscode to set it to USA only?

I've tried US, USA, +1, 1. None of them work and it keeps defaulting to Chinese numbers which rarely work and even when they do, it flags the account.
You have to look within the getsms website and get the code from there. Is the US even an option?
https://www.getsmscode.com/api.html?m=us

It looks like it uses a different API end point for USA.

Re: Setting USA as the country code

Posted: Wed Apr 14, 2021 2:54 pm
by martin@rootjazz
well spotted, so currently US numbers do NOT work

only:
[cocode]: the country code Malaysia=my Philippines=ph Cambodia=kh Myanmar=mm Vietnam=vn Laos=la Indonesia=id Hongkong=hk Macao=mo Tailand=th Brazil=br Egypt=eg South Africa=za Madagascar=mg Congo=cd United Kingdom=uk morocco=ma Russia=ru

I'll look into adding US support and will let you know when ready


Regards,
Martin