This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.
The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for users
Use the REST API to get public and private information about authenticated users.
- REST API endpoints for users, 1 of 7
- REST API endpoints for emails, 2 of 7
- REST API endpoints for followers, 3 of 7
- List followers of the authenticated user, 1 of 8
- List the people the authenticated user follows, 2 of 8
- Check if a person is followed by the authenticated user, 3 of 8
- Follow a user, 4 of 8
- Unfollow a user, 5 of 8
- List followers of a user, 6 of 8
- List the people a user follows, 7 of 8
- Check if a user follows another user, 8 of 8
- REST API endpoints for GPG keys, 4 of 7
- REST API endpoints for Git SSH keys, 5 of 7
- REST API endpoints for social accounts, 6 of 7
- REST API endpoints for SSH signing keys, 7 of 7