Skip to main content
GET
List GitHub organizations

Authorizations

api_key
string
header
required

Personal API key.

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 a GitHub repository.

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 a GitHub repository.

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"