How do I create or manage API keys?

To use the API, you need an authentication "key" or "token". Learn how to create and manage your API keys for programmatic data access.

 

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".

support-createAPIkey

7. Save the "Client ID" and "Client Secret" for API usage - these are used to get bearer token

support-clientsecret

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.

8. 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.

9. 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/"}