GitHub App OAuth

Integrate your application with the GitHub App OAuth API

🚀 Quickstart

Connect to GitHub App OAuth with Tenklo and see data flow in 2 minutes.

Create the integration

In Tenklo (free signup), go to Integrations -> Configure New Integration -> GitHub App OAuth.

Authorize GitHub App OAuth

Go to Connections -> Add Test Connection -> Authorize, then log in to GitHub App OAuth. Later, you'll let your users do the same directly from your app.

Call the GitHub App OAuth API

Let's make your first request to the GitHub API. Replace the placeholders below with your Environment API key, integration ID, and connection ID:

curl "https://api.tenklo.dev/proxy/repos" \
  -H "Authorization: Bearer <NANGO-API-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"

Or fetch credentials with the Node SDK or API.

✅ You're connected! Check the Logs tab in Tenklo to inspect requests.

Implement Tenklo in your app

Follow our Auth implementation guide to integrate Tenklo in your app.

To obtain your own production credentials, follow the setup guide linked below.

📚 GitHub App OAuth Integration Guides

Tenklo maintained guides for common use cases.

Official docs: GitHub Developer Documentation

🧩 Pre-built syncs & actions for GitHub App OAuth

Explore Nango-provided actions in your dashboard. Extend and customize them to fit your needs.

Others

