> ## Documentation Index
> Fetch the complete documentation index at: https://docs.member.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Hls Playlist

> Serve an HLS playlist; the signed query is the credential.



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/media/hls/{key}
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/media/hls/{key}:
    get:
      tags:
        - media-hls
      summary: Get Hls Playlist
      description: Serve an HLS playlist; the signed query is the credential.
      operationId: media_hls.get_media_hls_get_media_hls_by_key_path
      parameters:
        - in: path
          name: key
          required: true
          schema:
            title: Key
            type: string
        - in: query
          name: Policy
          required: true
          schema:
            title: Policy
            type: string
        - in: query
          name: Signature
          required: true
          schema:
            title: Signature
            type: string
        - in: query
          name: Key-Pair-Id
          required: true
          schema:
            title: Key-Pair-Id
            type: string
      responses:
        '200':
          content:
            application/vnd.apple.mpegurl:
              schema:
                type: string
          description: HLS playlist with every child URI carrying the signed query.
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.