---
updatedAt: 2025-06-05T20:02:15.000Z
agentTools:
  projectIndex: https://dev.streamlabs.com/llms.txt
---

# /media-share/enable-autoplay

Enable autoplay for queued media

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "donations",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://streamlabs.com/api/v2.0"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-default": "<access_token>",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/media-share/enable-autoplay": {
      "patch": {
        "summary": "/media-share/enable-autoplay",
        "description": "Enable autoplay for queued media",
        "operationId": "media-shareenable-autoplay",
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\"success\":true}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true,
                      "default": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl --request PATCH 'https://streamlabs.com/api/v2.0/media-share/enable-autoplay' \\\n--header 'Content-Type: application/json'"
            }
          ],
          "samples-languages": [
            "curl"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```