Function nameDescriptionTypeSource code
add-issue-commentCreate a new comment on an issue or pull request discussion thread.Action🔗 Github
cancel-workflow-runCancel a queued or in-progress workflow run.Action🔗 Github
compare-commitsCompare two commits/branches/tags and get the diff, ahead/behind counts, and file list.Action🔗 Github
create-branchCreate a new branch (git ref) pointing at an existing commit.Action🔗 Github
create-commit-statusCreate a status (e.g. for CI) on a specific commit.Action🔗 Github
create-deployment-statusAdd a status update to a deployment (e.g. success, failure, in_progress).Action🔗 Github
create-deploymentCreate a new deployment.Action🔗 Github
create-issue-commentCreate a comment on an issue or pull requestAction🔗 Github
create-issueCreate a new issue in a GitHub repository.Action🔗 Github
create-labelCreate a repository label with name, color, and descriptionAction🔗 Github
create-or-update-fileCreate a new file, or update an existing one, via a single commit.Action🔗 Github
create-pages-siteEnable and configure a GitHub Pages site for a repository.Action🔗 Github
create-pull-request-reviewSubmit a review on a pull request (a comment, approval, or change request).Action🔗 Github
create-pull-requestCreate a new pull request.Action🔗 Github
create-releaseCreates a new release for a repositoryAction🔗 Github
create-review-requestRequest reviewers or teams on an open pull request.Action🔗 Github
create-tag-objectCreate an annotated git tag object for a commit or object SHA.Action🔗 Github
delete-branchDelete a branchAction🔗 Github
delete-fileDeletes a file from a GitHub repository via a single commitAction🔗 Github
delete-issue-commentDelete an issue or pull request comment.Action🔗 Github
delete-labelDelete a repository label by name.Action🔗 Github
delete-releaseDelete a release. The underlying git tag is not deleted by this call.Action🔗 Github
get-branchGet details of a single branch, including its latest commit sha.Action🔗 Github
get-commitGet details of a single commit by sha or ref.Action🔗 Github
get-file-contentGet the content and metadata of a file (or list a directory) at a given path and ref.Action🔗 Github
get-issueFetch a single issue or pull request issue record by number.Action🔗 Github
get-job-logs-download-urlGet the API endpoint URL for a workflow job log download. Due to Tenklo proxy limitations with 302 redirects, this returns the API endpoint rather than the actual download URL.Action🔗 Github
get-labelRetrieve a single repository label by name.Action🔗 Github
get-merge-queue-entryGet the merge queue entry for a specific pull request, if the repository has a merge queue enabled.Action🔗 Github
get-pages-siteGet the GitHub Pages site configuration of a repositoryAction🔗 Github
get-pull-requestGet details of a single pull request.Action🔗 Github
get-releaseGet details of a single release.Action🔗 Github
get-repositoryGet details of a repository.Action🔗 Github
get-reviewRetrieve a pull request review by review ID.Action🔗 Github
get-tag-refRetrieve a tag ref or branch-style Git reference.Action🔗 Github
get-workflow-run-jobGet details of a single job within a workflow run.Action🔗 Github
get-workflow-runGet details and status of a single workflow runAction🔗 Github
get-workflowGet details of a single workflow by ID or filename.Action🔗 Github
list-branchesList branches in a repository.Action🔗 Github
list-commit-statusesList all statuses posted for a specific commit.Action🔗 Github
list-commitsList commits on a branch or overall.Action🔗 Github
list-deployment-statusesList the status history of a deployment.Action🔗 Github
list-deploymentsList deployments for a repositoryAction🔗 Github
list-installation-repositoriesList the repositories this GitHub App installation has access toAction🔗 Github
list-issue-commentsList comments on an issue or pull request.Action🔗 Github
list-issuesList issues (and, per GitHub API design, pull requests too) in a repositoryAction🔗 Github
list-labelsList repository labels with pagination.Action🔗 Github
list-pull-request-commitsList the commits included in a pull request.Action🔗 Github
list-pull-request-filesList the files changed in a pull request.Action🔗 Github
list-pull-request-reviewsList reviews submitted on a pull request.Action🔗 Github
list-pull-requestsList pull requests in a repository.Action🔗 Github
list-release-assetsList assets uploaded to a repository release.Action🔗 Github
list-releasesList releases for a repository.Action🔗 Github
list-tagsList tags in a repository.Action🔗 Github
list-workflow-run-artifactsList artifacts produced by a workflow run.Action🔗 Github
list-workflow-run-jobsList the jobs that ran as part of a workflow run.Action🔗 Github
list-workflow-runsList workflow runs for a specific workflow or for the whole repository.Action🔗 Github
list-workflowsList GitHub Actions workflows defined in a repository.Action🔗 Github
merge-pull-requestMerge a pull requestAction🔗 Github
rerun-workflowRe-run a completed workflow runAction🔗 Github
search-codeSearch file contents across indexed GitHub repositories using code-search qualifiers.Action🔗 Github
search-commitsSearch commits across indexed repositories by message, author, or metadata qualifiers.Action🔗 Github
search-issues-and-pull-requestsSearch issues and pull requests across indexed repositories using GitHub's issue-search qualifiers.Action🔗 Github
search-labelsSearch for labels within a specific repository by name or description.Action🔗 Github
search-repositoriesSearch public and accessible repositories using GitHub's repository-search qualifiers.Action🔗 Github
search-topicsSearch GitHub topics (the tagging/categorization objects behind repository topic pages).Action🔗 Github
search-usersSearch GitHub user and organization accounts using user-search qualifiers.Action🔗 Github
trigger-workflow-dispatchManually trigger a workflow run (the workflow must have a workflow_dispatch trigger defined).Action🔗 Github
update-issue-commentUpdate the body of an existing comment.Action🔗 Github
update-issueEdit an issue's title, body, state, assignees, labels, or milestone.Action🔗 Github
update-labelUpdate a repository label's name, color, or description.Action🔗 Github
update-pull-requestUpdate a pull request's title, body, state, or base branch.Action🔗 Github
update-releaseUpdate an existing release's metadata.Action🔗 Github
update-repositoryUpdate repository-level settings such as description, homepage, default branch, feature toggles, merge options, and archived state.Action🔗 Github
branchesSync branches for a repository.Sync🔗 Github
commitsSync commits on a repository's default branch (or a specified branch).Sync🔗 Github
deploymentsSync deployments for a repository.Sync🔗 Github
issuesSync issues for one or more GitHub repositories with incremental updates based on issue activitySync🔗 Github
list-filesLists all the files of a Github repo given a specific branchSync🔗 Github
pull_requestsSync pull requests for a repository.Sync🔗 Github
releasesSync releases for a repository.Sync🔗 Github
repositoriesSync repositories visible to the authenticated GitHub app installationSync🔗 Github
repository-filesSync file metadata for a specific repository branch.Sync🔗 Github
workflow_runsSync GitHub Actions workflow runs for a repository.Sync🔗 Github

On this page