Skip to content

Quickstart

Use an environment variable so the key does not appear in the command itself.

Terminal window
export LEVNO_API_KEY="replace-with-your-key"
curl --fail-with-body \
     --header "API-KEY: $LEVNO_API_KEY" \
     --header "Accept: application/json" \
     "https://api.milk.levno.com/api/partner/public/v1/auth/me"

List the milk farms available to the authenticated partner:

curl --fail-with-body \
     --header "API-KEY: $LEVNO_API_KEY" \
     --header "Accept: application/json" \
     "https://api.milk.levno.com/api/partner/public/v1/milk/farm/list"

For parameters and response schemas, see our API references.