Skip to main content
POST
/
api
/
v2
/
external
/
storage
/
upload
Upload File
curl --request POST \
  --url https://api.lyceum.technology/api/v2/external/storage/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=<string>'
{
  "key": "<string>",
  "size": 123,
  "etag": "<string>",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Pass an API key (prefixed lk_) or a JWT access token as a bearer token. Generate API keys in the dashboard at https://dashboard.lyceum.technology/api-keys.

Query Parameters

key
string | null

Body

multipart/form-data
file
string
required

Response

Successful Response

key
string
required
size
integer
required
etag
string
required
message
string
required