ORALZY
How-to

Open API me webhook se doosre software ko events kaise bheje?

Setup → Integrations → Open API / Synchronizer → "Webhooks" tab → "Subscribe" → Client chuno, "Event Type" chuno (patient.created, appointment.created, bill.paid …), "Receiver URL" daalo → "Subscribe". Row par "Test" se check karo, "Pause" / "Resume" se rokna-chalana, 🗑 se hatana.

Where in ORALZY: Setup → Integrations → Open API / Synchronizer · "Webhooks" tab

Pehle kam se kam ek API Client chahiye — warna "Create at least one API Client first — webhooks are bound to a client (for HMAC signing)." aur Subscribe button band rehta hai. Events: patient.created, patient.updated, appointment.created, appointment.updated, appointment.cancelled, bill.created, bill.paid, treatment.done, prescription.issued. Har event POST me "X-Oralzy-Signature: sha256=…" header ke saath jaata hai — software client ke Webhook Secret se jaanch kare. Receiver URL ko app jaanchta hai; galat / andar ka address ho to "url rejected — …". Table me Last Delivery, HTTP code, Total / Fails. Sirf owner / admin; Open API "Disabled" ho to subscribe / test nahi chalte.

Quick steps

  1. Open API / Synchronizer → "Webhooks" tab
  2. "Subscribe" dabao
  3. Client, "Event Type", "Receiver URL" bharo → "Subscribe"
  4. Row par "Test" dabakar "✓ Test delivered (HTTP …)" dekho

webhookopenapieventsubscribesignatureapisynchronizer