Skip to content

POST /media/image

Upload a logo: the raw image bytes as the body (image/png, jpeg, gif or webp, up to 5 MB).

POST https://marketmayhem.co/api/v1/media/image

The image itself: raw bytes, with Content-Type image/png, image/jpeg, image/gif or image/webp. Up to 5 MB.

FieldTypeRequiredMeaning
urlstringyes
typestringyes
bytesintegeryes

Every error is { "error": { "code", "message", "fix"? } }. This endpoint can answer: