Skip to main content

Authentication

Authenticating Requests

AgPowered Services APIs authenticate requests using a simple API key. Include your API key on every request with the Api-Key header:

Api-Key: YOUR_API_KEY

Your API key is provided to you as part of onboarding. Treat it as a secret — do not commit it to source control or expose it in client-side code.

Here is how you would include the header in a request:

curl --location 'YOUR_API_ENDPOINT' \
--header 'Api-Key: YOUR_API_KEY'