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>

Headers

PINNACLE-API-KEYstringRequired

Request

This endpoint expects an object.
urislist of stringsRequired
Array of file URIs to refresh for extended access. <br> Accepted formats: - **Full presigned URLs**: `https://server.trypinnacle.app/storage/v1/object/sign/...` - **Short URIs**: `{BUCKET}/${TEAM_ID}/...` (e.g., `vault/3/document.pdf`) Invalid or external URLs will be returned unchanged in the response.

Response

Successfully refreshed file URLs.
originalstring
The original file URI that was provided in the request.
refreshedstring
The new refreshed presigned URL that expires in one hour.

Errors