Skip to content
Amendable docs
Search
Ctrl
K
Cancel
Select theme
Auto
Light
Dark
Getting started
Quickstart
For agents
How it works
Authentication
Guides
Repositories
Git over HTTPS
Fetch files
Access tokens
Webhooks
OIDC for machines
GitHub Actions
Bring your own S3
Usage and quotas
Build a Git product
CLI
Install
Login
Command reference
API
Overview
Errors
HTTP reference
Overview
Repositories
List repositories
GET
Create a repository
POST
Get a repository
GET
Delete a repository
DELETE
Commits and branches
List repository branches
GET
List repository commits
GET
Contents
Get repository contents at the root
GET
Get repository contents at a path
GET
Access tokens
List access tokens
GET
Create an access token
POST
Get an access token
GET
Update an access token
PUT
Delete an access token
DELETE
Webhooks
List webhooks
GET
Create a webhook
POST
Get a webhook
GET
Delete a webhook
DELETE
Send a ping event to a webhook
POST
List recent deliveries for a webhook
GET
OIDC trust
Exchange an OIDC ID token for a short-lived access token
POST
OIDC trust rule issuer presets and GitHub Actions snippet
GET
List OIDC trust rules
GET
Create an OIDC trust rule
POST
Get an OIDC trust rule
GET
Update an OIDC trust rule
PUT
Delete an OIDC trust rule
DELETE
Storage buckets
List BYO storage buckets
GET
Register a BYO storage bucket
POST
List BYO storage provider errors
GET
OIDC setup hints for BYO storage IAM trust
GET
Update a BYO storage bucket
PUT
Delete a BYO storage bucket
DELETE
Verify a BYO storage bucket (canary probe)
POST
Account
Get repository, storage, and transfer usage against quotas
GET
Reference
Grants and scopes
Webhook payloads
Limits
Troubleshooting
Select theme
Auto
Light
Dark
List webhooks
GET
/v1/webhooks
Authorizations
Section titled “Authorizations”
HTTPBearer
HTTPBearer
API_WEBHOOKS
Responses
Section titled “Responses”
200
Section titled “200”
Successful Response
Select media type
application/json
ListWebhooksResponse
object
webhooks
required
Webhooks
Array<object>
Webhook
object
id
required
Id
string
url
required
Url
string
events
required
Events
Array<string>
active
required
Active
boolean
secret
Any of:
string
null
string
null
last_delivery_at
Any of:
string
null
string
null
last_delivery_status
Any of:
string
null
string
null
created_at
Any of:
string
null
string
null