Zype Video Entitlements API

The Video Entitlements API from Zype — 3 operation(s) for video entitlements.

Business capability
Entitlement Enforcement BC-4240.70

Operations 6

GET /videos/{video_id}/entitled Check Video Entitlement #
GET /consumers/{consumer_id}/videos List Video Entitlements #
POST /consumers/{consumer_id}/videos Create video entitlement #
GET /consumers/{consumer_id}/videos/{id} View Video Entitlement #
PUT /consumers/{consumer_id}/videos/{id} Update Video Entitlement #
DELETE /consumers/{consumer_id}/videos/{id} Delete Video Entitlement #

Documentation

📖
Documentation
https://docs.zype.com/reference/videos
📖
APIReference
https://docs.zype.com/reference/videos
📖
Documentation
https://docs.zype.com/reference/channels
📖
APIReference
https://docs.zype.com/reference/channels
📖
Documentation
https://docs.zype.com/reference/subscriptions
📖
APIReference
https://docs.zype.com/reference/subscriptions
📖
Documentation
https://docs.zype.com/reference/consumers
📖
APIReference
https://docs.zype.com/reference/consumers
📖
Documentation
https://docs.zype.com/reference/live-encoders
📖
APIReference
https://docs.zype.com/reference/live-encoders
📖
Documentation
https://docs.zype.com/reference/zobjects
📖
APIReference
https://docs.zype.com/reference/zobjects
📖
Documentation
https://docs.zype.com/reference/platform-dynamics
📖
APIReference
https://docs.zype.com/reference/platform-dynamics
📖
Documentation
https://docs.zype.com/reference/welcome-to-the-zype-api-documentation
📖
APIReference
https://docs.zype.com/reference/welcome-to-the-zype-api-documentation
📖
Documentation
https://docs.zype.com/reference/content-rule-groups
📖
APIReference
https://docs.zype.com/reference/content-rule-groups
📖
Documentation
https://docs.zype.com/reference/content-rule-profiles
📖
APIReference
https://docs.zype.com/reference/content-rule-profiles
📖
Documentation
https://docs.zype.com/reference/adobe
📖
APIReference
https://docs.zype.com/reference/adobe
📖
Documentation
https://docs.zype.com/reference/oauth
📖
APIReference
https://docs.zype.com/reference/oauth
📖
Documentation
https://docs.zype.com/reference/players
📖
APIReference
https://docs.zype.com/reference/players
📖
Documentation
https://docs.zype.com/reference/uploads
📖
APIReference
https://docs.zype.com/reference/uploads

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zype:zype-video-entitlements-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zype-video-entitlements-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Consumers Video Entitlements API
  version: 1.0.0
  description: ''
