CRADالمطوّرون
العربية

Read appointment reminder policy

قبل الاستخدام الفعلي — افحص القدرات المنشورة والصلاحيات وجاهزية ربطك.

تحقّق من القدرات المنشورة وصلاحيات المفتاح وجاهزية النشاط في بيئتك. أمثلة HTTP مسجّلة من اختبارات معزولة؛ وصفها local-unreleased لا يعني أن API غير عامل ولا يُثبت جاهزية ربطك. في مسار العميل يُتحقق من الهاتف بقالب واتساب أعدّه النشاط؛ SMS غير مدعوم. التسجيل بواسطة مسؤول مخوّل عملية منفصلة دون رمز.

GET/v1/management/appointment-reminder-policy

Behavior

Saved policy, ceiling and readiness, with no live provider request. Readiness is not a delivery guarantee.

Authentication

ManagementCredential

Credential rules

One server-only owner-issued wbm_ API key can carry both management and integration permissions. Additional permissions require an explicit owner-issued grant. GET /v1/management returns the management discovery view, which may be empty for a booking-only key. For credentials with appointments:read, this discovery view omits whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write to preserve calendar-client compatibility. Discover these grants through GET /v1/management/messaging-capabilities. Template/profile command authorization still uses the stored grants. Server-only owner-issued Management authority with explicit application permissions. Calling this API does not expand a credential's grants. contacts:read/write/block/sync/fields:read/fields:write are separate approvals for canonical business contacts; fields also require current typed owner grants. contacts:record remains contact recording/recovery only. These grants create no customer phone proof, booking authority, messaging consent or automatic synchronization. Hours/blocks retain their independent resource grants. booking-policy:read/write separately delegate whole-business booking settings, without schedule/provider grants; write requires read. They preserve existing appointments and create no duration-rewrite authority. Provider duration policy additionally requires explicit provider-booking-policy:read/write and exact current providerIds; booking-duration:rewrite is separately approved and does not itself grant policy read/write. Service catalogue requires explicit services:read/write, independent of provider/calendar/schedule resources; write requires read. These operations do not expand an existing credential's grants. Public presentation and reviewed service selection require explicit website-content:read/write; write requires read, independently from services:* and provider resources. Existing provider metadata/activity/assignment additionally requires providers:read/write and a nonempty explicit current providerIds grant; write requires read. This grants no provider creation, deletion, login, invitation or schedule authority. WhatsApp template/profile management requires separate whatsapp-templates:read, whatsapp-templates:write, whatsapp-profile:read and whatsapp-profile:write application scopes. Write requires its matching read scope. These grants require explicit owner approval; Meta OAuth permissions remain separate.

Required application permissions

reminder-policy:read

Explicit whole-business policy authority; no platform ceiling, engine or scheduler mutation. Keep the key on your authenticated backend.

Request

No query parameters or request body. Use the credentials described above.

Successful responses

200 · BusinessReminderPolicyState

Successful read or accepted command. Acceptance is not message delivery.

ETag · Quoted current policy and capability version. Omitted for status:not_found operation recovery.
ETag schema
{
  "type": "string",
  "pattern": "^\"rp(0|[1-9][0-9]*)c(0|[1-9][0-9]*)\"$"
}

application/json · BusinessReminderPolicyState

Saved policy and readiness. The platform ceiling and engineMode are read-only to business integrations. Readiness is saved registry evidence, not a fresh Meta check or delivery promise.

All of these schema rules apply together.

  • policyRevisionintegerRequired

    minimum: 0maximum: 9007199254740991

  • capabilityRevisionintegerRequired

    minimum: 0maximum: 9007199254740991

  • enabledbooleanRequired
  • offsetsMinutesarrayRequired

    maxItems: 3uniqueItems: true

    View nested fields
    • []integerArray item

      minimum: 60maximum: 10080multipleOf: 60

  • maxRemindersPerAppointmentintegerRequired

    minimum: 0maximum: 3

  • engineModestringRequired

    Allowed values: ["legacy","paused","v2"]

  • timezonestringRequired

    maxLength: 100minLength: 1pattern: "\\S"

  • summaryobjectRequired
    View nested fields
    • futureAppointmentsintegerRequired

      minimum: 0maximum: 9007199254740991

    • mixedSchedulesintegerRequired

      minimum: 0maximum: 9007199254740991

    • suppressedAppointmentsintegerRequired

      minimum: 0maximum: 9007199254740991

    • additionalPropertiesno value allowedSchema rule
  • readinessarrayRequired

    maxItems: 504

    View nested fields
    • []objectArray item
      View nested fields
      • offsetMinutesintegerRequired

        minimum: 60maximum: 10080multipleOf: 60

      • languagestringRequired

        Allowed values: ["he","ar","en"]

      • availablebooleanRequired
      • actualLanguageanyOf (string | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          Allowed values: ["he","ar","en"]

        • anyOf 2nullSchema branch
      • checkedAtanyOf (string | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1string · date-timeSchema branch
        • anyOf 2nullSchema branch
      • reasonanyOf (string | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          maxLength: 100

        • anyOf 2nullSchema branch
      • bodyanyOf (string | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          maxLength: 16384

        • anyOf 2nullSchema branch
      • footeranyOf (string | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          maxLength: 1024

        • anyOf 2nullSchema branch
      • additionalPropertiesno value allowedSchema rule
  • allOf 1unspecifiedSchema branch
    View branch fields and rules
    • ifobjectSchema rule
      View branch fields and rules
      • enabledbooleanCondition predicate

        Value: true

    • thenobjectSchema rule
      View branch fields and rules
      • offsetsMinutesunspecifiedOptional in this branch

        minItems: 1

  • allOf 2unspecifiedSchema branch
    View branch fields and rules
    • ifobjectSchema rule
      View branch fields and rules
      • maxRemindersPerAppointmentnumberCondition predicate

        Value: 0

    • thenobjectSchema rule
      View branch fields and rules
      • offsetsMinutesunspecifiedOptional in this branch

        maxItems: 0

  • allOf 3unspecifiedSchema branch
    View branch fields and rules
    • ifobjectSchema rule
      View branch fields and rules
      • maxRemindersPerAppointmentnumberCondition predicate

        Value: 1

    • thenobjectSchema rule
      View branch fields and rules
      • offsetsMinutesunspecifiedOptional in this branch

        maxItems: 1

  • allOf 4unspecifiedSchema branch
    View branch fields and rules
    • ifobjectSchema rule
      View branch fields and rules
      • maxRemindersPerAppointmentnumberCondition predicate

        Value: 2

    • thenobjectSchema rule
      View branch fields and rules
      • offsetsMinutesunspecifiedOptional in this branch

        maxItems: 2

  • allOf 5unspecifiedSchema branch
    View branch fields and rules
    • ifobjectSchema rule
      View branch fields and rules
      • maxRemindersPerAppointmentnumberCondition predicate

        Value: 3

    • thenobjectSchema rule
      View branch fields and rules
      • offsetsMinutesunspecifiedOptional in this branch

        maxItems: 3

  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "policyRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "capabilityRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "enabled": {
      "type": "boolean"
    },
    "offsetsMinutes": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 60,
        "maximum": 10080,
        "multipleOf": 60
      },
      "maxItems": 3,
      "uniqueItems": true
    },
    "maxRemindersPerAppointment": {
      "type": "integer",
      "minimum": 0,
      "maximum": 3
    },
    "engineMode": {
      "type": "string",
      "enum": [
        "legacy",
        "paused",
        "v2"
      ]
    },
    "timezone": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "pattern": "\\S"
    },
    "summary": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "futureAppointments": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "mixedSchedules": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "suppressedAppointments": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "futureAppointments",
        "mixedSchedules",
        "suppressedAppointments"
      ]
    },
    "readiness": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "offsetMinutes": {
            "type": "integer",
            "minimum": 60,
            "maximum": 10080,
            "multipleOf": 60
          },
          "language": {
            "type": "string",
            "enum": [
              "he",
              "ar",
              "en"
            ]
          },
          "available": {
            "type": "boolean"
          },
          "actualLanguage": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "he",
                  "ar",
                  "en"
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "checkedAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ]
          },
          "reason": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 100
              },
              {
                "type": "null"
              }
            ]
          },
          "body": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 16384
              },
              {
                "type": "null"
              }
            ]
          },
          "footer": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 1024
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "offsetMinutes",
          "language",
          "available",
          "actualLanguage",
          "checkedAt",
          "reason",
          "body",
          "footer"
        ]
      },
      "maxItems": 504
    }
  },
  "required": [
    "policyRevision",
    "capabilityRevision",
    "enabled",
    "offsetsMinutes",
    "maxRemindersPerAppointment",
    "engineMode",
    "timezone",
    "summary",
    "readiness"
  ],
  "description": "Saved policy and readiness. The platform ceiling and engineMode are read-only to business integrations. Readiness is saved registry evidence, not a fresh Meta check or delivery promise.",
  "allOf": [
    {
      "if": {
        "properties": {
          "enabled": {
            "const": true
          }
        }
      },
      "then": {
        "properties": {
          "offsetsMinutes": {
            "minItems": 1
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "maxRemindersPerAppointment": {
            "const": 0
          }
        }
      },
      "then": {
        "properties": {
          "offsetsMinutes": {
            "maxItems": 0
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "maxRemindersPerAppointment": {
            "const": 1
          }
        }
      },
      "then": {
        "properties": {
          "offsetsMinutes": {
            "maxItems": 1
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "maxRemindersPerAppointment": {
            "const": 2
          }
        }
      },
      "then": {
        "properties": {
          "offsetsMinutes": {
            "maxItems": 2
          }
        }
      }
    },
    {
      "if": {
        "properties": {
          "maxRemindersPerAppointment": {
            "const": 3
          }
        }
      },
      "then": {
        "properties": {
          "offsetsMinutes": {
            "maxItems": 3
          }
        }
      }
    }
  ]
}

Errors and recovery

Error responses declared in the contract (6)

The preview contract shares generic error definitions across operations. This list is not an exhaustive list of runtime errors.

401 · Missing or invalid backend credential.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
403 · Current key, integration, operation scope or resource access denied. Browser Origin is refused.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
405 · Method not allowed.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
422 · Invalid body, query, identifier or precondition. Enabling preferences requires REENABLE_ACKNOWLEDGEMENT_REQUIRED to be satisfied.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
429 · Machine quota reached; respect Retry-After.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
503 · Persistence or dependencies unavailable. Recover uncertain writes before deciding to retry.

application/json · Error

  • errorobjectRequired
    View nested fields
    • codestringRequired
    • requestIdstring · uuidRequired
    • retryAfterintegerOptional

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}