cURL
GitHub
Create
Create a GitHub Connection.
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://infisical-docs-self-host-infra.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
GitHub Connections must be created through the Infisical UI.
Check out the configuration docs for GitHub Connections for a step-by-step
guide.
Body
application/json
- Option 1
- Option 2
- Option 3
The method used to authenticate with GitHub.
Available options:
github-app The credentials used to connect with GitHub.
- Option 1
- Option 2
The name of the GitHub Connection to create. Must be slug-friendly.
Required string length:
1 - 64An optional description for the GitHub Connection.
Maximum string length:
256The ID of the project to create the GitHub Connection in.
Not supported for GitHub Connections.
Available options:
false The Gateway ID to use for this connection.
Not supported for GitHub Connections.
Available options:
false Not supported for GitHub Connections.
Response
Default Response
- GitHub (GitHub App)
- GitHub (OAuth)
- GitHub (Personal Access Token)