Cody Eakins avatar image
Cody Eakins asked Anirban answered

Using a RingCentral phone number, can I receive 2FA codes from Google?

Title says it all...

My company manages a lot of client accounts -- login credentials for web portals, emails accounts, and etc. And a lot of these accounts have 2FA (two factor authentication) enabled.

Rather than have our employees use their own personal phone numbers as the 2FA registered number for our client's accounts, we'd much rather have them use their RingCentral phone number. It's more secure and easier to manage.


So, if I'm using RingCentral's SMS API, can I use a RingCentral phone number to receive 2FA codes (SMS messages) from Google and other security code providers?

Does this violate any terms of service? I don't want to get banned from RingCentral over trying to use our phone numbers in this way...

I know that there have been problems in the past with VoIP providers and SMS gateway service providers receiving SMS security codes... Does RingCentral suffer from this same limitation?

Google likes to only send 2FA codes to "real" phone numbers. This prevents some abuse cases, but it also limits how a virtual phone number can be used.



Small update:

I tested out the SMS API in a dev environment, using both the RingCentral app and Glip. It was a success -- I was able to receive 2FA codes that were sent to the RingCentral number from Google and other providers.

Now my only question is: is this allowed? Am I violating any terms of service?

Because my use-case is for account management purposes, and not abuse, I think I'm okay. What I'm doing is allowed...

rest api
1 comment
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Ricardo Rodrigues avatar image Ricardo Rodrigues commented ·

Hi Cody, how exactly were you able to do this w/ RC and Glip? Reason I ask is because we're attempting to do the same thing with our team. Thanks.

0 Likes 0 ·
Phong Vu avatar image
Phong Vu answered Cody Eakins commented

Surely you are allowed to use the phone number for receiving 2FA code via SMS that way.

1 comment
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Cody Eakins avatar image Cody Eakins commented ·

Thanks for the response.

As long as RingCentral and Google don't have a problem with it, then yeah -- I don't think there is a problem using the platform in this way.

0 Likes 0 ·
Anirban avatar image
Anirban answered

Few days back I tried testing this with google and got success. Right now this is working

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys