Handle 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.

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

Response

Successful Response

object[] required

Changes

No recorded changes to this operation across all 19 revisions of this API.