Logo
15_Days_of_Postman_-_for_testers_IvanKo API Documentation

Get authenticated user

GET {{baseUrl}}/me

Gets information about the authenticated user.

Note:

This API returns a different response for users with the [Guest role]

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "user": { "id": 12345678, "username": "taylor-lee", "email": "taylor.lee@example.com", "fullName": "Taylor Lee", "avatar": null, "isPublic": true, "teamId": 0, // This value indicates that the user is not assigned to a Postman team. "teamName": "", "teamDomain": "", "roles": [ "user" ] } }



Curl
curl -X GET 'https://api.getpostman.com/me'

ENDPOINTS