Xsolla-logo

Get user phone number

get/users/me/phone

Gets the phone number of the authenticated user by JWT.

The phone number in this call is used only for passing the two-factor authentication.

SecurityBearer
Responses
200

OK

204

No Content (Phone number is empty)

403

Forbidden

404

Not Found

Request samples
curl -i -X GET \
  https://login.xsolla.com/api/users/me/phone \
  -H 'Authorization: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "phone_number": "+79551596067"
}