Skip to main content

Authentication

Agrograph uses a unique HTTP header X-API-KEY to provide authentication. This allows for protected access to the Agrograph REST API.

Once you have your API Key, you will add the API Key to the request using HTTP header X-API-KEY.

An example using curl is given below:

curl -X POST "https://api.agrograph.com/v1/production" \
-H "X-API-KEY: YOUR_UNIQUE_API_KEY_HERE"
...

Agrograph also provides other security schemas in specialized circumstances, including OAuth v2.0.