136 lines
2.4 KiB
Markdown
136 lines
2.4 KiB
Markdown
[Skip to content](https://coolify.io/docs/api-reference/api/operations/create-github-app#VPContent)
|
||
|
||
Return to top
|
||
|
||
Create GitHub App[](https://coolify.io/docs/api-reference/api/operations/create-github-app#create-github-app)
|
||
|
||
===============================================================================================================
|
||
|
||
POST
|
||
|
||
/github-apps
|
||
|
||
Create a new GitHub app.
|
||
|
||
Authorizations[](https://coolify.io/docs/api-reference/api/operations/create-github-app#authorizations)
|
||
|
||
---------------------------------------------------------------------------------------------------------
|
||
|
||
bearerAuth
|
||
|
||
Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
|
||
|
||
Type
|
||
|
||
HTTP (bearer)
|
||
|
||
Request Body[](https://coolify.io/docs/api-reference/api/operations/create-github-app#request-body)
|
||
|
||
-----------------------------------------------------------------------------------------------------
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"name": "string",
|
||
|
||
"organization": "string",
|
||
|
||
"api\_url": "string",
|
||
|
||
"html\_url": "string",
|
||
|
||
"custom\_user": "string",
|
||
|
||
"custom\_port": 0,
|
||
|
||
"app\_id": 0,
|
||
|
||
"installation\_id": 0,
|
||
|
||
"client\_id": "string",
|
||
|
||
"client\_secret": "string",
|
||
|
||
"webhook\_secret": "string",
|
||
|
||
"private\_key\_uuid": "string",
|
||
|
||
"is\_system\_wide": true
|
||
|
||
}
|
||
|
||
Responses[](https://coolify.io/docs/api-reference/api/operations/create-github-app#responses)
|
||
|
||
-----------------------------------------------------------------------------------------------
|
||
|
||
201400401422
|
||
|
||
GitHub app created successfully.
|
||
|
||
Content-Type
|
||
|
||
application/json
|
||
|
||
SchemaJSON
|
||
|
||
JSON
|
||
|
||
{
|
||
|
||
"id": 0,
|
||
|
||
"uuid": "string",
|
||
|
||
"name": "string",
|
||
|
||
"organization": "string",
|
||
|
||
"api\_url": "string",
|
||
|
||
"html\_url": "string",
|
||
|
||
"custom\_user": "string",
|
||
|
||
"custom\_port": 0,
|
||
|
||
"app\_id": 0,
|
||
|
||
"installation\_id": 0,
|
||
|
||
"client\_id": "string",
|
||
|
||
"private\_key\_id": 0,
|
||
|
||
"is\_system\_wide": true,
|
||
|
||
"team\_id": 0
|
||
|
||
}
|
||
|
||
POST
|
||
|
||
/github-apps
|
||
|
||
Playground[](https://coolify.io/docs/api-reference/api/operations/create-github-app#playground)
|
||
|
||
-------------------------------------------------------------------------------------------------
|
||
|
||
Authorization
|
||
|
||
bearerAuth
|
||
|
||
Body
|
||
|
||
Try it out
|
||
|
||
Samples[](https://coolify.io/docs/api-reference/api/operations/create-github-app#samples)
|
||
|
||
-------------------------------------------------------------------------------------------
|
||
|
||
Powered by [VitePress OpenAPI](https://github.com/enzonotario/vitepress-openapi)
|