Using the API to get attachment URLs

I have PDF row attachments in a sheet. I need to get a direct URL to the attachment but I can't see a way to do this in the API.

Using the GUI to "send" the file provides a link - so I'm trying to get something similar through the API. I'm aware that the the URL using the GUI method expires after 30 days. I would prefer them to be permanent, but if that isn't possible, a 30 day link will suffice.

Best Answer

Answers