cURL
curl --request GET \
--url https://us.infisical.com/api/v1/app-connections/github{
"appConnections": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"app": "github",
"method": "github-app",
"credentials": {
"instanceType": "server",
"host": "<string>",
"gitHubAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"description": "<string>",
"version": 1,
"isPlatformManagedCredentials": false,
"gatewayId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "<string>",
"isAutoRotationEnabled": false,
"gatewayPoolId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rotation": {
"rotationInterval": 123,
"rotateAtUtc": {
"hours": 123,
"minutes": 123
},
"lastRotationMessage": "<string>",
"nextRotationAt": "2023-11-07T05:31:56Z"
},
"credentialsHash": "<string>",
"project": {
"name": "<string>",
"id": "<string>",
"type": "<string>",
"slug": "<string>"
}
}
]
}GitHub
List
List the GitHub Connections for the current organization or project.
GET
/
api
/
v1
/
app-connections
/
github
cURL
curl --request GET \
--url https://us.infisical.com/api/v1/app-connections/github{
"appConnections": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"orgId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"app": "github",
"method": "github-app",
"credentials": {
"instanceType": "server",
"host": "<string>",
"gitHubAppId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"description": "<string>",
"version": 1,
"isPlatformManagedCredentials": false,
"gatewayId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"projectId": "<string>",
"isAutoRotationEnabled": false,
"gatewayPoolId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rotation": {
"rotationInterval": 123,
"rotateAtUtc": {
"hours": 123,
"minutes": 123
},
"lastRotationMessage": "<string>",
"nextRotationAt": "2023-11-07T05:31:56Z"
},
"credentialsHash": "<string>",
"project": {
"name": "<string>",
"id": "<string>",
"type": "<string>",
"slug": "<string>"
}
}
]
}Query Parameters
The ID of the project to list GitHub Connections from.
Response
Default Response
appConnections
(GitHub (GitHub App) · object | GitHub (OAuth) · object | GitHub (Personal Access Token) · object)[]
required
- GitHub (GitHub App)
- GitHub (OAuth)
- GitHub (Personal Access Token)
Show child attributes
Show child attributes
Was this page helpful?
⌘I