Browse documentation

Creating and Authorizing an API Key

Use the Grigora API to connect your project to other applications and automate tasks. First, generate an API key from your project dashboard, then use it to authorize requests.

Generating Your API Key

An API key is a unique identifier that authenticates requests associated with your project.

Navigate to Settings: Open your Grigora Dashboard and select Settings from the main navigation menu on the left.

Settings entry indicated in the Grigora dashboard sidebar.

Access API Settings: Within the Settings menu, click on API Settings.

API settings card indicated on the website Settings page.

Create a New Key: Provide a descriptive name for your API key. This will help you identify its purpose later (e.g., "Zapier Integration" or "Mobile App Sync"). Click Generate Key.

API key name field and Generate Key button.

Copy Your Key: Your new API key will be displayed on the screen.

New API key confirmation with a copy control indicated.

⚠️ Important Security Notice For security reasons, your API key will only be shown once. Make sure to copy and store it in a secure location immediately. If you lose the key, you will need to revoke it and generate a new one.


Authorizing API Requests

To authenticate your API calls, you need to include your generated API key in the request header.

The base endpoint for all API calls is: https://api.grigora.co/general/api/v1

When making a request, pass the key as an Authorization header. Grigora will automatically associate the request with the correct project.

Here is an example of how to structure your request using cURL:

Bash

curl -X GET "https://api.grigora.co/general/api/v1/{endpoint}" \
-H "Authorization: YOUR_API_KEY"

Replace YOUR_API_KEY with the key you copied earlier and {endpoint} with the specific API endpoint you wish to access.

Your API key is now authorized. See the API reference guides for available endpoints and request details.


Help guide image