Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 526 Bytes

File metadata and controls

21 lines (15 loc) · 526 Bytes
name Get the authenticated user
example octokit.rest.users.getAuthenticated()
route GET /user
scope users
type API method

Get the authenticated user

OAuth app tokens and personal access tokens (classic) need the user scope in order for the response to include private profile information.

octokit.rest.users.getAuthenticated();

Parameters

This endpoint has no parameters

See also: GitHub Developer Guide documentation.