The Bitski API uses OAuth to authenticate requests with a
Bearer token. Any API requests that require authentication made without this token will fail.
To authenticate you will use your Developer portal to obtain credentials which can then be used to generate a token. Once you have an access token, you can automatically sign transactions from your app’s wallet.
You should create a new credential for every service that needs to sign on your behalf.
Obtain an Access Token
To obtain a token:
- Go to your Developer Portal.
- Click Credentials.
- Click New Credential to generate a Client ID and Client Secret.
Refer to the screen shot below to navigate.
- Use these credentials to request the access token. See an example in Python in the following recipe:
Get an access token
Your credentials can be used to cause un-reversible interactions with the blockchain. Take care to always use them securely.