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

# Handle Pdfmonkey Webhook

`POST /api/v1/statements/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/statements/pdfmonkey/webhook`
- Auth: none declared

Handles the rendered-document webhook from either PDF provider (PDFMonkey or
caresquare-pdf-generation) and records the result on the statement.

A single document can back several statement rows, one per recipient, so this
updates every row sharing the document_id.

Uses the async Supabase client so a monthly statement run, which delivers one
webhook per participant, does not block the worker's event loop.

## 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)
