POST
/
monetization
/
entitlements
/
v1

Authorizations

Authorization
string
headerrequired

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

Body

application/json
user_id
string
required

The ID of the user who is entitled to access the content. The user ID must be contained in the JWT token that the user authenticates with on the content-delivery API.

project_id
string
required
offer_id
string
required

The offer that the user is entitled to access. For more information, see Offer.

expiration_time
string

The time at which the entitlement is no longer valid. If not provided, the entitlement will not expire.

source_type
string

A string representing the type of the source of the entitlement. For example, cleeng.

source_id
string

An identifier of the source of the entitlement. For example, the Cleeng offer ID.

Response

200 - application/json
entitlement
object

Entitlements represent an end-users permission to access event or creative work content.