# GET /2.0/repositories stops working

Calls to GET /2.0/repositories on Bitbucket Cloud API stopped working on April 14, 2026.

On April 14, 2026, Bitbucket Cloud removed the cross-workspace repository endpoint. Requests to GET /2.0/repositories fail since that date and no longer function. Any integrations calling this endpoint must be updated.

## What to use instead

List the user's workspaces with GET /2.0/user/workspaces, then list each workspace's repositories with GET /2.0/repositories/{workspace}.

- API: Bitbucket Cloud API (api.bitbucket.org)
- Kind: Endpoint removal
- Takes effect: April 14, 2026
- Calls after that day: fail
- Calls it hits: `GET /2.0/repositories`
- Source: [Announcement](https://community.developer.atlassian.com/t/bitbucket-cloud-announcing-end-of-life-for-cross-workspace-apis-timeline-next-steps-and-instructions-for-connect-apps/99972)
- Verified: November 6, 2026, against Bitbucket Cloud API's own pages
- Page: https://www.okapi.bot/providers/bitbucket-cloud-api/breaking-changes/get-2-0-repositories-stops-working/

## Bitbucket Cloud API's words

> on April 14 we will move the old cross-workspace APIs into the end of life phase. This means that these APIs will no longer work and all integrations that rely on them will not function.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
