API Reference / Git - Connection
Get connection status
get
https://api.intelig.ai/api/v1/intelig/git/connection/status
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: getConnectionStatus
Returns the current Git provider connection status including account details, webhook health, and sync state. Used by the Connection Status screen to display the health of the GitHub integration.
Example request
curl -X GET "https://api.intelig.ai/api/v1/intelig/git/connection/status" \
-H "Authorization: ApiKey $INTELIG_API_KEY" Response 200
application/json · ApiResponseGitConnectionStatusDto
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | GitConnectionStatusDto | Current state of the Git provider integration for an organization |
Status codes
200— Connection status returned successfully401— Organization context is missing or invalid429— —
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.