Articles on: Developer FAQ

How can I retrieve the authenticated user's mobile number with Magic?

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

The statically-typed languages where phone_number is not yet exposed include:
TypeScript
GoLang

Updated on: 08/12/2021

Was this article helpful?

Share your feedback

Cancel

Thank you!