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.
urlslist of stringsRequired

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.
originalstring
The original file URI that was provided in the request.
refreshedstring
The new refreshed presigned URL that expires in one hour.

Errors