Data Types

Path Variables

Path variables allow you to specify values that get replaced during upload.

You may use path variables in the folderPath and fileName fields of your uploads, but not in the filePath field, since this is interpreted literally.

Path VariableExampleDescription

{ORIGINAL_FILE_NAME}

my-file

Name of the file on the uploader's device (excludes the file extension).

{ORIGINAL_FILE_EXT}

.jpg

File extension of the file on the uploader's device (includes the leading "." character).

{UTC_DATE}

2022-12-25

The current date (UTC).

{UTC_TIME}

13:54:13.133

The current time (UTC).

{UTC_TIME_TOKEN}

1km9SFvS

The current time (UTC) encoded as base-58. Always 8 digits in length. Value increases over time.

{UTC_TIME_TOKEN_INVERSE}

4mvUKdK2

The current time (UTC) inverted and encoded as base-58. Always 8 digits in length. Value decreases over time. Useful for sorting files by time descending (if used at the start of the file name).

{UTC_YEAR}

2022

The current year (UTC).

{UTC_MONTH}

12

The current month (UTC).

{UTC_DAY}

25

The current day (UTC).

{UTC_HOUR}

21

The current hour in a 24-hour format (UTC).

{UTC_MINUTE}

09

The current minute (UTC).

{UTC_SECOND}

12

The current second (UTC).

{UTC_MILLISECOND}

073

The current millisecond (UTC).

{UNIQUE_DIGITS_X}

xZe591

Unique numbers and letters (base-58).

If this variable is present and a unique path cannot be determined, the file upload will return an error.

Replace X with a value from 1 to 20.

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: