POST
/
monetization
/
entitlements
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/monetization/entitlements/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "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>"
}'
{
  "entitlement": {
    "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>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

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

Response

200
application/json

OK

The response is of type object.