CRADמפתחים
עברית

Appointment reminders in your admin

Let the business edit reminder timing and customer preferences, and show delivery status with the existing CRAD reminder engine.

לפני שימוש חי — בדקו יכולות פרוסות, הרשאות ומוכנות של החיבור שלכם.

בדקו את היכולות הפרוסות, הרשאות המפתח ומוכנות העסק בסביבה שלכם. דוגמאות HTTP נלכדו בבדיקות מבודדות; הסימון local-unreleased שלהן אינו אומר שה־API אינו פועל, ואינו מאשר את החיבור שלכם. במסלול הלקוח מאמתים טלפון בתבנית WhatsApp שהעסק הגדיר; SMS אינו נתמך. רישום בידי אדמין מורשה הוא פעולה נפרדת ללא קוד.

Choose the permission for the task

This is a local development candidate, not verified live availability. Read Management capabilities and arrange an approved environment before enabling the integration.

Keep the Management key on your authenticated backend. The owner explicitly grants reminder-policy:read/write for whole-business timing settings, reminder-recipients:read/write for whole-business customer preferences, or reminder-delivery:read together with appointments:read and the existing calendar resources. Each write permission requires its matching read permission. Existing keys gain no new authority.

Policy and preference access do not grant marketing consent, global WhatsApp consent or access to the platform ceiling, engine rollout and scheduler. None of these operations sends a message immediately or performs a live Meta check.

Preview and confirm timing changes

  1. Read current settings

    Show saved offsets, the read-only reminder ceiling and saved template readiness. The quoted rp…c… ETag contains both policy and capability revisions. Readiness does not guarantee delivery.

    Read appointment reminder policy
  2. Choose the affected bookings

    Draft enabled and distinct offsetsMinutes, at most the current ceiling. Offsets are whole hours from 60 to 10,080 minutes. Choose new_bookings or explicitly existing_future. Preview with the original If-Match; show aggregate added, kept, cancelled and skipped counts. The preview is read-only and contains no appointment samples.

    Preview reminder policy impact
  3. Save exactly the reviewed proposal

    Persist one operation UUID and send draft, scope, fingerprint and confirm:true with the original If-Match and Idempotency-Key. Review again on changed revisions or impact. Disabling suppresses future eligibility; enabling new_bookings does not silently revive older snapshots. existing_future preserves consumed accepted/unknown slots and does not send catch-up messages after the target time.

    Apply a reviewed reminder policy

Change a customer preference deliberately

Use the existing business customer profile ID. Read the canonical recipient and rr… ETag, then retain both: PATCH includes expectedRecipient, allowed and acknowledgedReenable. When enabling, the operator must attest that this customer explicitly asked to receive this business’s reminders again. Only then send acknowledgedReenable:true; a generic confirmation to change a setting is insufficient.

Preferences belong to the normalized phone within the business. Two contact profiles with the same phone share this preference. A phone correction between read and write refuses the stale request; it never silently applies your choice to the new number.

Re-enabling can clear matching legacy reminder opt-outs. It does not clear global WhatsApp STOP, booking-purpose consent, blocked customers, timing limits or the reminder ceiling.

Show the real delivery state

Read 1–200 distinct physical appointment IDs in one POST. These are the calendar appointment IDs, not website booking IDs. Every appointment must be available under the current calendar grant; an unavailable ID refuses the batch instead of returning an incomplete success.

Render the returned schedule time, state and reason. accepted means provider acceptance, not delivery. unknown means an attempt may have succeeded and is not a safe automatic retry. This read API does not offer manual send or retry.

engineMode:legacy with reminders:[] means the V2 timeline is unavailable. Do not label it “no reminders sent.” Historical suppressed rows may exceed the current ceiling; the ceiling controls admitted sends, not the number of retained timeline rows.

Check first after an uncertain response

Keep the complete original request, If-Match and operation UUID before submission. The operation GETs only read. status:not_found does not cancel an earlier request that is still in flight. A deliberate exact retry keeps the original identity and request.

receipt is the original accepted change; current may reflect later changes. A preference receipt can still be recovered after the contact phone changes or the contact is deleted: current is null with recipient_changed or customer_not_found. Do not recreate the original change against another phone.

A rotated, currently authorized key of the same integration can recover the original command. A new key does not change the originating integration or expand its authority.

Handle refusal without losing the original request

CodeNext action
POLICY_CHANGED / CAPABILITY_CHANGED / PREVIEW_CHANGEDAfter a definite refusal, read current policy and preview again. A new reviewed decision uses a new UUID. Resolve any uncertain older command first.
RECIPIENT_CHANGEDRead the contact preference again and review the current number and state; do not silently apply to a changed phone.
OPERATION_CONFLICTRecover the original command using the operation endpoint for its original kind (policy or recipient). Never change the body or version under its UUID or create a replacement command to bypass a lookup conflict.
ROLLOUT_NOT_READYThe current engine does not admit this new setting change. Keep unresolved prior commands available for read-only recovery.
INVALID_SETTINGS (409)The draft exceeds the current reminder ceiling. Read the policy and revise the draft before previewing again. A refusal does not grant permission to raise the platform ceiling.
REENABLE_ACKNOWLEDGEMENT_REQUIREDThe operator must confirm that this customer explicitly asked to receive this business’s reminders again before enabling them.
APPOINTMENT_NOT_FOUND / CUSTOMER_NOT_FOUNDTreat the resource as unavailable under current authority; do not probe another business or silently omit an appointment.