Response body for BasicUpload.
{}
{ "accountId": "YOUR_ACCOUNT_ID", "filePath": "/uploads/file.txt", "fileUrl": "https://upcdn.io/A623uY2/raw/uploads/file.txt"}
Your account ID.
This is visible on the settings page:
https://upload.io/dashboard/settings
Type: String
Length: 7
Example: "A623uY2"
Required: Yes
The file's path.
We recommend you save this value to your database (instead of the file's URL).
This value always begins with a /.
Type: String
Min Length: 1
Max Length: 512
Example: "/uploads/file.txt"
Required: Yes
The file's raw URL (i.e. with no file transformations applied).
Type: String
Min Length: 1
Max Length: 255
Example: "https://upcdn.io/A623uY2/raw/uploads/file.txt"
Required: Yes
This website uses cookies. By continuing you are consenting to the use of cookies per our cookie policy.
This website requires a modern web browser -- the latest versions of these browsers are supported: