Skip to main content
POST
/
media
Upload media
curl --request POST \
  --url https://api.marketordie.io/v1/media \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "data": {
    "id": "<string>",
    "type": "image",
    "url": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Your API key as a bearer token: Authorization: Bearer mod_live_…. (You can also send it as x-api-key.)

Body

multipart/form-data
file
file
required

The image file.

Response

Uploaded

data
object