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

# Handle Pdfmonkey Webhook

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

## Request

- Base URL: `https://api.caresquare.com.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.caresquare.com.au/api/v1/pm_invoice/pdfmonkey/webhook`
- Auth: none declared

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/caresquare-api.md) - [All operations](https://skmtc.dev/caresquare/apis/caresquare-api/llms.txt) - [OpenAPI document](https://skmtc.dev/caresquare/apis/caresquare-api/revisions/d428fe38bf62?raw)
