Zype Segments API

The Segments API from Zype — 2 operation(s) for segments.

Operations 5

GET /videos/{video_id}/segments List Segments #
POST /videos/{video_id}/segments Create Segment #
GET /videos/{video_id}/segments/{id} View Segment #
PUT /videos/{video_id}/segments/{id} Update Segment #
DELETE /videos/{video_id}/segments/{id} Delete Segment #

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-segments-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-segments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Platform Segments API
  version: 1.0.0
  description: ''
servers:
- url: https://api.zype.com/
security:
- api_key: []
tags:
- name: Segments
paths:
  /videos/{video_id}/segments:
    get:
      tags:
      - Segments
      summary: List Segments
      operationId: listSegments
      parameters:
      - name: video_id
        in: path
        description: ID of video
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: Response will be an array of objects each representing a segment for selected video.
          content:
            application/json:
              schema:
                title: SegmentsResponse
                type: object
                properties:
                  response:
                    type: array
                    items:
                      $ref: '#/paths/~1videos~1%7Bvideo_id%7D~1segments/post/responses/201/content/application~1json/schema/properties/response'
                    description: ''
                  pagination:
                    $ref: '#/paths/~1videos/get/responses/200/content/application~1json/schema/properties/pagination'
      deprecated: false
    post:
      tags:
      - Segments
      summary: Create Segment
      operationId: createSegment
      parameters:
      - name: video_id
        in: path
        description: ''
        required: true
        style: simple
        schema:
          type: string
      requestBody:
        description: ''
        required: true
        content:
          application/json:
            schema:
              title: SegmentRequest
              type: object
              required:
              - segment
              properties:
                segment:
                  title: SegmentProperties
                  type: object
                  properties:
                    description:
                      type: string
                      description: Description of the segment, required on creation
                    start:
                      type: integer
                      description: When the segment starts in milliseconds, required on creation
                      format: int32
                    end:
                      type: integer
                      description: When the segment ends in milliseconds
                      format: int32
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                title: SegmentResponse
                type: object
                properties:
                  response:
                    title: Segment
                    type: object
                    properties:
                      _id:
                        type: string
                      video_id:
                        type: string
                      start:
                        type: integer
                        format: int32
                      end:
                        type: integer
                        format: int32
                      description:
                        type: string
        '422':
          description: Unprocessable entity
          content:
            application/json:
              schema:
                $ref: '#/paths/~1videos/get/responses/422/content/application~1json/schema'
      deprecated: false
  /videos/{video_id}/segments/{id}:
    get:
      tags:
      - Segments
      summary: View Segment
      operationId: getSegment
      parameters:
      - name: video_id
        in: path
        description: ID of video
        required: true
        style: simple
        schema:
          type: string
      - name: id
        in: path
        description: ID of segment
        required: true
        style: simple
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/paths/~1videos~1%7Bvideo_id%7D~1segments/post/responses/201/content/application~1json/schema'
      deprecated: false
    put:
      tags:
      - Segments
      summary: Update Segment
      operationId: updateSegment
      parameters:
      - name: video_id
        in: path
        description: ID of video
        required: true
        style: simple
        schema:
          type: string
      - name: id
        in: path
        description: ID of segment
        required: true
        style: simple
        schema:
          type: string
      requestBody:
        description: ''
        required: true
        content:
          application/json:
            schema:
              $ref: '#/paths/~1videos~1%7Bvideo_id%7D~1segments/post/requestBody/content/application~1json/schema'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/paths/~1videos~1%7Bvideo_id%7D~1segments/post/responses/201/content/application~1json/schema'
      deprecated: false
    delete:
      tags:
      - Segments
      summary: Delete Segment
      operationId: deleteSegment
      parameters:
      - name: video_id
        in: path
        description: ID of video
        required: true
        style: simple
        schema:
          type: string
      - name: id
        in: path
        description: ID of segment
        required: true
        style: simple
        schema:
          type: string
      responses:
        '204':
          description: Segment deleted successfully
          content:
            application/json:
              schema:
                $ref: '#/paths/~1videos~1%7Bvideo_id%7D~1segments/post/responses/201/content/application~1json/schema'
        '404':
          description: Segment not found
          content:
            application/json:
              schema:
                $ref: '#/paths/~1app/get/responses/404/content/application~1json/schema'
      deprecated: false
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