Skip to main content
POST
/
api
/
settings
/
github
Configure GitHub App
curl --request POST \
  --url http://localhost:8080/api/settings/github \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "app_id": 123,
  "webhook_secret": "<string>",
  "pem_content": "<string>"
}
'
{
  "configured": true,
  "pem_uploaded": true,
  "app_id": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
app_id
integer
required
webhook_secret
string
required
pem_content
string | null

Response

Successful Response

configured
boolean
required
pem_uploaded
boolean
required
app_id
integer | null