CRADDevelopers
English

Preview reminder policy impact

Before going live — check deployed capabilities, grants and your integration’s readiness.

Check deployed capabilities, key grants and business readiness in your environment. HTTP examples were captured in isolated tests; their local-unreleased provenance neither says the API is offline nor certifies your integration. Customer self-service uses the business-configured WhatsApp authentication template; SMS is not supported. Authorized admin contact recording is a separate action without a code.

POST/v1/management/appointment-reminder-policy/previews

Behavior

Read-only impact preview using both original revisions. No settings seed, enrollment, reconciliation or reservation. Show aggregate impact and the selected new_bookings/existing_future scope; no appointment samples are exposed. Do not send Idempotency-Key.

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

  • If-Matchheader · stringRequired

    Quoted policy AND capability revision from GET. Preserve the preview revisions for the command.

    Format and constraints
    If-Match schema
    {
      "type": "string",
      "pattern": "^\"rp(0|[1-9][0-9]*)c(0|[1-9][0-9]*)\"$"
    }

Request body · required

application/json · BusinessReminderPolicyPreviewInput

  • draftobject; allOf (unspecified)Required

    All of these schema rules apply together.

    View nested fields
    • enabledbooleanRequired
    • offsetsMinutesarrayRequired

      maxItems: 3uniqueItems: true

      View nested fields
      • []integerArray item

        minimum: 60maximum: 10080multipleOf: 60

    • 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

    • additionalPropertiesno value allowedSchema rule
  • scopestringRequired

    Allowed values: ["new_bookings","existing_future"]

  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "draft": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "offsetsMinutes": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 60,
            "maximum": 10080,
            "multipleOf": 60
          },
          "maxItems": 3,
          "uniqueItems": true
        }
      },
      "required": [
        "enabled",
        "offsetsMinutes"
      ],
      "allOf": [
        {
          "if": {
            "properties": {
              "enabled": {
                "const": true
              }
            }
          },
          "then": {
            "properties": {
              "offsetsMinutes": {
                "minItems": 1
              }
            }
          }
        }
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "new_bookings",
        "existing_future"
      ]
    }
  },
  "required": [
    "draft",
    "scope"
  ]
}

Successful responses

200 · BusinessReminderPolicyPreview

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 · BusinessReminderPolicyPreview

  • policyRevisionintegerRequired

    minimum: 0maximum: 9007199254740991

  • capabilityRevisionintegerRequired

    minimum: 0maximum: 9007199254740991

  • normalizedDraftobject; allOf (unspecified)Required

    All of these schema rules apply together.

    View nested fields
    • enabledbooleanRequired
    • offsetsMinutesarrayRequired

      maxItems: 3uniqueItems: true

      View nested fields
      • []integerArray item

        minimum: 60maximum: 10080multipleOf: 60

    • 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

    • additionalPropertiesno value allowedSchema rule
  • scopestringRequired

    Allowed values: ["new_bookings","existing_future"]

  • computedAtstring · date-timeRequired
  • fingerprintstringRequired

    pattern: "^[a-f0-9]{32}$"

  • countsobjectRequired
    View nested fields
    • appointmentsintegerRequired

      minimum: 0maximum: 9007199254740991

    • addedintegerRequired

      minimum: 0maximum: 9007199254740991

    • keptintegerRequired

      minimum: 0maximum: 9007199254740991

    • cancelledintegerRequired

      minimum: 0maximum: 9007199254740991

    • skippedintegerRequired

      minimum: 0maximum: 9007199254740991

    • additionalPropertiesno value allowedSchema rule
  • reasonsarrayRequired

    maxItems: 1

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

        Value: "eligibility_or_cap"

      • countintegerRequired

        minimum: 0maximum: 9007199254740991

      • additionalPropertiesno value allowedSchema rule
  • 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
    },
    "normalizedDraft": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "offsetsMinutes": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 60,
            "maximum": 10080,
            "multipleOf": 60
          },
          "maxItems": 3,
          "uniqueItems": true
        }
      },
      "required": [
        "enabled",
        "offsetsMinutes"
      ],
      "allOf": [
        {
          "if": {
            "properties": {
              "enabled": {
                "const": true
              }
            }
          },
          "then": {
            "properties": {
              "offsetsMinutes": {
                "minItems": 1
              }
            }
          }
        }
      ]
    },
    "scope": {
      "type": "string",
      "enum": [
        "new_bookings",
        "existing_future"
      ]
    },
    "computedAt": {
      "type": "string",
      "format": "date-time"
    },
    "fingerprint": {
      "type": "string",
      "pattern": "^[a-f0-9]{32}$"
    },
    "counts": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "appointments": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "added": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "kept": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "cancelled": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "skipped": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "appointments",
        "added",
        "kept",
        "cancelled",
        "skipped"
      ]
    },
    "reasons": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "reason": {
            "const": "eligibility_or_cap"
          },
          "count": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "reason",
          "count"
        ]
      },
      "maxItems": 1
    }
  },
  "required": [
    "policyRevision",
    "capabilityRevision",
    "normalizedDraft",
    "scope",
    "computedAt",
    "fingerprint",
    "counts",
    "reasons"
  ]
}

Errors and recovery

Input validation

  • 413REQUEST_TOO_LARGE

    JSON exceeds 8,192 bytes.

  • 415JSON_REQUIRED

    Send Content-Type: application/json.

Error responses declared in the contract (11)

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"
  ]
}
409 · INVALID_SETTINGS: the requested offsets exceed the current reminder ceiling. Read the policy and choose a valid draft.

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"
  ]
}
412 · POLICY_CHANGED, CAPABILITY_CHANGED, PREVIEW_CHANGED or RECIPIENT_CHANGED. Resolve uncertainty first; a new deliberate action needs current state and review.

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"
  ]
}
413 · JSON exceeds 8,192 bytes.

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"
  ]
}
415 · Send Content-Type: application/json.

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"
  ]
}
428 · Required If-Match or command Idempotency-Key is missing.

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"
  ]
}