Me

Quick information about the authenticated user.

URLRequires AuthHTTP Method
/api/v1/meyesGET

Example Call


<code>curl -H <span class="hljs-string">"X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq"</span> \ -H <span class="hljs-string">"X-User-Id: aobEdbYhXfu5hkeqG"</span> \ http://localhost:3000/api/v1/me </code>

Example Result

<code>{
  <span class="hljs-attr">"_id"</span>: <span class="hljs-string">"aobEdbYhXfu5hkeqG"</span>,
  <span class="hljs-attr">"name"</span>: <span class="hljs-string">"Example User"</span>,
  <span class="hljs-attr">"emails"</span>: [
    {
      <span class="hljs-attr">"address"</span>: <span class="hljs-string">"example@example.com"</span>,
      <span class="hljs-attr">"verified"</span>: <span class="hljs-literal">true</span>
    }
  ],
  <span class="hljs-attr">"status"</span>: <span class="hljs-string">"offline"</span>,
  <span class="hljs-attr">"statusConnection"</span>: <span class="hljs-string">"offline"</span>,
  <span class="hljs-attr">"username"</span>: <span class="hljs-string">"example"</span>,
  <span class="hljs-attr">"utcOffset"</span>: <span class="hljs-number">0</span>,
  <span class="hljs-attr">"active"</span>: <span class="hljs-literal">true</span>,
  <span class="hljs-attr">"success"</span>: <span class="hljs-literal">true</span>
}</code>