Bold VideoDocs

Admin Images

Upload an image

POST
/api/v1/admin/images

Authorization

admin_api_token
X-Bold-Admin-Api-Key<token>

Privileged admin key (bold_live_* with admin: true) for Mission Control and support automation. Do not put this key in customer-owned apps.

In: header

Request Body

multipart/form-data

Image file

file*string

Image file bytes. Sniffed by magic bytes against jpeg/png/gif/webp/avif (the client-declared content type is never trusted); SVG is rejected. Max 5 MB.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.boldvideo.io/api/v1/admin/images" \  -F file="string"
{
  "data": {
    "content_type": "image/jpeg",
    "key": "uploads/bt_demo/images/abc123.jpg",
    "size": 102400,
    "url": "https://uploads.eu1.boldvideo.io/uploads/bt_demo/images/abc123.jpg"
  }
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "details": {},
  "error": "string",
  "status": 0,
  "timestamp": "2019-08-24T14:15:22Z"
}