---
title: "Create Bitbucket OAuth Installation (MSP)"
method: POST
path: "/api/v1/installations/create-bitbucket-oauth-installation"
tags: ["Installations"]
---

# Create Bitbucket OAuth Installation (MSP)

`POST /api/v1/installations/create-bitbucket-oauth-installation`

## Request

- Base URL: `https://zeropath.com`
- URL: `https://zeropath.com/api/v1/installations/create-bitbucket-oauth-installation`
- Auth: API key in header `X-ZeroPath-API-Token-Id` and API key in header `X-ZeroPath-API-Token-Secret`

## Request body

- CreateBitbucketOAuthInstallationInput
  - `accessToken` string, required
  - `refreshToken` string
  - `workspace` string, required
  - `organizationId` string, required
  - `bitbucketAppId` string, required

## Response `200`

Successful response

- object
  - `id` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized

---

[API](https://skmtc.dev/zeropath/apis/zeropath-api-2.md) - [All operations](https://skmtc.dev/zeropath/apis/zeropath-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zeropath/apis/zeropath-api-2/revisions/ea6ae4b68cd3?raw)
