Skip to main content
GET
List GitHub organizations

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Scopes

full_access

Headers

X-Active-Branch-Id
string

ID of the branch the editor shows. Used when branch_id is omitted, for users who work on protected-main branches.

Path Parameters

app_id
string
required

ID of the app whose workspace decides which GitHub organizations you can use.

Response

The GitHub accounts you can create the app's repository in.

id
integer
required

GitHub's numeric ID for the account.

Example:

1024547

login
string
required

GitHub username or organization name. Pass it as org_name to Connect an app to GitHub.

Example:

"base44"

avatar_url
string
required

URL of the account's GitHub profile picture.

Example:

"https://avatars.githubusercontent.com/u/1024547?v=4"

installation_id
string
required

ID of the Base44 GitHub App installation on this account. Pass it as installation_id to Connect an app to GitHub.

Example:

"58231904"

type
enum<string>
required

Either User for your personal account or Organization for an organization.

Available options:
User,
Organization
Example:

"Organization"

repository_selection
enum<string>
default:all

Whether the Base44 GitHub App can reach all repositories in this account or only chosen ones. Either all or selected. You can't create a new repository under an account set to selected, so switch that account to all repositories in GitHub first, under Settings > Applications > Base44 > Repository access.

Available options:
all,
selected
Example:

"all"

missing_pr_automation_permissions
string[]

GitHub App permissions required for PR automation but not granted.

missing_pr_automation_events
string[]

GitHub App webhook subscriptions required for PR automation but absent.