How to get an API Token from Digital Ocean
An authorization token is required when connecting to Digital Ocean through a third-party app. The token is used in the header tag of the connection to verify that you’ve authorized the connection.
To get the API token, log into the control panel through the log-in page: https://cloud.digitalocean.com/login
Then click on the Apps & API (1) link and go to the Generate new token (2) button.
After clicking on the Apps & API link, you’ll get to New Personal Access Token page. First enter a token name (3) – I have TestToken in the example below. Then select the access level (4), read is recommended unless you want the app you are authorizing to edit droplets and settings in your account. Finally, click on Generate Token (5) to generate your token.
Clicking Generate Token will take you back to the Personal Access tokens page. At this point you’ll be presentated with the token. Copy this token to a safe place. You will only see it once. Use the delete button to delete the token.
Written by M Kapoor
September 21, 2014 at 8:26 pm
Posted in DigitalOcean
Tagged with Access Token, api, authorization token, control panel, digital ocean, digitalocean, gettoken
2 Responses
Subscribe to comments with RSS.
[…] URL to access i.e. https://api.digitalocean.com/v2/droplets/ auth_key: Authorization key from […]
Getting a JSON object from DigitalOcean | Code Pearls
September 23, 2014 at 3:46 pm
[…] This link shows how to get the API token from the DO interface:https://blog.xyzio.com/2014/09/21/how-to-get-an-api-token-from-digital-ocean/ […]
AnalogDesert for DigitalOcean APK v2.3 Free Download
May 24, 2015 at 1:54 pm