Skip to navigation

Download a media rendition

Streams the bytes of one rendition through the API in exchange for a fetch grant.

Get the grant from POST /partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/fetch-grant and call the url it returns.

Checks on every request

  • Your application’s access is checked again in full. A revoked token, creator link or agency grant is refused from the next request.
  • The grant must name your application, this creator and this asset.
  • EVVA checks again that the creator’s own delivery rules serve this rendition.

Errors

  • 403 MEDIA_FETCH_GRANT_INVALID — the grant is refused: it is malformed, forged, expired or another application’s.

Required scopes: read:media.

Authentication

AuthorizationBearer

OAuth 2.0 client credentials. Request an access token at POST /partner/v1/oauth/token (grant_type=client_credentials) with the application’s client secret or a private_key_jwt assertion, then send it as Authorization: Bearer evpa_live_… (or evpa_test_… for a sandbox application). Tokens are opaque and short lived (see expires_in); there is no refresh token. Each operation lists the scopes it requires.

Required scopes:read:media

Path parameters

creatorIdstringRequired>=1 character

The creator profile id — the ONLY source of the creator a request acts for.

mediaAssetIdstringRequired>=1 character

Headers

X-Creator-IdstringOptional

Optional echo of the path creatorId; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.

Query parameters

grantstringRequired<=2048 characters

The fetch grant, as carried in the url of POST /partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/fetch-grant.

Response

The rendition’s bytes, sent with Cache-Control: private, no-store.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error