Unauthorized error for bitrise api

#1

I received the below error whenever I execute any API:-
{
“message”: “Unauthorized”
}

Am I missing some authorization as I have personal token but i have no idea about how to pass that token in the API.
My main intention is to get the public url from the API:- /apps/{app-slug}/builds/{build-slug}/artifacts/{artifact-slug}
and I have set the version code and app title variable when we click on ‘eye symbol’ in the app dashboard, so is there any way to achieve this?

Thank you

0 Likes

#2

You need to add token via header.
See how it is done using Authorize button on the same page you linked:

0 Likes

closed #3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes