Welcome to the Earthdata User Forum! Here, subject matter experts from several NASA Distributed Active Archive Centers (DAAC) can discuss general questions, research needs and data applications. Users can query how to access, view and interpret the data.
The LP DAAC does not currently have an API set up to access GEDI Version 1 L1B-L2A-L2B products. However, we are working on adding GEDI Version 2 L1B-L2A-L2B products into the Application for Extracting and Exploring Analysis Ready Samples (AppEEARS), which has an API for submitting requests for subsets of geospatial data products. In order to stay informed on when GEDI Version 2 data are released to the public and eventually added into AppEEARS, I would recommend signing up for the LP DAAC Listserv: https://lists.nasa.gov/mailman/listinfo/lpdaac.