100ms External Streams API

Push the room feed to YouTube / Twitch / Facebook via RTMP.

Operations 5

GET /external-streams List All External Streams #
GET /external-streams/{stream_id} Get External Stream #
POST /external-streams/room/{room_id}/start Start External Stream For Room #
POST /external-streams/room/{room_id}/stop Stop External Stream For Room #
POST /external-streams/{stream_id}/stop Stop External Stream By Id #

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/100ms-live-external-streams-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

100ms-live-external-streams-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 100ms Server-Side Active Rooms External Streams API
  description: 'REST control plane for the 100ms live video and audio platform. Manage rooms, templates and roles (policy), active in-session control, recordings, live streams (HLS), external streams (RTMP push to YouTube/Twitch/Facebook), RTMP stream keys, room codes, polls, sessions, and analytics. All endpoints are authenticated with a short-lived management JWT signed with the app access key/secret pair from the dashboard.

    '
  version: v2
  contact:
    name: 100ms Support
    url: https://www.100ms.live/contact-sales
  license:
    name: 100ms Terms of Service
    url: https://www.100ms.live/legal/terms-and-conditions
servers:
- url: https://api.100ms.live/v2
  description: Production
security:
- ManagementToken: []
tags:
- name: External Streams
  description: Push the room feed to YouTube / Twitch / Facebook via RTMP.
paths:
  /external-streams:
    get:
      summary: List All External Streams
      operationId: listExternalStreams
      tags:
      - External Streams
      parameters:
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Start'
      - in: query
        name: room_id
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/ExternalStreamList'
  /external-streams/{stream_id}:
    parameters:
    - in: path
      name: stream_id
      required: true
      schema:
        type: string
    get:
      summary: Get External Stream
      operationId: getExternalStream
      tags:
      - External Streams
      responses:
        '200':
          $ref: '#/components/responses/ExternalStream'
  /external-streams/room/{room_id}/start:
    parameters:
    - $ref: '#/components/parameters/RoomId'
    post:
      summary: Start External Stream For Room
      operationId: startExternalStreamForRoom
      tags:
      - External Streams
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - rtmp_urls
              properties:
                meeting_url:
                  type: string
                  format: uri
                rtmp_urls:
                  type: array
                  items:
                    type: string
                resolution:
                  type: object
                  properties:
                    width:
                      type: integer
                    height:
                      type: integer
      responses:
        '200':
          $ref: '#/components/responses/ExternalStream'
  /external-streams/room/{room_id}/stop:
    parameters:
    - $ref: '#/components/parameters/RoomId'
    post:
      summary: Stop External Stream For Room
      operationId: stopExternalStreamForRoom
      tags:
      - External Streams
      responses:
        '200':
          $ref: '#/components/responses/Empty'
  /external-streams/{stream_id}/stop:
    parameters:
    - in: path
      name: stream_id
      required: true
      schema:
        type: string
    post:
      summary: Stop External Stream By Id
      operationId: stopExternalStreamById
      tags:
      - External Streams
      responses:
        '200':
          $ref: '#/components/responses/Empty'
components:
  parameters:
    RoomId:
      in: path
      name: room_id
      required: true
      schema:
        type: string
    Start:
      in: query
      name: start
      schema:
        type: string
        description: Cursor returned by the previous page.
    Limit:
      in: query
      name: limit
      schema:
        type: integer
        default: 10
        maximum: 100
  responses:
    Empty:
      description: Successful empty response
      content:
        application/json:
          schema:
            type: object
    ExternalStreamList:
      description: Page of external streams
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                type: array
                items:
                  $ref: '#/components/schemas/ExternalStream'
              last:
                type: string
              limit:
                type: integer
    ExternalStream:
      description: External (RTMP-out) stream
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ExternalStream'
  schemas:
    ExternalStream:
      type: object
      properties:
        id:
          type: string
        room_id:
          type: string
        session_id:
          type: string
        status:
          type: string
        rtmp_urls:
          type: array
          items:
            type: string
        started_at:
          type: string
          format: date-time
        stopped_at:
          type: string
          format: date-time
  securitySchemes:
    ManagementToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Short-lived HS256 JWT generated server-side from the app access key/secret downloaded from the 100ms dashboard. Include as `Authorization: Bearer <token>`.

        '