Skip to main content
Leaf connects to Valley irrigation systems using API credentials. Once connected, Leaf syncs irrigation activity data for the Leaf user.

Prerequisites

  1. A Valley account with API access.
  2. Your Valley API credentials: apid, initializationVector, key, username, and password.

Credentials schema

Endpoints

Base URL: https://api.withleaf.io/services/usermanagement/api

Create credentials

Response

Troubleshooting

Use the events endpoint to check credential health. Events are retained for 30 days and are deleted when the credential is removed.

What to do next

Last modified on March 19, 2026