---
title: "GET /vcs/bitbucket/authorize"
method: GET
path: "/vcs/bitbucket/authorize"
tags: ["vcs"]
---

# GET /vcs/bitbucket/authorize

`GET /vcs/bitbucket/authorize`

Get and save a user Bitbucket token to their database object. This allows subsequent queries for Bitbucket data from the user scope.

## Query parameters

- `code` string, required
- `state` string, required

## Response `200`

Default Response

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

## Changes

- **2026-08-07** `8dff1e93bc68` — 1 info
  - api operation id `getvcsBitbucketAuthorize` removed and replaced with `getVcsBitbucketAuthorize`

[Change history](https://skmtc.dev/scalar/apis/core/changes/vcs/bitbucket/authorize/get.md)

---

[API](https://skmtc.dev/scalar/apis/core.md) · [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scalar/core/revisions/8dff1e93bc68/schema)
