Skip to main content

List GitHub repository branches

GET 

/api/v1/integrations/github/repos/:owner/:repo/branches

List branches on a GitHub repository along with its default branch.

Uses the installation access token — the repository must be granted to the caller's GitHub App installation. owner and repo are format-validated against GitHub's allowed character set and rejected as 400 if they contain .. or other disallowed characters.

  • Scope required: integrations:read.

Request

Responses

Successful Response