Grant a consumer access to a media item

Grant a specific consumer access to a piece of media owned by the authenticated creator. The grant is idempotent: repeated calls with the same parameters return the existing entitlement. <Info>Scope required: `write:media`</Info>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

uuidstringRequiredformat: "uuid"

Headers

X-Fanvue-API-VersionstringRequiredDefaults to 2025-06-26
API version to use for the request

Request

This endpoint expects an object.
consumerIdstringRequiredformat: "uuid"
UUID of the consumer to grant media access to
sourcestringRequiredformat: "^[a-z0-9_]+$"1-100 characters

Identifier for the granting application or reason (e.g. spin_the_wheel_reward)

sourceRefstringRequired1-255 characters

Unique identifier within the source, used for idempotency (e.g. spin attempt UUID)

Response

Media access granted (or already existed)

entitlementIdstringformat: "uuid"
UUID of the created or existing entitlement
statusenum
Allowed values:

Errors