Movabase Docs
Public API

Connect Bitbucket repository

Connects a Bitbucket repository to the project. Tests the connection before saving. Requires `canEditProjects` permission.

POST
/api/projects/{project-id}/bitbucket
sb-access-token<token>

Supabase Auth session cookie. Automatically set when users log in via the Movabase web app.

In: cookie

Path Parameters

project-id*string

Project ID

Formatuuid

Request Body

application/json

workspace*string

Bitbucket workspace slug

repo_slug*string

Repository slug

access_token*string

OAuth access token

refresh_token?string

OAuth refresh token

branch?string

Branch name (optional)

base_path?string

Base path for translation files in repo (optional)

format?string

File format for translations

Value in"json" | "po" | "android" | "ios"

Response Body

application/json

curl -X POST "https://app.movabase.com/api/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/bitbucket" \  -H "Content-Type: application/json" \  -d '{    "workspace": "string",    "repo_slug": "string",    "access_token": "string"  }'
{
  "success": true,
  "message": "string"
}