Forgive me if this has been asked and answered. I have looked around and not found anything.
I’m calling the get user endpoint in the v2 api as described here:
https://auth0.com/docs/users/user-search/retrieve-users-with-get-users-by-id-endpoint.
The response I’m getting does not include the user phone number even though the user was verified using SMS. I’m using the Universal Login.
Does anyone know why the phone number is being left out?
The response I’m getting looks like this. I’ve redacted a bunch of it.
{
created_at: “2020-09-07T20:37:47.283Z”,
email: “user44@REDACTED.com”,
email_verified: false,
identities: [
{
user_id: “REDACTED”,
provider: “auth0”,
connection: “Username-Password-Authentication”,
isSocial: false,
},
],
name: “user44@REDACTED.com”,
nickname: “user44”,
picture: “https://s.gravatar.com/avatar/REDACTEDrs%2Fus.png”,
updated_at: “2020-09-07T21:12:06.540Z”,
user_id: “auth0|5fREDACTEDddbdc02”,
multifactor: [
“guardian”,
],
multifactor_last_modified: “2020-09-07T20:38:22.225Z”,
app_metadata: {
REDACTED
},
last_ip: “REDACTED”,
last_login: “2020-09-07T21:12:06.540Z”,
logins_count: 6,
}