improved

Improved `/me` Endpoint Response

Beginning on Monday the 31st of May 2021, the /me endpoint will now return two new fields:

  • email The user's verified email. Only visible if you have permission to view user emails.
  • mobile The user's verified mobile number. Only visible if you have permission to view user phone numbers.

An example response from this endpoint will now look like this:

{
  "success": true,
  "item":
    {
      "_id": "user_ck9uh3kex000107muemzpdkr7",
      "created_at": "2020-05-05T22:17:08.121Z",
      "access_expires_at": "2021-06-07T20:32:16.221Z",
      "email": "[email protected]",
      "mobile": "+64111111111",
      "first_name": "Oliver",
      "last_name": "Fawcett-Griffiths",
      "preferred_name": "Olly",
    },
}