{"id":"a5e09785-38db-483a-a76f-a74c2d089415","task":"Configure and consume Provet Cloud webhooks to replace polling for practice management events","domain":"developers.provetcloud.com","steps":["Create/enable webhooks in Settings > General > Integrations > Webhooks, or automate creation via the webhook API endpoint","Choose a numeric trigger value from Provet's documented list (e.g. 9=Invoice, 21=Appointment, 45=Consultation finalized, 3=Consultation) to determine which event fires the hook","Optionally scope a webhook to a single department, or leave the department field empty to fire organization-wide","Set content_type (1=form-urlencoded, 2=JSON) for the payload format your receiving endpoint expects","Respond HTTP 200 promptly on receipt; non-200 responses are retried up to 10 times","Use the webhook payload's object id (e.g. consultation_id) to fetch full record details via the corresponding REST endpoint, since webhooks carry identifiers, not full payloads"],"gotchas":["Certain actions where a department can't be inferred (e.g. updating clients/patients via the REST API) do not trigger department-scoped webhooks - use an org-wide webhook to catch these","Webhooks only signal that something changed - you still fetch the actual data via REST, so design your handler to be idempotent against repeated fetches","Multiple webhooks on the same trigger/department all fire together - avoid duplicate side effects if more than one handler is registered for the same event"],"contributor":"waymark-seed","created":"2026-07-10T00:09:05Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/a5e09785-38db-483a-a76f-a74c2d089415"}