How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Create API

The Create API from GitHub — 84 operation(s) for create.

GitHub Create API is one of 350 APIs that GitHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and an API reference.

This API exposes 79 operations across 79 paths, and defines 125 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against 2 base URLs: {protocol}://{hostname}/api/v3, {protocol}://{hostname}.

79 operations 79 paths 125 schemas 70 POST9 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

GitHub Create API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerHttpAuthentication).

  • bearerHttpAuthentication — Bearer Token

Paths & Operations 79

Across 79 paths, the API surfaces 79 operations — 70 POST, 9 PUT. Each is listed below with its method, path, parameters, and response codes.

Create 79
POST
/app-manifests/{code}/conversions
GitHub Creategithub App Frommanifest
creategithubAppFrommanifest 1 param → 201404422
POST
/app/installations/{installation_id}/access_tokens
GitHub Create an Installation Access Token for an App
createAnInstallationAccessTokenForAnApp 1 param body → 201401403404422
POST
/applications/{client_id}/token/scoped
GitHub Createscoped Access Token
createscopedAccessToken 1 param body → 200401403404422
POST
/admin/users/{username}/authorizations
GitHub Create an Impersonation Oauth Token
createAnImpersonationOauthToken 1 param body → 200201
POST
/authorizationsdeprecated
GitHub Createnew Authorization
createnewAuthorization body → 201304401403410422
PUT
/authorizations/clients/{client_id}deprecated
GitHub Get or Create an Authorization Forspecific App
getOrCreateAnAuthorizationForspecificApp 1 param body → 200201304401403422
PUT
/authorizations/clients/{client_id}/{fingerprint}deprecated
GitHub Get or Create an Authorization Forspecific App and Fingerprint
getOrCreateAnAuthorizationForspecificAppAndFingerprint 2 params body → 200201422
POST
/gists/{gist_id}/comments
GitHub Creategist Comment
creategistComment 1 param body → 201304403404
POST
/orgs/{org}/actions/runner-groups
GitHub Create Self-hosted Runner Group for an Organization
createSelfhostedRunnerGroupForAnOrganization 1 param body → 201
POST
/orgs/{org}/actions/runners/registration-token
GitHub Create Registration Token for an Organization
createRegistrationTokenForAnOrganization 1 param → 201
POST
/orgs/{org}/actions/runners/remove-token
GitHub Create Remove Token for an Organization
createRemoveTokenForAnOrganization 1 param → 201
PUT
/orgs/{org}/actions/secrets/{secret_name}
GitHub Create or Update an Organization Secret
createOrUpdateAnOrganizationSecret 2 params body → 201204
POST
/orgs/{org}/actions/variables
GitHub Create an Organization Variable
createAnOrganizationVariable 1 param body → 201
POST
/orgs/{org}/custom-repository-roles
GitHub Create Custom Repository Role
createCustomRepositoryRole 1 param body → 201404422
PUT
/orgs/{org}/dependabot/secrets/{secret_name}
GitHub Create or Update an Organization Secret
createOrUpdateAnOrganizationSecret 2 params body → 201204
POST
/orgs/{org}/hooks
GitHub Create an Organization Webhook
createAnOrganizationWebhook 1 param body → 201404422
POST
/orgs/{org}/projects
GitHub Create an Organization Project
createAnOrganizationProject 1 param body → 201401403404410422
POST
/orgs/{org}/repos
GitHub Create an Organization Repository
createAnOrganizationRepository 1 param body → 201403422
POST
/orgs/{org}/teams
GitHub Create Team
createTeam 1 param body → 201403422
POST
/orgs/{org}/teams/{team_slug}/discussions
GitHub Create Discussion
createDiscussion 2 params body → 201
POST
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments
GitHub Create Discussion Comment
createDiscussionComment 3 params body → 201
POST
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions
GitHub Create Reaction for Team Discussion Comment
createReactionForTeamDiscussionComment 4 params body → 200201
POST
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions
GitHub Create Reaction for Team Discussion
createReactionForTeamDiscussion 3 params body → 200201
POST
/projects/columns/{column_id}/cards
GitHub Create Project Card
createProjectCard 1 param body → 201304401403422503
POST
/projects/{project_id}/columns
GitHub Create Project Column
createProjectColumn 1 param body → 201304401403422
POST
/repos/{owner}/{repo}/projects
GitHub Create Repository Project
createRepositoryProject 2 params body → 201401403404410422
POST
/user/projects
GitHub Create User Project
createUserProject body → 201304401403422
POST
/repos/{owner}/{repo}/actions/runners/registration-token
GitHub Create Registration Token for Repository
createRegistrationTokenForRepository 5 params → 201
POST
/repos/{owner}/{repo}/actions/runners/remove-token
GitHub Create Remove Token for Repository
createRemoveTokenForRepository 5 params → 201
PUT
/repos/{owner}/{repo}/actions/secrets/{secret_name}
GitHub Create or Update Repository Secret
createOrUpdateRepositorySecret 6 params body → 201204
POST
/repos/{owner}/{repo}/actions/variables
GitHub Create Repository Variable
createRepositoryVariable 5 params body → 201
POST
/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches
GitHub Create Workflow Dispatch Event
createWorkflowDispatchEvent 6 params body → 204
POST
/repos/{owner}/{repo}/autolinks
GitHub Create an Autolink Reference for Repository
createAnAutolinkReferenceForRepository 5 params body → 201422
POST
/repos/{owner}/{repo}/branches/{branch}/protection/required_signatures
GitHub Create Commit Signature Protection
createCommitSignatureProtection 6 params → 200404
PUT
/repos/{owner}/{repo}/dependabot/secrets/{secret_name}
GitHub Create or Update Repository Secret
createOrUpdateRepositoryDependabotSecret 6 params body → 201204
POST
/repos/{owner}/{repo}/hooks
GitHub Create Repository Webhook
createRepositoryWebhook 5 params body → 201403404422
POST
/repos/{owner}/{repo}/issues
GitHub Create an Issue
createAnIssue 5 params body → 201400403404410422503
POST
/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions
GitHub Create Reaction for an Issue Comment
createReactionForAnIssueComment 6 params body → 200201422
POST
/repos/{owner}/{repo}/issues/{issue_number}/comments
GitHub Create an Issue Comment
createAnIssueComment 6 params body → 201403404410422
POST
/repos/{owner}/{repo}/issues/{issue_number}/reactions
GitHub Create Reaction for an Issue
createReactionForAnIssue 6 params body → 200201422
POST
/repos/{owner}/{repo}/pulls
GitHub Create Pull Request
createPullRequest 5 params body → 201403422
POST
/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions
GitHub Create Reaction for Pull Request Review Comment
createReactionForPullRequestReviewComment 6 params body → 200201422
POST
/repos/{owner}/{repo}/pulls/{pull_number}/comments
GitHub Create Review Comment for Pull Request
createReviewCommentForPullRequest 6 params body → 201403422
POST
/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies
GitHub Create Reply for Review Comment
createReplyForReviewComment 7 params body → 201404
POST
/repos/{owner}/{repo}/pulls/{pull_number}/reviews
GitHub Create Review for Pull Request
createReviewForPullRequest 6 params body → 200403422
POST
/repos/{owner}/{repo}/check-runs
GitHub Create Check Run
createCheckRun 5 params body → 201
POST
/repos/{owner}/{repo}/check-suites
GitHub Create Check Suite
createCheckSuite 5 params body → 200201
POST
/repos/{owner}/{repo}/comments/{comment_id}/reactions
GitHub Create Reaction for Commit Comment
createReactionForCommitComment 6 params body → 200201422
POST
/repos/{owner}/{repo}/commits/{commit_sha}/comments
GitHub Create Commit Comment
createCommitComment 6 params body → 201403422
PUT
/repos/{owner}/{repo}/contents/{path}
GitHub Create or Update File Contents
createOrUpdateFileContents 6 params body → 200201404409422
POST
/repos/{owner}/{repo}/dependency-graph/snapshots
GitHub Create Snapshot of Dependencies for Repository
createSnapshotOfDependenciesForRepository 5 params body → 201
POST
/repos/{owner}/{repo}/deployments
GitHub Create Deployment
createDeployment 5 params body → 201202409422
POST
/repos/{owner}/{repo}/deployments/{deployment_id}/statuses
GitHub Create Deployment Status
createDeploymentStatus 6 params body → 201422
POST
/repos/{owner}/{repo}/dispatches
GitHub Create Repository Dispatch Event
createRepositoryDispatchEvent 5 params body → 204422
PUT
/repos/{owner}/{repo}/environments/{environment_name}
GitHub Create or Update an Environment
createOrUpdateAnEnvironment 6 params body → 200422
POST
/repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies
GitHub Create Deployment Branch Policy
createDeploymentBranchPolicy 6 params body → 200303404
PUT
/repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}
GitHub Create or Update an Environment Secret
createOrUpdateAnEnvironmentSecret 7 params body → 201204
POST
/repos/{owner}/{repo}/environments/{environment_name}/variables
GitHub Create an Environment Variable
createAnEnvironmentVariable 6 params body → 201
POST
/repos/{owner}/{repo}/forks
GitHub Create Fork
createFork 5 params body → 202400403404422
POST
/repos/{owner}/{repo}/git/blobs
GitHub Create Blob
createBlob 5 params body → 201403404409422
POST
/repos/{owner}/{repo}/git/commits
GitHub Create Commit
createCommit 5 params body → 201404422
POST
/repos/{owner}/{repo}/git/refs
GitHub Create Reference
createReference 5 params body → 201422
POST
/repos/{owner}/{repo}/git/tags
GitHub Create Tag Object
createTagObject 5 params body → 201422
POST
/repos/{owner}/{repo}/git/trees
GitHub Create Tree
createTree 5 params body → 201403404422
POST
/repos/{owner}/{repo}/keys
GitHub Create Deploy Key
createDeployKey 5 params body → 201422
POST
/repos/{owner}/{repo}/labels
GitHub Create Label
createLabel 5 params body → 201404422
POST
/repos/{owner}/{repo}/milestones
GitHub Create Milestone
createMilestone 5 params body → 201404422
POST
/repos/{owner}/{repo}/pages
GitHub Create Github Enterprise Server Pages Site
createGithubEnterpriseServerPagesSite 5 params body → 201409422
POST
/repos/{owner}/{repo}/pages/deployments
GitHub Create Github Pages Deployment
createGithubPagesDeployment 5 params body → 200400404422
POST
/repos/{owner}/{repo}/releases
GitHub Create Release
createRelease 5 params body → 201422
POST
/repos/{owner}/{repo}/releases/{release_id}/reactions
GitHub Create Reaction for Release
createReactionForRelease 6 params body → 200201422
POST
/repos/{owner}/{repo}/statuses/{sha}
GitHub Create Commit Status
createCommitStatus 6 params body → 201
POST
/repos/{owner}/{repo}/tags/protection
GitHub Create Tag Protection State for Repository
createTagProtectionStateForRepository 5 params body → 201403404
POST
/repos/{template_owner}/{template_repo}/generate
GitHub Create Repository Using Template
createRepositoryUsingTemplate 5 params body → 201
POST
/setup/api/start
GitHub Create Github License
createGithubLicense body → 202401
POST
/teams/{team_id}/discussionsdeprecated
GitHub Create Discussion (legacy)
createDiscussionLegacy 1 param body → 201
POST
/teams/{team_id}/discussions/{discussion_number}/commentsdeprecated
GitHub Create Discussion Comment (legacy)
createDiscussionCommentLegacy 2 params body → 201
POST
/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactionsdeprecated
GitHub Create Reaction for Team Discussion Comment (legacy)
createReactionForTeamDiscussionCommentLegacy 3 params body → 201
POST
/teams/{team_id}/discussions/{discussion_number}/reactionsdeprecated
GitHub Create Reaction for Team Discussion (legacy)
createReactionForTeamDiscussionLegacy 2 params body → 201

