Authorizations
Path Parameters
Available options:
logo, avatar, banner Body
multipart/form-data
Upload an image (logo, avatar, etc.)
curl --request POST \
--url https://api.wacht.dev/upload/{image_type} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file{
"url": "https://storage.wacht.dev/images/logo-abc123.png",
"size": 45678,
"mime_type": "image/png"
}logo, avatar, banner curl --request POST \
--url https://api.wacht.dev/upload/{image_type} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-file{
"url": "https://storage.wacht.dev/images/logo-abc123.png",
"size": 45678,
"mime_type": "image/png"
}