Skip to main content

UserService

A list of all methods in the UserService service. Click on the method name to view detailed information about that method.

MethodsDescription
getAuthenticatedUserGets information about the authenticated user. Note: This API returns a different response for users with the Guest role.

getAuthenticatedUser

Gets information about the authenticated user. Note: This API returns a different response for users with the Guest role.

  • HTTP Method: GET
  • Endpoint: /me

Return Type

GetAuthenticatedUser

Example Usage Code Snippet

import { PostmanClient } from 'postman_client';

(async () => {
const postmanClient = new PostmanClient({
apiKey: 'YOUR_API_KEY',
});

const { data } = await postmanClient.user.getAuthenticatedUser();

console.log(data);
})();

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →