How to Create or Manage API Keys

If you're a Verdigris customer and are interested in using the API, you will need an API key. You can generate your own API key or multiple keys for different activities through the Verdigris Admin Console.

  1. Go to the Admin Console at admin.verdigris.co to access your profile.
  2. Select "Manage Account" at the top of the screen.
  3. Click the "API Keys" tab.
  4. Click the "Create New Key" button.
  5. Enter a name and description for the token. Use the name and description to help you identify which key is used for different projects.
  6. Click "Create New Key".
27282728
  1. Save the "Client ID" and "Client Secret" for API usage - these are used to get bearer token
18841884

Note: You will need to create a new API key if you did not grab them. We can not get it for you after your API key is created.

  1. You will then use that Client ID and Client Secret to make a call to https://auth.verdigris.co/oauth/token to get your token.

  2. For the call to get token, you should have the request header and request body as below. Replace "my_client_id" and "my_client_secret" with your Client ID and Client Secret.

header = {'Content-Type': 'application/json'}

body = {"client_id": "my_client_id", 
"client_secret": "my_client_secret", 
       "grant_type": "client_credentials", 
       "audience": "https://api.verdigris.co/"}

*The API is currently restricted to active Verdigris customers.


Did this page help you?