GitHub Copilot · Authentication Profile

Github Copilot Authentication

Authentication

GitHub Copilot secures its APIs with http and oauth2 across 2 declared security schemes, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

AgentsArtificial IntelligenceCode GenerationCode ReviewCoding AgentsCustom InstructionsDeveloper ToolsExtensionsIDEMachine-LearningMCPMetricsProductivity
Methods: http, oauth2 Schemes: 2 OAuth flows: authorizationCode API key in:

Security Schemes

BearerToken http
scheme: bearer
OAuthToken oauth2
· flows: authorizationCode

Source

Authentication Profile

Raw ↑
generated: '2026-06-20'
method: searched
source: openapi/github-copilot-openapi.yml
docs: https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api
summary:
  types:
  - http
  - oauth2
  oauth2_flows:
  - authorizationCode
schemes:
- name: BearerToken
  type: http
  scheme: bearer
  description: Personal access token (classic) with manage_billing:copilot, read:org, or read:enterprise
    scopes; or fine-grained token with GitHub Copilot Business (read) or Administration (read)
    permissions.
  sources:
  - openapi/github-copilot-openapi.yml
- name: OAuthToken
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://github.com/login/oauth/authorize
    tokenUrl: https://github.com/login/oauth/access_token
    scopes: 5
  sources:
  - openapi/github-copilot-openapi.yml
token_types:
- Personal access token (classic) — Authorization bearer; carries OAuth scopes (see scopes/github-copilot-scopes.yml).
- Fine-grained personal access token — uses org "GitHub Copilot Business" (read) and "Administration" permissions.
- OAuth app token / GitHub App installation token — Authorization bearer.
notes: >-
  All GitHub REST requests require a User-Agent header and send the bearer token
  in the Authorization header. Docs:
  https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api
  and https://docs.github.com/en/rest/copilot/copilot-user-management for the
  Copilot per-endpoint permission matrix.

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/github-copilot-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.