| name | Get the authenticated user |
|---|---|
| example | octokit.rest.users.getAuthenticated() |
| route | GET /user |
| scope | users |
| type | API method |
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();This endpoint has no parameters
See also: GitHub Developer Guide documentation.