servers:
- url: https://api.zype.com/
security:
- api_key: []
tags:
- name: Video Entitlements
paths:
  /videos/{video_id}/entitled:
    get:
      tags:
      - Video Entitlements
      summary: Check Video Entitlement
      operationId: checkVideoEntitlement
      parameters:
      - name: video_id
        in: path
        description: ID of the video entitlement
        required: true
        style: simple
        schema:
          type: string
      - name: access_token
        in: query
        description: OAuth token of a consumer
        required: true
        style: form
        explode: true
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                title: CheckVideoEntitlementResponse
                type: object
                properties:
                  message:
                    type: string
        '422':
          description: Consumer does not have access
          content:
            application/json:
              schema:
                $ref: '#/paths/~1consumers/get/responses/422/content/application~1json/schema'
      deprecated: false
  /consumers/{consumer_id}/videos:
    get:
      summary: List Video Entitlements
      description: ''
      tags:
      - Video Entitlements
      operationId: listVideoEntitlements
      parameters:
      - name: consumer_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the consumer whose video entitlements will be retrieved
      responses:
        '200':
          description: Response will contain an array of video entitlements
          content:
            application/json:
              schema:
                title: VideoEntitlementsResponse
                type: object
                properties:
                  response:
                    type: array
                    items:
                      $ref: '#/paths/~1consumers~1%7Bconsumer_id%7D~1videos/post/responses/201/content/application~1json/schema/properties/response'
                    description: ''
                  pagination:
                    title: Pagination
                    type: object
                    properties:
                      current:
                        type: number
                        format: int32
                        description: The current page of results
                      previous:
                        type:
                        - number
                        - 'null'
                        format: int32
                        description: the previous page of results
                      next:
                        type:
                        - number
                        - 'null'
                        format: int32
                        description: the next page of results
                      per_page:
                        type: number
                        format: int32
                        description: the number of results returned per page
                      pages:
                        type: number
                        format: int32
                        description: the total number of pages available, using per_page
                    example:
                      current: 1
                      previous: null
                      next: 2
                      per_page: 10
                      pages: 20
        '404':
          description: Consumer not found
          content:
            application/json:
              schema:
                $ref: '#/paths/~1pin~1link/put/responses/404/content/application~1json/schema'
    post:
      summary: Create video entitlement
      description: ''
      tags:
      - Video Entitlements
      operationId: createVideoEntitlement
      parameters:
      - name: consumer_id
        in: path
        required: true
        schema:
          type: string
        description: ''
      requestBody:
        description: ''
        required: true
        content:
          application/json:
            schema:
              title: VideoEntitlementRequest
              type: object
              properties:
                entitlement:
                  required:
                  - video_id
                  type: object
                  title: VideoEntitlementProperties
                  properties:
                    video_id:
                      type: string
                      description: ID of the video you wish the consumer to have access to
                    transaction_id:
                      type: string
                      description: ID of the transaction that happened to allow the consumer to have access to the video
                    transaction_type:
                      type: string
                      description: 'Type of transaction (Example: purchase)'
                    expires_at:
                      type: string
                      description: When the entitlement expires
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                title: VideoEntitlementResponse
                type: object
                properties:
                  response:
                    title: VideoEntitlement
                    type: object
                    properties:
                      _id:
                        type: string
                      consumer_id:
                        type: string
                      created_at:
                        type: string
                      updated_at:
                        type: string
                      expires_at:
                        type: string
                      transaction_id:
                        type: string
                      transaction_type:
                        type: string
                      video_title:
                        type: string
                      video_id:
                        type: string
        '404':
          description: Consumer not found
          content:
            application/json:
              schema:
                $ref: '#/paths/~1pin~1link/put/responses/404/content/application~1json/schema'
        '422':
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: '#/paths/~1consumers/get/responses/422/content/application~1json/schema'
  /consumers/{consumer_id}/videos/{id}:
    get:
      summary: View Video Entitlement
      description: ''
      tags:
      - Video Entitlements
      operationId: viewVideoEntitlement
      parameters:
      - name: consumer_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the consumer whose video entitlements will be retrieved
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: ID of the video entitlement
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/paths/~1consumers~1%7Bconsumer_id%7D~1videos/post/responses/201/content/application~1json/schema'
        '404':
          description: Entitlement not found
          content:
            application/json:
              schema:
                $ref: '#/paths/~1pin~1link/put/responses/404/content/application~1json/schema'
    put:
      summary: Update Video Entitlement
      description: ''
      tags:
      - Video Entitlements
      operationId: updateVideoEntitlement
      parameters:
      - name: consumer_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the consumer whose video entitlements will be retrieved
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: ID of the video entitlement
      requestBody:
        description: ''
        required: true
        content:
          application/json:
            schema:
              $ref: '#/paths/~1consumers~1%7Bconsumer_id%7D~1videos/post/requestBody/content/application~1json/schema'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/paths/~1consumers~1%7Bconsumer_id%7D~1videos/post/responses/201/content/application~1json/schema'
        '404':
          description: Entitlement not found
          content:
            application/json:
              schema:
                $ref: '#/paths/~1pin~1link/put/responses/404/content/application~1json/schema'
        '422':
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: '#/paths/~1consumers/get/responses/422/content/application~1json/schema'
    delete:
      summary: Delete Video Entitlement
      description: ''
      tags:
      - Video Entitlements
      operationId: deleteVideoEntitlement
      parameters:
      - name: consumer_id
        in: path
        required: true
        schema:
          type: string
        description: ID of the consumer whose video entitlements will be retrieved
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: ID of the video entitlement
      responses:
        '204':
          description: Video Entitlement successfully deleted
          content:
            application/json:
              schema:
                $ref: '#/paths/~1consumers~1%7Bconsumer_id%7D~1videos/post/responses/201/content/application~1json/schema'
        '404':
          description: Entitlement not found
          content:
            application/json:
              schema:
                $ref: '#/paths/~1pin~1link/put/responses/404/content/application~1json/schema'
components:
  securitySchemes:
    api_key:
      type: apiKey
      name: api_key
      in: query
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: OAuth access token
      description: OAuth access token of the consumer