Skip to main content

Get git provider integrations

GET 

/v2/integrations/git

Gets your connected git provider accounts (GitHub App, GitLab and Bitbucket), each with the workspaces you can create a repository in. Only authorized accounts are returned, and accounts whose access was revoked are left out.

Use the id of an integration as the providerId in the Create git repository and Register deployment key endpoints.

Status 200

Response Headers
    {
    "data": [
    {
    "id": "github-app",
    "provider": "github",
    "workspaces": [
    {
    "id": "janedoe",
    "label": "janedoe"
    }
    ],
    "addWorkspaceUrl": "https://github.com/apps/apify/installations/new"
    }
    ]
    }