Authenticating with the Bitrise API
Abstract
You need to create a personal access token to authenticate with the Bitrise API. The token is needed for all endpoints.
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).
-
Save it in a secure way.
-
Add an
Authorization
header with the access token to your API calls.curl -H 'Authorization: THE-ACCESS-TOKEN' https://api.bitrise.io/v0.1/me
In this section: