organizationDataSync, see Provider Organizations.
Base URL
Endpoints
Provider organization list
Returns connected and not-connected organizations for a provider account when the provider supports that distinction.- Supported
{provider}values includeJohnDeereandTrimble. - John Deere returns both
connectedOrganizationsandnotConnectedOrganizations. - Trimble does not distinguish connected vs not connected in the same way.
Provider organization sync management
These paths control which organizations Leaf is allowed to process for a connected account.Sync-management operations in this group are John Deere only. Use
{provider} = JohnDeere.Example: organization list response
Example: GET organization list
Provider organization resource
Organization statuses
If a John Deere
managementUri contains connections-dialog, the connection is established. If it contains select-organizations, setup is incomplete until you fix the provider-side connection and run a sync again.
Sync scope configuration
organizationDataSync on the Leaf user configuration controls whether Leaf syncs every available organization or only those you mark SELECTED:
ALL— sync every organization the account can access.SELECTED_ONLY— sync only organizations you set toSELECTEDvia these endpoints.
Verify synced resources
Confirm grower, farm, and field counts after changing organization scope:GET https://api.withleaf.io/services/integrations/api/resources
See Integrations.
What to do next
- Read Provider Organizations for workflows and warnings.
- Use Provider credentials to connect the provider account first.
- Use Configurations for
organizationDataSyncandcustomDataSync.

