Read Current User

This example request illustrates how to query for the current user.

XML

Request

GET /platform/users/current
Accept: application/x-fs-v1+xml
Authorization: Bearer YOUR_ACCESS_TOKEN_HERE

Response

HTTP/1.1 200 OK
Content-type: application/x-fs-v1+xml
X-processing-time: 3
Vary: Accept,Accept-Language,Accept-Encoding,Expect
Date: Sun, 03 Apr 1836 10:00:00 GMT-5
Cache-control: no-cache, no-store, no-transform, must-revalidate, max-age=0
Transfer-encoding: chunked<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<fs:familysearch xmlns:fs="http://familysearch.org/v1/" xmlns="http://gedcomx.org/v1/" xmlns:atom="http://www.w3.org/2005/Atom">
    <fs:user id="cis.MMM.RX9">
        <link rel="artifacts" href="https://api.familysearch.org/memories/users/user-id/memories?flag=fsh"/>
        <link rel="person" href="https://api.familysearch.org/tree/persons/JNM-VRQM?flag=fsh"/>
        <link rel="self" href="https://api.familysearch.org/platform/users/current?flag=fsh"/>
        <fs:contactName>Pete Townsend</fs:contactName>
        <fs:email>[email protected]</fs:email>
        <fs:fullName>Pete Townsend</fs:fullName>
        <fs:personId>JNM-VRQM</fs:personId>
        <fs:treeUserId>PXRQ-FMXT</fs:treeUserId>
    </fs:user>
</fs:familysearch>