Refresh File URLs
Refresh expiring presigned URLs for Pinnacle-hosted files to extend their access time.
<Callout type="info">
This only works for presigned download URLs. At this moment, you cannot refresh a presigned upload URL, generate a new one instead.
</Callout>
Authentication
PINNACLE-API-KEYstring
API Key authentication via header
Request
This endpoint expects an object.
urls
Array of file URLs to refresh for extended access. Provided URLs must be presigned URLs (i.e. https://server.trypinnacle.app/storage/v1/object/sign/...). Invalid or external URLs will be returned unchanged in the response.
Response
Successfully refreshed file URLs.
original
The original file URI that was provided in the request.
refreshed
The new refreshed presigned URL that expires in one hour.

