Skip to main content
POST
Upload files

Authorizations

X-API-KEY
string
header
required

API key for the Twice API

Body

multipart/form-data
files
file[]
required

One or more files to upload (repeat the field per file).

folderPath
string

Optional folder to place the uploaded files in.

Response

200

fileName
string
required
success
boolean
required
url
string | null
required
error
string | null
required
data
object