Skip to main content
GET
Get GitHub connection

Authorizations

api_key
string
header
required

Personal API key.

Path Parameters

app_id
string
required

ID of the app whose GitHub connection to use.

Response

The app's GitHub connection.

Current connection status for an app.

connected
boolean
required

true when the app still has its repository connection, including one whose status is error or revoked. false only when the app never connected and when its repository was disconnected.

Example:

true

repo_full_name
string | null

Full repository name, as owner/repo. null when connected is false.

Example:

"base44/lead-tracker"

repo_url
string | null

URL of the repository on GitHub. null when connected is false.

Example:

"https://github.com/base44/lead-tracker"

clone_urls
CloneUrls · object | null

URLs and CLI command for cloning the repository. null when connected is false.

org_name
string | null

GitHub username or organization that owns the repository. null when connected is false.

Example:

"base44"

status
enum<string> | null

Health of the connection. active works normally, error hit a technical failure, and revoked means the GitHub App access was withdrawn. The last two still report connected: true, so this is the field that tells you the connection needs repair. null when connected is false.

Available options:
active,
disconnected,
error,
revoked
Example:

"active"

installation_id
string | null

ID of the Base44 GitHub App installation backing this connection. null when connected is false, and on a connection stored without one.

Example:

"58231904"

webhook_active
boolean
default:false

true when the repository has the Base44 webhook that triggers automatic pulls. While this is false on a connected app, GitHub isn't telling Base44 about pushes, so nothing arrives until you pull.

Example:

true

connected_by_user_id
string | null

ID of the Base44 user who connected the repository. null when connected is false.

Example:

"6820f3a4e7b91d003c45a1f0"