Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Does Bitbucket Cloud SCM support using an api_token in the Authorization header without Base64 Encod

Pankaj Kumar Malviya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 27, 2025

Does Bitbucket Cloud SCM support using an api_token in the Authorization header without Base64 encoding and without the Basic prefix?

I have been using Bitbucket Cloud SCM APIs, such as repository fetch and others. When I pass the API token directly, without the Authorization header, the API works fine.

However, I am unable to find documentation for this approach and believe the documentation is missing.

The documentation states:
App passwords have been replaced by API tokens.
As of September 9, 2025, app passwords can no longer be created. Use API tokens with scopes instead. All existing app passwords will be disabled on June 9, 2026. Migrate any integrations before then to avoid disruptions.

Please suggest the correct way to use the API token:

Authorization: Basic Base64Encode({username}:{api_token})

OR

Authorization: {api_token} (There is no documentation for this method, but it currently works.)

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 29, 2025

Hi @Pankaj Kumar Malviya

Welcome to the community.

You can check our documentation here on how to use API tokens.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events