Skip to main content
POST
Upload file with link

Path Parameters

token
string
required

Token of an upload link from POST /v1/files with file_name. It replaces the API key and works for 15 minutes.

Body

multipart/form-data

The file itself, sent as multipart/form-data.

file
file
required

The file: an image (such as a GIF), a video, a PDF, or M4A audio, up to 20 MB.

Response

File uploaded. Attach it by its file_id; files nothing uses are deleted after 30 days.

data
object
required

file once a file is uploaded; upload for a file_name request.