An authenticated user of the Postman API is the owner of the API key that you’re sending through a request. Accessing information about an authenticated user is really useful when you want to populate a user interface, or when you need that information to interact with other systems. Now, you can use the
/me Postman API endpoint to access what you need—including the authenticated user’s username, full name, and email address.
What information is available
Retrieving information about the authenticated user works by making a
GET request to the Postman API
/me endpoint. You’ll be able to find the user’s information by inspecting the response’s user attribute. You will find the following attributes:
|A numeric value representing the Postman user ID.|
|A string with the user’s username.|
|A string with the user’s e-mail address.|
|A string with the user’s full name.|
|The URL of the user’s profile picture.|
|A boolean that indicates if the user profile is public. Public profiles have the |
Retrieve the user’s information now
Now that you’ve seen how it works—and what specific (and helpful) user information you can retrieve—try it yourself today by opening the “API Key Owner” request in the Postman Public Workspace and execute a request.
What do you think about this topic? Tell us in a comment below.