---
title: "Download PDF Report"
method: GET
path: "/api/websites/{id}/report.pdf"
tags: ["Websites"]
---

# Download PDF Report

`GET /api/websites/{id}/report.pdf`

## Request

- Base URL: `https://uptimeify.io`
- URL: `https://uptimeify.io/api/websites/{id}/report.pdf`
- Auth: HTTP bearer

GET /api/websites/:websitePublicId/report.pdf

## Path parameters

- `id` string, required

## Query parameters

- `period` 'last-week' | 'last-month' | 'last-quarter'
- `startDate` union
  - string, date
  - string, date-time
- `endDate` union
  - string, date
  - string, date-time

## Response `200`

OK

## Other responses

- `400`: Invalid or missing parameters.
- `401`: Missing, invalid or expired API token.
- `404`: No such resource, or not visible to this token.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api.md) · [All operations](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uptimeify/apis/uptimeify-rest-api/revisions/2129a771ee7e?raw)
