Skip to main content
POST
/
v2
/
vault
/
batch
Get multiple media items with all quality variants
curl --request POST \
  --url https://api-next.ofauth.com/v2/vault/batch \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <x-connection-id>' \
  --data '
{
  "mediaIds": [
    "<string>"
  ]
}
'
{
  "items": [
    {
      "id": "<string>",
      "type": "image",
      "duration": 123,
      "media": {}
    }
  ]
}

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

Headers

x-connection-id
string
required
Minimum string length: 1

Body

application/json
mediaIds
string[]
required
Maximum array length: 100

Response

Media items with all quality variants

items
object[]
required