Webhooks

recall.issued

POST to your registered URL for a catalog Class I recall. Optional. Subscribe only if you need catalog-level notices, not member lists.

postWebhookrecallIssued

Headers

X-Pillwise-Signaturestring required
Example:t=1767225600,v1=0123456789abcdef

t=<unix seconds>,v1=<hex>: v1 is HMAC-SHA256 of <t>.<raw JSON body> using the full whsec_… secret shown at webhook create (prefix included). Refuse a t more than five minutes old.

Payload

type'recall.issued' required
classificationstring required
recall_idstring required
recall_numberstring
drug_idsstring[] required
graph_versionstring required
observed_atstring date-time required

Example payload

{
  "classification": "Class I"
}

Response

Received. Any 2xx is success.

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.