Schemas 125

The contract defines 125 schemas that model the data the API accepts and returns. The most detailed are full-repository_2 (102 properties), full-repository (102 properties), nullable-repository_2 (95 properties), nullable-repository (95 properties). Each schema is shown below with its type and property counts.

validation-error-simple
object
Validation Error Simple
3 properties 2 required
installation-token
object
Authentication token for a GitHub App installed on a user or org.
8 properties 2 required
simple-user
object
A GitHub user.
21 properties 18 required
repository
object
A repository on GitHub.
95 properties 73 required
validation-error
object
Validation Error
3 properties 2 required
basic-error
object
Basic Error
4 properties
nullable-scoped-installation
objectnull
7 properties 5 required
integration
object
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They…
17 properties 11 required
authorization
object
The authorization for an OAuth app, GitHub App, or a Personal Access Token.
15 properties 13 required
app-permissions
object
The permissions granted to the user access token.
45 properties
nullable-simple-user
objectnull
A GitHub user.
21 properties 18 required
nullable-license-simple
objectnull
License Simple
6 properties 5 required
gist-comment
object
A comment made to a gist.
8 properties 8 required
author-association
string
How the author is associated with the repository.
nullable-repository
objectnull
A repository on GitHub.
95 properties 73 required
authentication-token
object
Authentication Token
6 properties 2 required
team-organization
object
Team Organization
48 properties 23 required
team-full
object
Groups of organization members that gives permissions on specified repositories.
18 properties 15 required
runner-groups-org
object
12 properties 7 required
security-and-analysis
objectnull
3 properties
webhook-config-content-type
string
The media type used to serialize the payloads. Supported values include json and form. The default is form.
webhook-config-secret
string
If provided, the secret will be used as the key to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-serve…
team-discussion
object
A team discussion is a persistent record of a free-form conversation within a team.
18 properties 17 required
webhook-config-url
string
The URL to which the payloads will be delivered.
webhook-config-insecure-ssl
organization-custom-repository-role-create-schema
object
4 properties 3 required
code-of-conduct-simple
object
Code of Conduct Simple
4 properties 4 required
project
object
Projects are a way to organize columns and cards of work.
15 properties 13 required
nullable-team-simple
objectnull
Groups of organization members that gives permissions on specified repositories.
12 properties 10 required
reaction-rollup
object
10 properties 10 required
empty-object
object
An object without any properties.
full-repository
object
Full Repository
102 properties 75 required
team-discussion-comment
object
A reply to a discussion within a team.
13 properties 12 required
organization-custom-repository-role
object
Custom repository roles created by organization owners
8 properties 7 required
reaction
object
Reactions to conversations provide a way to help people express their feelings more simply and effectively.
5 properties 5 required
org-hook
object
Org Hook
11 properties 10 required
project-card
object
Project cards represent a scope of work.
13 properties 9 required
project-column
object
Project columns contain cards of work.
8 properties 8 required
empty-object_2
object
An object without any properties.
simple-user_2
object
GitHub user.
21 properties 18 required
authentication-token_2
object
Authentication Token
6 properties 2 required
repository_2
object
repository on GitHub.
95 properties 73 required
nullable-license-simple_2
object
License Simple
6 properties 5 required
validation-error_2
object
Validation Error
3 properties 2 required
autolink
object
An autolink reference.
4 properties 4 required
protected-branch-admin-enforced
object
Protected Branch Admin Enforced
2 properties 2 required
empty-object_3
object
An object without any properties.
hook
object
Webhooks for repositories.
13 properties 12 required
hook-response
object
3 properties 3 required
validation-error_3
object
Validation Error
3 properties 2 required
webhook-config
object
Configuration object of the webhook
4 properties
issue-comment
object
Comments provide a way for people to collaborate on an issue.
14 properties 9 required
scim-error
object
Scim Error
6 properties
simple-user_3
object
GitHub user.
21 properties 18 required
nullable-integration
object
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They…
17 properties 11 required
repository_3
object
repository on GitHub.
95 properties 73 required
validation-error_4
object
Validation Error
3 properties 2 required
nullable-simple-user_2
object
GitHub user.
21 properties 18 required
issue
object
Issues are a great way to keep track of tasks, enhancements, and bugs for your projects.
34 properties 21 required
nullable-milestone
object
collection of related issues and pull requests.
16 properties 16 required
nullable-license-simple_3
object
License Simple
6 properties 5 required
nullable-simple-user_3
object
GitHub user.
21 properties 18 required
project_2
object
Projects are a way to organize columns and cards of work.
15 properties 13 required
link
object
Hypermedia Link
1 property 1 required
pull-request
object
Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of…
48 properties 42 required
simple-user_4
object
GitHub user.
21 properties 18 required
validation-error_5
object
Validation Error
3 properties 2 required
team-simple
object
Groups of organization members that gives permissions on specified repositories.
12 properties 10 required
auto-merge
object
The status of auto merging a pull request.
4 properties 4 required
pull-request-review-comment
object
Pull Request Review Comments are comments on a portion of the Pull Request's diff.
29 properties 16 required
pull-request-review
object
Pull Request Reviews are reviews on pull requests.
13 properties 10 required
nullable-simple-user_4
object
GitHub user.
21 properties 18 required
nullable-milestone_2
object
collection of related issues and pull requests.
16 properties 16 required
nullable-license-simple_4
object
License Simple
6 properties 5 required
git-tree
object
The hierarchy between files in a Git repository.
4 properties 4 required
tag-protection
object
Tag protection
5 properties 1 required
check-suite
object
suite of checks performed on the code of a given code change
19 properties 17 required
wait-timer
integer
The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).
metadata
object
User-defined metadata to store domain-specific information limited to 8 keys with scalar values.
status
object
The status of a commit.
11 properties 11 required
deployment-simple
object
deployment created as the result of an Actions check run from a workflow that references an environment
14 properties 10 required
simple-commit
object
commit.
6 properties 6 required
verification
object
4 properties 4 required
pages-https-certificate
object
4 properties 3 required
pull-request-minimal
object
5 properties 5 required
short-blob
object
Short Blob
2 properties 2 required
release
object
release.
22 properties 17 required
check-run
object
check performed on the code of a given code change
17 properties 16 required
nullable-simple-user_5
object
GitHub user.
21 properties 18 required
snapshot
object
Create a new snapshot of a repository's dependencies.
8 properties 6 required
team
object
Groups of organization members that gives permissions on specified repositories.
13 properties 11 required
deployment-reviewer-type
string
The type of reviewer.
git-commit
object
Low-level Git commit operations within a repository
10 properties 10 required
validation-error_6
object
Validation Error
3 properties 2 required
release-asset
object
Data related to a release.
13 properties 13 required
nullable-team-simple_2
object
Groups of organization members that gives permissions on specified repositories.
12 properties 10 required
empty-object_4
object
An object without any properties.
dependency
object
5 properties
deployment-branch-policy
object
Details of a deployment branch policy.
3 properties
manifest
object
4 properties 1 required
nullable-license-simple_5
object
License Simple
6 properties 5 required
nullable-repository_2
object
repository on GitHub.
95 properties 73 required
code-of-conduct
object
Code Of Conduct
5 properties 4 required
minimal-repository
object
Minimal Repository
87 properties 46 required
file-commit
object
File Commit
2 properties 2 required
security-and-analysis_2
object
3 properties
label
object
Color-coded labels help you categorize and filter your issues (just like labels in Gmail).
7 properties 7 required
milestone
object
collection of related issues and pull requests.
16 properties 16 required
deployment
object
request for a specific ref(branch,sha,tag) to be deployed
18 properties 14 required
environment
object
Details of a deployment environment
9 properties 7 required
git-ref
object
Git references within a repository
4 properties 4 required
git-tag
object
Metadata for a Git tag
8 properties 7 required
deployment-branch-policy-name-pattern-with-type
object
1 property 1 required
pages-source-hash
object
2 properties 2 required
simple-user_5
object
GitHub user.
21 properties 18 required
nullable-integration_2
object
GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They…
17 properties 11 required
repository_4
object
repository on GitHub.
95 properties 73 required
page-deployment
object
The GitHub Pages deployment status.
3 properties 2 required
page
object
The configuration for GitHub Pages for a repository.
12 properties 5 required
deploy-key
object
An SSH key granting access to a single repository.
9 properties 7 required
commit-comment
object
Commit Comment
14 properties 13 required
code-of-conduct-simple_2
object
Code of Conduct Simple
4 properties 4 required
full-repository_2
object
Full Repository
102 properties 75 required
deployment-status
object
The status of a deployment.
15 properties 11 required
deployment-branch-policy-settings
object
The type of deployment branch policy for this environment. To allow all branches to deploy, set to null.
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-create-api-openapi.yml Raw ↑

Other APIs GitHub publishes across the network.

GitHub Events API
GitHub Feeds API
GitHub Gists API
GitHub Issues API
GitHub Licenses API
GitHub Markdown API
GitHub Meta API
GitHub Notifications API
GitHub Octocat API
GitHub Projects API
GitHub Repos API
GitHub Search API
Where this information came from

This is an independent, third-party profile of GitHub Create API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.