I am trying to create links and then list all of the links for all subfolders inside a folder. I’m very new to API so I would need very basic instructions if this is possible.
If you're new to the Dropbox API, I recommend reading the Getting Started guide:
https://www.dropbox.com/developers/reference/getting-started
To create a shared link for any particular file or folder, you would use the /2/sharing/create_shared_link_with_settings endpoint:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
To list the shared links for any particular folders, you should call /2/sharing/list_shared_links for each folder:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links
By the way, those last two links are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:
https://www.dropbox.com/developers/documentation
Those have corresponding native methods for the HTTPS endpoints.