Xsolla-logo

Get user phone numberClient-side

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)

401

Forbidden

404

Not Found

Request samples
curl --request GET \
  --url https://login.xsolla.com/api/users/me/phone \
  --header 'Authorization: Bearer BEARER_TOKEN'
Response samples
application/json
{
  • "phone_number": "+79551596067"
}