Empezar

Quickstart

Three steps from zero to your first response.

  1. 1

    Get your apiKey

    Sign in, open your profile menu and pick “API Key Access”. If your plan doesn't include API access yet, you'll see right there which one enables it.

  2. 2

    Store it as an environment variable

    Never write it into your code or commit it to a repository: anyone holding that key can act as you.

    bash
    export KAAX_API_KEY="tu-api-key"
  3. 3

    Make your first request

    curl "https://www.kaax-agritech.com/api/v2/analyses?type=counting&limit=5" \
      -H "apiKey: $KAAX_API_KEY"

Authentication

Every request authenticates with the apiKey header. Without it, the API answers 401.

http
apiKey: tu-api-key

Treat it like a password. The apiKey never expires and grants access to your account's data. Keep it server-side, out of the browser and out of version control.

Siguiente: convenciones