API
tryapis.com
Find anything
⌘ K
GitHub API Endpoints
actions
activity
apps
Get the authenticated app

GET

Create a GitHub App from a manifest

POST

Get a webhook configuration for an app

GET

Update a webhook configuration for an app

PATCH

List deliveries for an app webhook

GET

Get a delivery for an app webhook

GET

Redeliver a delivery for an app webhook

POST

List installations for the authenticated app

GET

Get an installation for the authenticated app

GET

Delete an installation for the authenticated app

DELETE

Create an installation access token for an app

POST

Suspend an app installation

PUT

Unsuspend an app installation

DELETE

Delete an app authorization

DELETE

Check a token

POST

Reset a token

PATCH

Delete an app token

DELETE

Create a scoped access token

POST

Get an app

GET

List repositories accessible to the app installation

GET

Revoke an installation access token

DELETE

Get a subscription plan for an account

GET

List plans

GET

List accounts for a plan

GET

Get a subscription plan for an account (stubbed)

GET

List plans (stubbed)

GET

List accounts for a plan (stubbed)

GET

Get an organization installation for the authenticated app

GET

Create a content attachment

POST

Get a repository installation for the authenticated app

GET

List app installations accessible to the user access token

GET

List repositories accessible to the user access token

GET

Add a repository to an app installation

PUT

Remove a repository from an app installation

DELETE

List subscriptions for the authenticated user

GET

List subscriptions for the authenticated user (stubbed)

GET

Get a user installation for the authenticated app

GET

billing
checks
code-scanning
codes-of-conduct
emojis
enterprise-admin
gists
git
gitignore
interactions
issues
licenses
markdown
meta
migrations
oauth-authorizations
orgs
packages
projects
pulls
rate-limit
reactions
repos
scim
search
secret-scanning
teams
users

POST

https://api.github.com/repos/owner/repo/content_references/content_reference_id/attachments

Creates an attachment under a content reference URL in the body or comment of an issue or pull request. Use the id and repository full_name of the content reference from the content_reference event to create an attachment.

The app must create a content attachment within six hours of the content reference URL being posted. See "Using content attachments" for details about content attachments.

You must use an installation access token to access this endpoint.

Scopes requested: user, public_repo, repo, notifications, gist
Authorization
tryapis.com never stores your requests or responses