API Reference / Auth

Check GitHub App installation status

get https://api.intelig.ai/api/v1/intelig/auth/github/installation/status

Auth: Authorization: ApiKey <key> (an API key sent as Bearer is rejected) or Authorization: Bearer <jwt> for a dashboard session. operationId: getInstallationStatus

Checks whether the GitHub App is installed for the current user's organization. Returns installation ID if installed.

Example request

curl -X GET "https://api.intelig.ai/api/v1/intelig/auth/github/installation/status" \
  -H "Authorization: ApiKey $INTELIG_API_KEY"

Response 200

application/json · ApiResponseMapStringObject

FieldTypeDescription
success boolean
message string
data object

Status codes

  • 200 — Installation status returned successfully
  • 401 — User is not authenticated
  • 429 — —

Every response is wrapped in { success, message, data }. A 4xx means the request is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.