Loading
Loading
Download a processed PDF file from the APIFreaks workspace using its resource ID. Retrieve the final output after any PDF operation.
Use this endpoint to download a file or ZIP archive from the server by providing its resource ID.
Authorize every request with your API key, passed either as a header or as a query parameter:
X-apiKeyapiKeyThis is version v1.0 of the API.
The following parameter is required.
resource_idrequiredStringThe unique identifier of the file or ZIP archive to download.
A successful request returns the file as a binary stream (200 OK).
Content-TypeMIME type of the file. Example: application/pdf or application/zip.
Content-DispositionIndicates file is an attachment. Example: attachment; filename="file.pdf"
Content-LengthSize of the file in bytes.
Besides the response body, every response carries custom headers you can use to track credit usage, and concurrency usage on endpoints that enforce a concurrency limit. See the Custom Response Headers documentation and the endpoints with concurrency limits for more details.
X-Concurrent-Threadsheaderconcurrency-limited endpointsSpecifies the maximum number of concurrent requests allowed.
X-Concurrent-Threads-Activeheaderconcurrency-limited endpointsIndicates the number of active concurrent requests being processed.
X-AF-Credits-Costheaderall responsesSpecifies the number of credits consumed by the current request.
See the HTTP Status Codes documentation for a complete reference of common API errors and HTTP status codes.
Please provide a valid resource ID.