---
updatedAt: 2026-09-10T06:16:17.000Z
agentTools:
  projectIndex: https://developer.vouchfor.com/llms.txt
---

# Download Playlist

Request a rendered download of a playlist

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Vouch",
    "description": "test",
    "termsOfService": "https://vouchfor.com/terms",
    "contact": {
      "name": "Vouch API Support",
      "email": "support@vouchfor.com"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://{environment}.vouchfor.com/v1",
      "variables": {
        "environment": {
          "default": "api",
          "enum": [
            "api",
            "api-staging"
          ]
        }
      }
    },
    {
      "url": "https://{environment}.vouchfor.com/v1/entities/{entityId}",
      "variables": {
        "environment": {
          "default": "api",
          "enum": [
            "api",
            "api-staging"
          ]
        },
        "entityId": {
          "default": "demo",
          "description": "Entity ID"
        }
      }
    }
  ],
  "components": {
    "parameters": {
      "Id": {
        "name": "id",
        "in": "path",
        "description": "Resource id - can be id or external id",
        "required": true,
        "allowEmptyValue": false,
        "schema": {
          "type": "string"
        }
      }
    },
    "requestBodies": {
      "DownloadVouch": {
        "description": "Download Vouch",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "account": {
                  "$ref": "#/components/schemas/Account"
                },
                "download": {
                  "$ref": "#/components/schemas/Download"
                }
              },
              "required": [
                "download"
              ]
            }
          }
        }
      }
    },
    "responses": {
      "Download": {
        "description": "Download Object",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "properties": {
                "download": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            }
          }
        }
      },
      "BadRequestError": {
        "description": "Request content is invalid",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Bad Request."
            }
          }
        }
      },
      "NotFoundError": {
        "description": "The requested resource is not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Not Found."
            }
          }
        }
      },
      "UnauthorizedError": {
        "description": "Invalid API key",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Unauthorized."
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "error": "Internal Server Error."
            }
          }
        }
      }
    },
    "schemas": {
      "Account": {
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "format": "email",
            "example": "david@vouchfor.com"
          },
          "name": {
            "type": "string",
            "example": "David Stirk"
          }
        }
      },
      "Download": {
        "type": "object",
        "properties": {
          "options": {
            "type": "object",
            "properties": {
              "showQuestions": {
                "type": "string",
                "example": true
              }
            }
          },
          "status": {
            "type": "string",
            "format": "uri",
            "enum": [
              "PROCESSING",
              "COMPLETE",
              "ERROR"
            ],
            "example": "COMPLETE",
            "readOnly": true
          },
          "type": {
            "type": "string",
            "enum": [
              "TEMPLATE",
              "ZIP"
            ],
            "example": "TEMPLATE"
          },
          "url": {
            "type": "string",
            "format": "uri",
            "example": "https://d2rxhdlm2q91uk.cloudfront.net/assets/1",
            "readOnly": true
          }
        }
      },
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "ApiKey": []
    }
  ],
  "tags": [
    {
      "name": "Playlist"
    }
  ],
  "paths": {
    "/playlists/{id}/download": {
      "post": {
        "summary": "Download Playlist",
        "description": "Request a rendered download of a playlist",
        "tags": [
          "Playlist"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/Id"
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/DownloadVouch"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/Download"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestError"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedError"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundError"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          }
        }
      }
    }
  }
}
```