put
/api/platform/integrations/githubConfigure GitHub App
This is a system-level route, so the response will be independent of the currently authenticated user.
This is a platform-admin only route.
Creates or updates the platform-level GitHub App configuration.
Operation ID:
put-github-app-configRequest Body
Request Body
required
application/jsonPutGitHubAppConfigInputBody
appIdrequired
integer(int64)GitHub App ID
clientIdrequired
stringOAuth Client ID for user authentication
clientSecretstringOAuth Client Secret (only sent when updating)
privateKeyPEMstringPrivate key in PEM format (only sent when updating)
webhookSecretstringWebhook secret for verifying GitHub webhook payloads (only sent when updating)
Responses
Responses
OK
GitHubAppConfigResponse
appIdrequired
integer(int64)appNamerequired
stringappSlugrequired
stringclientIdrequired
stringclientSecretConfiguredrequired
booleanprivateKeyConfiguredrequired
booleanwebhookSecretConfiguredrequired
booleanExample Response
{
"appId": 0,
"appName": "string",
"appSlug": "string",
"clientId": "string",
"clientSecretConfigured": true,
"privateKeyConfigured": true,
"webhookSecretConfigured": true
}Example Request
cURLcurl -X PUT "https://activate.parallel.works/api/platform/integrations/github" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'