The current API supports only one type of authentication: user generated Personal Access Tokens. Workspaces do not have their own access tokens.
Every API endpoint requires authentication, except the “root” URL (https://api.bitrise.io).
Acquiring a Personal Access Token ⚓
- Sign in on bitrise.io.
- Go to your Account Settings page.
- Select the Security tab on the left side.
- Click the
Generate new tokenbutton to create a new Personal Access Token.
- Save the generated token.
Authenticating with the API ⚓
To provide the required access token, you have to add a HEADER to your requests, with the key
Authorization and the value of your token.
An example API call with auth, using
curl -H 'Authorization: THE-ACCESS-TOKEN' https://api.bitrise.io/v0.1/me