GET
/
monetization
/
entitlements
/
v1
curl --request GET \
  --url https://api.mottostreaming.com/monetization/entitlements/v1 \
  --header 'Authorization: Bearer <token>'
{
  "entitlements": [
    {
      "user_id": "<string>",
      "project_id": "<string>",
      "offer_id": "<string>",
      "expiration_time": "2023-11-07T05:31:56Z",
      "source_type": "<string>",
      "source_id": "<string>",
      "concurrency_limit": "<string>",
      "origin_country_code": "<string>"
    }
  ],
  "next_page_token": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page_size
integer

Maximum number of records to return

project_id
string
filter
string

Filter the result-set by properties using a subset of the Kibana Query Language. This currently supports queries based on user_id and offer_id

page_token
string

The pagination token in the List request.

Response

200
application/json
OK
entitlements
object[]

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

next_page_token
string

The pagination token that should be used to get next entitlement results. An empty value means no more results