Skip to navigation

Create a media fetch grant

Creates a short-lived grant that lets your application fetch one rendition of a vault asset, never the original and never a storage URL.

Request

role is a delivery role: thumbnail, preview, display, full, locked_preview, poster, one of the audio roles or document_file. It is never original. EVVA issues the grant only when the creator’s own delivery rules serve that rendition.

Redeeming the grant

Call the returned url before expiresAt, with the same credential you used to create the grant. The grant works only for your application. The url is served by GET /partner/v1/accounts/{creatorId}/media/assets/{mediaAssetId}/bytes.

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.

Request

This endpoint expects an object.
rolestringRequired

A delivery role — never original.

Response

Grant issued.
mediaAssetIdstring
rolestring
mimeTypestring
sizeBytesinteger
urlstring

An API path (…/bytes?grant=…) — redeem with the same credential; never a storage URL.

expiresAtdatetime

Errors

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