Skip to content

GET /wpcom/v2/hosting/github/installations

Return a list of installations that a GitHub user has access to through app installations. Note that you will want to authorize GitHub in your WordPress environment before using it.

Resource Information

   
Method GET
URL https://public-api.wordpress.com/wpcom/v2/hosting/github/installations
Requires authentication? Yes

Response Example

					
						[
    {
        "external_id": 123456,
        "provider": "github",
        "account_name": "github-owner",
        "management_url": "",
        "repository_selection": "selected | all"
    }
]					
				

Resource Errors

This endpoint does not return any errors.