EndpointsUpload
Upload Image
Path Parameters
upload_type*string
Value in
"attachment" | "avatar" | "cover"Header Parameters
auth?|
Cookie Parameters
auth?|
Request Body
multipart/form-data
file*file
Format
binaryResponse Body
application/json
application/json
curl -X PUT "https://api.hikka.io/upload/attachment" \ -F file="string"{
"url": "string"
}{
"message": "Example error message",
"code": "example_error"
}