Files
Upload an image
Upload an image file. Supported formats are jpg, jpeg, png, gif, and webp. The maximum file size is 10 MB.
Upload an image file. Supported formats are jpg, jpeg, png, gif, and webp. The maximum file size is 10 MB.
X-API-Key<token>
In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/files/images" \ -F file="string"{ "code": 0, "data": { "file_key": "string" }}