---
title: "POST /api/v1/CustomerPortal/{publicId}/downloads/zip"
method: POST
path: "/api/v1/CustomerPortal/{publicId}/downloads/zip"
tags: ["CustomerPortal"]
---

# POST /api/v1/CustomerPortal/{publicId}/downloads/zip

`POST /api/v1/CustomerPortal/{publicId}/downloads/zip`

## Request

- Base URL: `https://api.fireserviceusa.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fireserviceusa.com/api/v1/CustomerPortal/{publicId}/downloads/zip`
- Auth: none declared

## Path parameters

- `publicId` string, required

## Request body

- CustomerPortalZipRequest
  - `PhotoIds` integer[], nullable
  - `DocumentIds` integer[], nullable
  - `VideoIds` integer[], nullable
  - `AllShared` boolean: When true, zip all currently shared media (optionally filtered).
  - `Filter` string, nullable: all | photo | document | video
  - `FileName` string, nullable: Optional zip file name (with or without .zip). Sanitized server-side.

## Response `200`

Success

---

[API](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api.md) - [All operations](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireserviceusa/apis/fireservice-usa-p2-api/revisions/96ea2ea68d87?raw)
