v8

latestOpenAPI 3.0.3raw.githubusercontent.com2026-05-2526602.8 MB
Media Vault

Upload Media to Vault

Upload a media file directly to your vault.

post/api/{account}/media/vault

Response

Synchronous upload (default)

Example response

{
  "data": {
    "id": 1234567890,
    "type": "photo",
    "convertedToVideo": false,
    "canView": true,
    "hasError": false,
    "createdAt": "2026-04-03T16:16:36+00:00",
    "isReady": false,
    "files": {
      "full": {
        "url": null,
        "width": 0,
        "height": 0,
        "size": 0,
        "sources": []
      },
      "thumb": null,
      "preview": null,
      "squarePreview": null
    },
    "duration": 0,
    "releaseForms": [],
    "hasCustomPreview": false
  },
  "_meta": {
    "_credits": {
      "used": 3,
      "balance": 636132,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 5000,
      "limit_day": null,
      "remaining_minute": 4999,
      "remaining_day": null
    }
  }
}