GitHub v3 REST API
API Keys
This document explains how to generate, use, and manage API keys to authenticate and interact with our API securely.
This document explains how to generate, use, and manage API keys to authenticate and interact with our API securely.
API keys are unique identifiers used to authenticate requests associated with your project. Treat them like passwords—keep them secure!
To generate an API key:
⚠️ You won’t be able to view this key again after closing the dialog.
Include your API key in the request header:
GET /v1/projects
Host: api.example.com
Authorization: Bearer YOUR_API_KEY