---
title: "Handle Pdfmonkey Webhook"
method: POST
path: "/api/v1/pm_invoice/pdfmonkey/webhook"
---

# Handle Pdfmonkey Webhook

`POST /api/v1/pm_invoice/pdfmonkey/webhook`

Handles the rendered-document webhook from either PDF provider (PDFMonkey or
caresquare-pdf-generation) and stores the PDF in S3.

Returns 500 on failure so the provider retries with backoff. Answering 200
after a failed upload would leave the invoice's s3_key pointing at an object
that does not exist.

## Response `200`

Successful Response

- object[]

---

[API](https://skmtc.dev/caresquare/apis/fastapi.md) · [All operations](https://skmtc.dev/caresquare/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/caresquare/fastapi/revisions/c9df874d8d59/schema)
