Skip to main content

Upload file by url.

POST 

/storage/upload

Description: Retrieve a file URL to upload. When your upload finish, send the confirmation and you can download your file.

Request

Header Parameters

    x-wallet-uuid string

    Sender Wallet UUID (if empty, your default Wallet UUID will be settled)

    x-transaction-uuid stringrequired

    The transaction ID is a UUID (v4) used to uniquely identify the object that will be created. All objects must have an identifier.

    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.

Body

required
    file_date date-timerequired

    The reference file date. Format: YYYY-MM-DD.

    file_name stringrequired

    The name of the file with extension.

    folder_name stringrequired

    Folder name. The requested value will be concatenated with the identifier of the user making the request.

    file_type objectrequired

    File type.

    gateway_name objectrequired

    The destination gateway for this file.

Responses

File URL returned successfully.

Schema
    file_id stringrequired

    File ID

    url stringrequired

    File URL

Loading...