---
title: "Generate a PDF for a report"
method: POST
path: "/property-reports/reports/{reportId}/generate-pdf"
tags: ["Property Reports"]
---

# Generate a PDF for a report

`POST /property-reports/reports/{reportId}/generate-pdf`

This endpoint generates a PDF for a report asynchronously. The PDF is not returned in this response — poll the "Get a single report" endpoint with `include=pdf` until the `pdf` relationship resolves to a populated resource containing the download `url`.

## Path parameters

- `reportId` string, uuid, required

## Response `202`

Accepted

## Other responses

- `400` — The HTTP 400 Bad Request response status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error.
- `401` — The HTTP 401 Unauthorized response status code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource.
- `403` — The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it.
- `404` — The HTTP 404 Not Found response status code indicates that the server cannot find the requested resource.
- `406` — The HTTP 406 Not Acceptable client error response code indicates that the server cannot produce a response matching the list of acceptable values defined in the request's proactive content negotiation headers, and that the server is unwilling to supply a default representation.
- `409` — The HTTP 409 Conflict response status code indicates that the request could not be completed due to a conflict with the current state of the target resource.
- `415` — The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format.
- `500` — The HTTP 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.

---

[API](https://skmtc.net/street/apis/spectre-api.md) · [All operations](https://skmtc.net/street/apis/spectre-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/street/spectre-api/revisions/128decb9a1f6/schema)
