files.upload

operation

Uploads an image file (JPEG, PNG, GIF or WebP, max 64 MiB) which can later be referenced by its file_id. Form fields: file, purpose (user_data) and optionally expires_after[anchor] (created_at) and expires_after[seconds] (3600-2592000).

POST /files
Arguments (1)
Name In Type Description
payload body multipart/form-data
Responses (2)
Status Code Type
200 File
999 Error
part of the Apioo-Project