Skip to main content

Get File url by ID

GET 

/storage/files/:id/url

Description: Retrieve a file URL for a specified ID. The generated URL automatically downloads the file. If you haven't generated a file yet, use the appropriate endpoint to do so.

Request

Path Parameters

    id stringrequired

    File ID.

Header Parameters

    nonce stringrequired

    The nonce ID is a UUID (v4) used to uniquely identify the request. All requests must have an identifier.

    x-lang string

    Possible values: [pt-BR, en-US]

    Indicates the preferred language. Defaults to Brazilian Portuguese if unspecified.

    x-product-uuid string

    The product ID is a UUID (v4) used to identify the Z.ro product configuration.

    x-product-target-user-uuid string

    The product target user ID is a UUID (v4) used to identify what user account this request must be executed. Require: x-product-uuid.

Responses

File URL returned successfully.

Schema
    url stringrequired

    URL File.

    size numberrequired

    Size File. This format is is byte. Ex: 307504 Byte => 300 KB => 0,3 MB

Authorization: http

name: bearertype: httpscheme: bearerbearerFormat: JWT
curl -L -X GET 'https://docs.zrobank.io/storage/files/:id/url' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Request Collapse all
Auth
Parameters
— pathrequired
— headerrequired
— header
— header
— header
ResponseClear

Click the Send API Request button above and see the response here!