With our client-side SDKs you can call the getInfo method to receive the user's metadata. If there is a phone number associated with the user the metadata object will include a phoneNumber key with the user's phone number.
Customers using the Magic Admin SDK on dynamically-typed languages should receive a phone_number field as part of user metadata.
These dynamically-typed languages include:
- Python
- Ruby
- PHP
- TypeScript
- GoLang