> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET (/users/me)

> GET (/users/me)

# GET (/users/me)

Obtain the current user's [PresenceRecord](/reference/live/rest/json/json-presencerecord) without having to know the user's XUID.
The domain for these URIs is `userpresence.xboxlive.com`.

* [Query string parameters](#ID4EZ)
* [Authorization](#ID4EIC)
* [Required Request Headers](#ID4ELD)
* [Optional Request Headers](#ID4EPF)
* [Request body](#ID4EPG)
* [Response body](#ID4E1G)

<a id="ID4EZ" />

## Query string parameters

| Parameter | Type   | Description                                                                                                                                                                                                                                                                           |
| --------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| level     | string | Optional. <ul><li><b>user</b>: Returns only the user node.</li><li><b>device</b>: Returns user node and device nodes.</li><li><b>title</b>: Default. Returns the whole tree except activity.</li><li><b>all</b>: Returns the whole tree, including activity-level presence.</li></ul> |

<a id="ID4EIC" />

## Authorization

\| Type| Required| Description| Response if missing|
\| --- | --- | --- | --- | --- | --- | --- |
\| XUID| Yes| XBOX User ID (XUID) of the caller| 403 Forbidden|

<a id="ID4ELD" />

## Required Request Headers

\| Header| Type| Description|
\| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
\| Authorization| string| Authentication credentials for HTTP authentication. Example value: "XBL3.0 x=\<userhash>;\<token>".|
\| x-xbl-contract-version| string| Build name/number of the XBOX LIVE service to which this request should be directed. The request will only be routed to that service after verifying the validity of the header, the claims in the auth token, and so on. Example values: 3, vnext.|
\| Accept| string| Content-Types that are acceptable. The only one supported by Presence is application/json, but it must be specified in the header.|
\| Accept-Language| string| Acceptable locale for strings in the response. Example values: en-US.|
\| Host| string| Domain name of the server. Example value: presencebeta.xboxlive.com.|

<a id="ID4EPF" />

## Optional Request Headers

\| Header| Type| Description|
\| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
\| X-RequestedServiceVersion|  | Build name/number of the XBOX LIVE service to which this request should be directed. The request will only be routed to that service after verifying the validity of the header, the claims in the auth token, and so on. Default value: 1.|

<a id="ID4EPG" />

## Request body

No objects are sent in the body of this request.

<a id="ID4E1G" />

## Response body

<a id="ID4EAH" />

### Sample response

This method returns a [PresenceRecord](/reference/live/rest/json/json-presencerecord).

```cpp theme={null}
{
  xuid:"0123456789",
  state:"online",
  devices:
  [{
    type:"D",
    titles:
    [{
      id:"12341234",
      name:"Contoso 5",
      state:"active",
      placement:"fill",
      timestamp:"2012-09-17T07:15:23.4930000",
      activity:
      {
        richPresence:"Team Deathmatch on Nirvana"
      }
    },
    {
      id:"12341235",
      name:"Contoso Waypoint",
      timestamp:"2012-09-17T07:15:23.4930000",
      placement:"snapped",
      state:"active",
      activity:
      {
        richPresence:"Using radar"
      }
    }]
  },
  {
    type:W8,
    titles:
    [{
      id:"23452345",
      name:"Contoso Gamehelp",
      state:"active",
      placement:"full",
      timestamp:"2012-09-17T07:15:23.4930000",
      activity:
      {
        richPresence:"Nirvana page",
      }
    }]
  }]
}

```

<a id="ID4EQH" />

## See also

<a id="ID4ESH" />

##### Parent

[/users/me](/reference/live/rest/uri/presence/uri-usersme)


## Related topics

- [Request a User Store ID with X-tokens or OAuth 2.0](/publishing/xstore-commerce/xstore-requesting-userstoreid-oauth.md)
- [X-token 또는 OAuth 2.0으로 User Store ID 요청](/ko/publishing/xstore-commerce/xstore-requesting-userstoreid-oauth.md)
- [使用 X-token 或 OAuth 2.0 请求 User Store ID](/zh-CN/publishing/xstore-commerce/xstore-requesting-userstoreid-oauth.md)
- [Solicitud de un User Store ID con tokens X u OAuth 2.0](/es/publishing/xstore-commerce/xstore-requesting-userstoreid-oauth.md)
- [Speech accessibility user settings](/build/game-principles/accessibility/speech-accessibility.md)
