CRADDevelopers
English

Read a connection-check result

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.

GET/v1/management/whatsapp-connection/operations/{operationId}

Behavior

Pure read: no Meta request or database write. Current authority remains required after runtime/binding changes. Only committed has accepted evidence; an unresolved 60-second lease reads as expired. not_found does not cancel a late request or authorize an automatic replacement UUID.

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

whatsapp-connection:readwhatsapp-connection:check

Request

  • operationIdpath · stringRequired

    The original operation UUID, never a replacement command.

    Format and constraints
    operationId schema
    {
      "type": "string",
      "format": "uuid"
    }

Successful responses

200 · application/json

Original authorized operation state, or status:not_found. A missing lookup is not evidence that a concurrent request cannot still arrive.

Cache-Control
Cache-Control schema
{
  "const": "no-store"
}
ETag · Quoted current connection version. Use this complete header for a new explicit check. An uncertain original command keeps its original If-Match. Absent on not_found.
ETag schema
{
  "type": "string",
  "pattern": "^\"wc[a-f0-9]{64}\"$"
}

application/json

At least one of these variants must match.

  • anyOf 1object; allOf (unspecified)Schema branch

    HTTP 200 is a durable operation state, not necessarily completion. Only committed has a receipt. current is freshly authorized saved state and can differ from the immutable receipt. pending/expired never redispatch the original UUID.

    All of these schema rules apply together.

    View branch fields and rules
    • operationIdstring · uuidRequired in this branch
    • requestobject; allOf (unspecified)Required in this branch

      All of these schema rules apply together.

      View nested fields
      • expectedVersionstringRequired in this branch

        Opaque current connection version. Preserve the quoted ETag as If-Match. Do not construct, increment or substitute it on recovery.

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

      • actionstringRequired in this branch

        Allowed values: ["health_check","reconcile_subscription"]

      • attemptIdanyOf (string | null)Required in this branch

        At least one of these variants must match.

        View nested fields
        • anyOf 1string · uuidSchema branch
        • anyOf 2nullSchema branch
      • externalActorRefanyOf (string | null)Required in this branch

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          Optional external staff reference; no CRAD owner identity is asserted. Keep the exact supplied value during recovery.

          maxLength: 200minLength: 1pattern: "^(?=.*\\S)[^\\u0000-\\u001f\\u007f]+$"

        • anyOf 2nullSchema branch
      • allOf 1unspecifiedSchema branch
        View branch fields and rules
        • ifobjectSchema rule
          View branch fields and rules
          • actionstringCondition predicate

            Value: "health_check"

        • thenobjectSchema rule
          View branch fields and rules
          • attemptIdnullOptional in this branch
        • elseobjectSchema rule
          View branch fields and rules
          • attemptIdstring · uuidOptional in this branch
      • additionalPropertiesno value allowedSchema rule
    • statestringRequired in this branch

      Allowed values: ["pending","committed","expired"]

    • startedAtstring · date-timeRequired in this branch
    • expiresAtstring · date-timeRequired in this branch
    • receiptanyOf (object | null)Required in this branch

      At least one of these variants must match.

      View nested fields
      • anyOf 1objectSchema branch

        Immutable accepted observation for the original exact request. settledSubscription=true only confirms that an eligible unknown subscription was observed present and its saved state settled. It never means a new subscription was sent.

        View branch fields and rules
        • operationIdstring · uuidRequired in this branch
        • requestobject; allOf (unspecified)Required in this branch

          All of these schema rules apply together.

          View nested fields
          • expectedVersionstringRequired in this branch

            Opaque current connection version. Preserve the quoted ETag as If-Match. Do not construct, increment or substitute it on recovery.

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

          • actionstringRequired in this branch

            Allowed values: ["health_check","reconcile_subscription"]

          • attemptIdanyOf (string | null)Required in this branch

            At least one of these variants must match.

            View nested fields
            • anyOf 1string · uuidSchema branch
            • anyOf 2nullSchema branch
          • externalActorRefanyOf (string | null)Required in this branch

            At least one of these variants must match.

            View nested fields
            • anyOf 1stringSchema branch

              Optional external staff reference; no CRAD owner identity is asserted. Keep the exact supplied value during recovery.

              maxLength: 200minLength: 1pattern: "^(?=.*\\S)[^\\u0000-\\u001f\\u007f]+$"

            • anyOf 2nullSchema branch
          • allOf 1unspecifiedSchema branch
            View branch fields and rules
            • ifobjectSchema rule
              View branch fields and rules
              • actionstringCondition predicate

                Value: "health_check"

            • thenobjectSchema rule
              View branch fields and rules
              • attemptIdnullOptional in this branch
            • elseobjectSchema rule
              View branch fields and rules
              • attemptIdstring · uuidOptional in this branch
          • additionalPropertiesno value allowedSchema rule
        • checkedAtstring · date-timeRequired in this branch
        • healthobject; allOf (unspecified)Required in this branch

          Finite facts from a GET-only Meta observation. Healthy requires all four checks to pass; this does not prove delivery, activate the bot or extend token expiry.

          All of these schema rules apply together.

          View nested fields
          • resultstringRequired in this branch

            Allowed values: ["healthy","action_required","unknown"]

          • reasonanyOf (string | null)Required in this branch

            At least one of these variants must match.

            View nested fields
            • anyOf 1stringSchema branch

              Allowed values: ["token_invalid","token_expired","app_mismatch","permissions_missing","asset_unavailable","not_coexistence","subscription_missing","provider_unavailable","provider_response_invalid","provider_rate_limited"]

            • anyOf 2nullSchema branch
          • checksobjectRequired in this branch
            View nested fields
            • tokenstringRequired in this branch

              Allowed values: ["passed","failed","unknown"]

            • membershipstringRequired in this branch

              Allowed values: ["passed","failed","unknown"]

            • coexistencestringRequired in this branch

              Allowed values: ["passed","failed","unknown"]

            • subscriptionstringRequired in this branch

              Allowed values: ["passed","failed","unknown"]

            • additionalPropertiesno value allowedSchema rule
          • tokenExpiresAtanyOf (string | null)Required in this branch

            At least one of these variants must match.

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

            At least one of these variants must match.

            View nested fields
            • anyOf 1string · date-timeSchema branch
            • anyOf 2nullSchema branch
          • allOf 1unspecifiedSchema branch
            View branch fields and rules
            • ifobjectSchema rule
              View branch fields and rules
              • resultstringCondition predicate

                Value: "healthy"

            • thenobjectSchema rule
              View branch fields and rules
              • reasonnullOptional in this branch
              • checksobjectOptional in this branch
                View nested fields
                • tokenstringOptional in this branch

                  Value: "passed"

                • membershipstringOptional in this branch

                  Value: "passed"

                • coexistencestringOptional in this branch

                  Value: "passed"

                • subscriptionstringOptional in this branch

                  Value: "passed"

            • elseobjectSchema rule
              View branch fields and rules
              • reasonstringOptional in this branch

                Allowed values: ["token_invalid","token_expired","app_mismatch","permissions_missing","asset_unavailable","not_coexistence","subscription_missing","provider_unavailable","provider_response_invalid","provider_rate_limited"]

          • additionalPropertiesno value allowedSchema rule
        • settledSubscriptionbooleanRequired in this branch
        • additionalPropertiesno value allowedSchema rule
      • anyOf 2nullSchema branch
    • currentobjectRequired in this branch

      Credential-bound whole-business saved connection view. A null connection means no supported saved Coexistence connection; it does not prove absence of a legacy WhatsApp channel. configured reflects manual-check runtime configuration, not business verification. No credentials, raw asset IDs or provider errors are exposed.

      View nested fields
      • versionstringRequired in this branch

        Opaque current connection version. Preserve the quoted ETag as If-Match. Do not construct, increment or substitute it on recovery.

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

      • configuredbooleanRequired in this branch
      • botActivebooleanRequired in this branch
      • reconciliationAttemptIdanyOf (string | null)Required in this branch

        At least one of these variants must match.

        View nested fields
        • anyOf 1string · uuidSchema branch
        • anyOf 2nullSchema branch
      • connectionanyOf (object | null)Required in this branch

        At least one of these variants must match.

        View nested fields
        • anyOf 1objectSchema branch
          View branch fields and rules
          • statestringRequired in this branch

            Allowed values: ["prepared","verified","ready","disconnected","blocked"]

          • displayPhoneNumberanyOf (string | null)Required in this branch

            At least one of these variants must match.

            View nested fields
            • anyOf 1stringSchema branch

              maxLength: 64

            • anyOf 2nullSchema branch
          • verifiedAtanyOf (string | null)Required in this branch

            At least one of these variants must match.

            View nested fields
            • anyOf 1string · date-timeSchema branch
            • anyOf 2nullSchema branch
          • generationintegerRequired in this branch

            minimum: 0maximum: 9007199254740991

          • currentBindingbooleanRequired in this branch
          • outboundAllowedbooleanRequired in this branch
          • lifecycleobjectRequired in this branch
            View nested fields
            • eventanyOf (string | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1stringSchema branch

                Allowed values: ["PARTNER_REMOVED","ACCOUNT_OFFBOARDED","ACCOUNT_RECONNECTED"]

              • anyOf 2nullSchema branch
            • occurredAtanyOf (string | null)Required in this branch

              At least one of these variants must match.

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

              At least one of these variants must match.

              View nested fields
              • anyOf 1string · date-timeSchema branch
              • anyOf 2nullSchema branch
            • requiresVerificationbooleanRequired in this branch
            • additionalPropertiesno value allowedSchema rule
          • stagesobjectRequired in this branch
            View nested fields
            • subscribestringRequired in this branch

              Allowed values: ["pending","running","succeeded","failed","unknown","not_requested"]

            • contactsstringRequired in this branch

              Allowed values: ["pending","running","succeeded","failed","unknown","not_requested"]

            • historystringRequired in this branch

              Allowed values: ["pending","running","succeeded","failed","unknown","not_requested"]

            • additionalPropertiesno value allowedSchema rule
          • eventsReceivedintegerRequired in this branch

            minimum: 0maximum: 9007199254740991

          • historySharingStatusstringRequired in this branch

            Allowed values: ["unknown","declined","receiving","complete"]

          • healthobjectRequired in this branch

            Saved health evidence and current action availability. Display checkedAt; current does not mean a new live observation was made by this GET. retryAt is nullable. Unknown is not healthy.

            View nested fields
            • resultanyOf (string | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1stringSchema branch

                Allowed values: ["healthy","action_required","unknown"]

              • anyOf 2nullSchema branch
            • reasonanyOf (string | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1stringSchema branch

                Allowed values: ["token_invalid","token_expired","app_mismatch","permissions_missing","asset_unavailable","not_coexistence","subscription_missing","provider_unavailable","provider_response_invalid","provider_rate_limited"]

              • anyOf 2nullSchema branch
            • checksobjectRequired in this branch
              View nested fields
              • tokenstringRequired in this branch

                Allowed values: ["passed","failed","unknown"]

              • membershipstringRequired in this branch

                Allowed values: ["passed","failed","unknown"]

              • coexistencestringRequired in this branch

                Allowed values: ["passed","failed","unknown"]

              • subscriptionstringRequired in this branch

                Allowed values: ["passed","failed","unknown"]

              • additionalPropertiesno value allowedSchema rule
            • tokenExpiresAtanyOf (string | null)Required in this branch

              At least one of these variants must match.

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

              At least one of these variants must match.

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

              At least one of these variants must match.

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

              At least one of these variants must match.

              View nested fields
              • anyOf 1string · date-timeSchema branch
              • anyOf 2nullSchema branch
            • currentbooleanRequired in this branch
            • canCheckbooleanRequired in this branch
            • checkBlockReasonanyOf (string | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1stringSchema branch

                Allowed values: ["connection_unverified","connection_changed","check_in_progress","check_rate_limited","connection_paused","attempt_unavailable","operation_not_unknown","configuration_missing","tenant_not_enabled","scope_required"]

              • anyOf 2nullSchema branch
            • retryAtanyOf (string | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1string · date-timeSchema branch
              • anyOf 2nullSchema branch
            • canReconcileSubscriptionbooleanRequired in this branch
            • reconciliationBlockReasonanyOf (string | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1stringSchema branch

                Allowed values: ["connection_unverified","connection_changed","check_in_progress","check_rate_limited","connection_paused","attempt_unavailable","operation_not_unknown","configuration_missing","tenant_not_enabled","scope_required"]

              • anyOf 2nullSchema branch
            • subscriptionReconciledAtanyOf (string | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1string · date-timeSchema branch
              • anyOf 2nullSchema branch
            • additionalPropertiesno value allowedSchema rule
          • reminderReadinessobjectOptional in this branch

            Saved reminder-template approval observation. Not a new provider check or a guarantee that a reminder can be sent or delivered.

            View nested fields
            • schemaVersionnumberRequired in this branch

              Value: 1

            • checkedAtanyOf (string | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1string · date-timeSchema branch
              • anyOf 2nullSchema branch
            • configurationMatchesbooleanRequired in this branch
            • currentbooleanRequired in this branch
            • readOutcomestringRequired in this branch

              Allowed values: ["complete","unavailable","unknown"]

            • approvedLanguagesarrayRequired in this branch

              uniqueItems: truemaxItems: 3

              View nested fields
              • []stringArray item

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

            • languagesobjectRequired in this branch
              View nested fields
              • heobjectRequired in this branch
                View nested fields
                • availableanyOf (boolean | null)Required in this branch

                  At least one of these variants must match.

                  View nested fields
                  • anyOf 1booleanSchema branch
                  • anyOf 2nullSchema branch
                • actualLanguageanyOf (string | null)Required in this branch

                  At least one of these variants must match.

                  View nested fields
                  • anyOf 1stringSchema branch

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

                  • anyOf 2nullSchema branch
                • languageCodeanyOf (string | null)Required in this branch

                  At least one of these variants must match.

                  View nested fields
                  • anyOf 1stringSchema branch

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

                  • anyOf 2nullSchema branch
                • additionalPropertiesno value allowedSchema rule
              • arobjectRequired in this branch
                View nested fields
                • availableanyOf (boolean | null)Required in this branch

                  At least one of these variants must match.

                  View nested fields
                  • anyOf 1booleanSchema branch
                  • anyOf 2nullSchema branch
                • actualLanguageanyOf (string | null)Required in this branch

                  At least one of these variants must match.

                  View nested fields
                  • anyOf 1stringSchema branch

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

                  • anyOf 2nullSchema branch
                • languageCodeanyOf (string | null)Required in this branch

                  At least one of these variants must match.

                  View nested fields
                  • anyOf 1stringSchema branch

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

                  • anyOf 2nullSchema branch
                • additionalPropertiesno value allowedSchema rule
              • enobjectRequired in this branch
                View nested fields
                • availableanyOf (boolean | null)Required in this branch

                  At least one of these variants must match.

                  View nested fields
                  • anyOf 1booleanSchema branch
                  • anyOf 2nullSchema branch
                • actualLanguageanyOf (string | null)Required in this branch

                  At least one of these variants must match.

                  View nested fields
                  • anyOf 1stringSchema branch

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

                  • anyOf 2nullSchema branch
                • languageCodeanyOf (string | null)Required in this branch

                  At least one of these variants must match.

                  View nested fields
                  • anyOf 1stringSchema branch

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

                  • anyOf 2nullSchema branch
                • additionalPropertiesno value allowedSchema rule
              • additionalPropertiesno value allowedSchema rule
            • additionalPropertiesno value allowedSchema rule
          • additionalPropertiesno value allowedSchema rule
        • anyOf 2nullSchema branch
      • billingEvidenceallOf (object; allOf (unspecified) & unspecified)Optional in this branch

        All of these schema rules apply together.

        View nested fields
        • allOf 1object; allOf (unspecified)Schema branch

          Saved signature-verified failed-delivery evidence, independent of connection readiness. observed is within 24 hours; stale is older than 24 hours and within 7 days. Unknown or absence is not proof of recovery. No Graph billing probe, provider retry or billing mutation is performed.

          All of these schema rules apply together.

          View branch fields and rules
          • statestringRequired in this branch

            Allowed values: ["observed","stale","unknown"]

          • reasonstring | nullRequired in this branch

            Allowed values: ["currency_missing","payment_issue",null]

          • observedAtstring | null · date-timeRequired in this branch
          • wabaIdstring | nullRequired in this branch

            Current Messaging account (legacy WABA) scope; no phone number or payment credential.

            pattern: "^[0-9]{5,32}$"

          • allOf 1unspecifiedSchema branch
            View branch fields and rules
            • ifobjectSchema rule
              View branch fields and rules
              • statestringCondition predicate

                Value: "unknown"

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

                Value: null

              • observedAtnullOptional in this branch

                Value: null

            • elseobjectSchema rule
              View branch fields and rules
              • reasonstringOptional in this branch

                Allowed values: ["currency_missing","payment_issue"]

              • observedAtstring · date-timeOptional in this branch
              • wabaIdstringOptional in this branch

                pattern: "^[0-9]{5,32}$"

          • additionalPropertiesno value allowedSchema rule
        • allOf 2unspecifiedSchema branch

          Optional additive evidence under the existing connection-read scope. Older servers may omit it; treat absence as unknown. Shared Messaging accounts can share the observation across businesses.

      • additionalPropertiesno value allowedSchema rule
    • replayedbooleanRequired in this branch
    • allOf 1unspecifiedSchema branch
      View branch fields and rules
      • ifobjectSchema rule
        View branch fields and rules
        • statestringCondition predicate

          Value: "committed"

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

          Immutable accepted observation for the original exact request. settledSubscription=true only confirms that an eligible unknown subscription was observed present and its saved state settled. It never means a new subscription was sent.

          View nested fields
          • operationIdstring · uuidRequired in this branch
          • requestobject; allOf (unspecified)Required in this branch

            All of these schema rules apply together.

            View nested fields
            • expectedVersionstringRequired in this branch

              Opaque current connection version. Preserve the quoted ETag as If-Match. Do not construct, increment or substitute it on recovery.

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

            • actionstringRequired in this branch

              Allowed values: ["health_check","reconcile_subscription"]

            • attemptIdanyOf (string | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1string · uuidSchema branch
              • anyOf 2nullSchema branch
            • externalActorRefanyOf (string | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1stringSchema branch

                Optional external staff reference; no CRAD owner identity is asserted. Keep the exact supplied value during recovery.

                maxLength: 200minLength: 1pattern: "^(?=.*\\S)[^\\u0000-\\u001f\\u007f]+$"

              • anyOf 2nullSchema branch
            • allOf 1unspecifiedSchema branch
              View branch fields and rules
              • ifobjectSchema rule
                View branch fields and rules
                • actionstringCondition predicate

                  Value: "health_check"

              • thenobjectSchema rule
                View branch fields and rules
                • attemptIdnullOptional in this branch
              • elseobjectSchema rule
                View branch fields and rules
                • attemptIdstring · uuidOptional in this branch
            • additionalPropertiesno value allowedSchema rule
          • checkedAtstring · date-timeRequired in this branch
          • healthobject; allOf (unspecified)Required in this branch

            Finite facts from a GET-only Meta observation. Healthy requires all four checks to pass; this does not prove delivery, activate the bot or extend token expiry.

            All of these schema rules apply together.

            View nested fields
            • resultstringRequired in this branch

              Allowed values: ["healthy","action_required","unknown"]

            • reasonanyOf (string | null)Required in this branch

              At least one of these variants must match.

              View nested fields
              • anyOf 1stringSchema branch

                Allowed values: ["token_invalid","token_expired","app_mismatch","permissions_missing","asset_unavailable","not_coexistence","subscription_missing","provider_unavailable","provider_response_invalid","provider_rate_limited"]

              • anyOf 2nullSchema branch
            • checksobjectRequired in this branch
              View nested fields
              • tokenstringRequired in this branch

                Allowed values: ["passed","failed","unknown"]

              • membershipstringRequired in this branch

                Allowed values: ["passed","failed","unknown"]

              • coexistencestringRequired in this branch

                Allowed values: ["passed","failed","unknown"]

              • subscriptionstringRequired in this branch

                Allowed values: ["passed","failed","unknown"]

              • additionalPropertiesno value allowedSchema rule
            • tokenExpiresAtanyOf (string | null)Required in this branch

              At least one of these variants must match.

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

              At least one of these variants must match.

              View nested fields
              • anyOf 1string · date-timeSchema branch
              • anyOf 2nullSchema branch
            • allOf 1unspecifiedSchema branch
              View branch fields and rules
              • ifobjectSchema rule
                View branch fields and rules
                • resultstringCondition predicate

                  Value: "healthy"

              • thenobjectSchema rule
                View branch fields and rules
                • reasonnullOptional in this branch
                • checksobjectOptional in this branch
                  View nested fields
                  • tokenstringOptional in this branch

                    Value: "passed"

                  • membershipstringOptional in this branch

                    Value: "passed"

                  • coexistencestringOptional in this branch

                    Value: "passed"

                  • subscriptionstringOptional in this branch

                    Value: "passed"

              • elseobjectSchema rule
                View branch fields and rules
                • reasonstringOptional in this branch

                  Allowed values: ["token_invalid","token_expired","app_mismatch","permissions_missing","asset_unavailable","not_coexistence","subscription_missing","provider_unavailable","provider_response_invalid","provider_rate_limited"]

            • additionalPropertiesno value allowedSchema rule
          • settledSubscriptionbooleanRequired in this branch
          • additionalPropertiesno value allowedSchema rule
      • elseobjectSchema rule
        View branch fields and rules
        • receiptnullOptional in this branch
    • additionalPropertiesno value allowedSchema rule
  • anyOf 2 · status = "not_found"objectSchema branch
    View branch fields and rules
    • statusstringRequired in this branch

      Value: "not_found"

    • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "anyOf": [
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "operationId": {
          "type": "string",
          "format": "uuid"
        },
        "request": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "expectedVersion": {
              "type": "string",
              "pattern": "^wc[a-f0-9]{64}$",
              "description": "Opaque current connection version. Preserve the quoted ETag as If-Match. Do not construct, increment or substitute it on recovery."
            },
            "action": {
              "type": "string",
              "enum": [
                "health_check",
                "reconcile_subscription"
              ]
            },
            "attemptId": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            },
            "externalActorRef": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 200,
                  "minLength": 1,
                  "pattern": "^(?=.*\\S)[^\\u0000-\\u001f\\u007f]+$",
                  "description": "Optional external staff reference; no CRAD owner identity is asserted. Keep the exact supplied value during recovery."
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "expectedVersion",
            "action",
            "attemptId",
            "externalActorRef"
          ],
          "allOf": [
            {
              "if": {
                "properties": {
                  "action": {
                    "const": "health_check"
                  }
                }
              },
              "then": {
                "properties": {
                  "attemptId": {
                    "type": "null"
                  }
                }
              },
              "else": {
                "properties": {
                  "attemptId": {
                    "type": "string",
                    "format": "uuid"
                  }
                }
              }
            }
          ]
        },
        "state": {
          "type": "string",
          "enum": [
            "pending",
            "committed",
            "expired"
          ]
        },
        "startedAt": {
          "type": "string",
          "format": "date-time"
        },
        "expiresAt": {
          "type": "string",
          "format": "date-time"
        },
        "receipt": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "operationId": {
                  "type": "string",
                  "format": "uuid"
                },
                "request": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "expectedVersion": {
                      "type": "string",
                      "pattern": "^wc[a-f0-9]{64}$",
                      "description": "Opaque current connection version. Preserve the quoted ETag as If-Match. Do not construct, increment or substitute it on recovery."
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "health_check",
                        "reconcile_subscription"
                      ]
                    },
                    "attemptId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "externalActorRef": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 200,
                          "minLength": 1,
                          "pattern": "^(?=.*\\S)[^\\u0000-\\u001f\\u007f]+$",
                          "description": "Optional external staff reference; no CRAD owner identity is asserted. Keep the exact supplied value during recovery."
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "expectedVersion",
                    "action",
                    "attemptId",
                    "externalActorRef"
                  ],
                  "allOf": [
                    {
                      "if": {
                        "properties": {
                          "action": {
                            "const": "health_check"
                          }
                        }
                      },
                      "then": {
                        "properties": {
                          "attemptId": {
                            "type": "null"
                          }
                        }
                      },
                      "else": {
                        "properties": {
                          "attemptId": {
                            "type": "string",
                            "format": "uuid"
                          }
                        }
                      }
                    }
                  ]
                },
                "checkedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "health": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "result": {
                      "type": "string",
                      "enum": [
                        "healthy",
                        "action_required",
                        "unknown"
                      ]
                    },
                    "reason": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "token_invalid",
                            "token_expired",
                            "app_mismatch",
                            "permissions_missing",
                            "asset_unavailable",
                            "not_coexistence",
                            "subscription_missing",
                            "provider_unavailable",
                            "provider_response_invalid",
                            "provider_rate_limited"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "checks": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "token": {
                          "type": "string",
                          "enum": [
                            "passed",
                            "failed",
                            "unknown"
                          ]
                        },
                        "membership": {
                          "type": "string",
                          "enum": [
                            "passed",
                            "failed",
                            "unknown"
                          ]
                        },
                        "coexistence": {
                          "type": "string",
                          "enum": [
                            "passed",
                            "failed",
                            "unknown"
                          ]
                        },
                        "subscription": {
                          "type": "string",
                          "enum": [
                            "passed",
                            "failed",
                            "unknown"
                          ]
                        }
                      },
                      "required": [
                        "token",
                        "membership",
                        "coexistence",
                        "subscription"
                      ]
                    },
                    "tokenExpiresAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "dataAccessExpiresAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "result",
                    "reason",
                    "checks",
                    "tokenExpiresAt",
                    "dataAccessExpiresAt"
                  ],
                  "description": "Finite facts from a GET-only Meta observation. Healthy requires all four checks to pass; this does not prove delivery, activate the bot or extend token expiry.",
                  "allOf": [
                    {
                      "if": {
                        "properties": {
                          "result": {
                            "const": "healthy"
                          }
                        }
                      },
                      "then": {
                        "properties": {
                          "reason": {
                            "type": "null"
                          },
                          "checks": {
                            "properties": {
                              "token": {
                                "const": "passed"
                              },
                              "membership": {
                                "const": "passed"
                              },
                              "coexistence": {
                                "const": "passed"
                              },
                              "subscription": {
                                "const": "passed"
                              }
                            }
                          }
                        }
                      },
                      "else": {
                        "properties": {
                          "reason": {
                            "type": "string",
                            "enum": [
                              "token_invalid",
                              "token_expired",
                              "app_mismatch",
                              "permissions_missing",
                              "asset_unavailable",
                              "not_coexistence",
                              "subscription_missing",
                              "provider_unavailable",
                              "provider_response_invalid",
                              "provider_rate_limited"
                            ]
                          }
                        }
                      }
                    }
                  ]
                },
                "settledSubscription": {
                  "type": "boolean"
                }
              },
              "required": [
                "operationId",
                "request",
                "checkedAt",
                "health",
                "settledSubscription"
              ],
              "description": "Immutable accepted observation for the original exact request. settledSubscription=true only confirms that an eligible unknown subscription was observed present and its saved state settled. It never means a new subscription was sent."
            },
            {
              "type": "null"
            }
          ]
        },
        "current": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "version": {
              "type": "string",
              "pattern": "^wc[a-f0-9]{64}$",
              "description": "Opaque current connection version. Preserve the quoted ETag as If-Match. Do not construct, increment or substitute it on recovery."
            },
            "configured": {
              "type": "boolean"
            },
            "botActive": {
              "type": "boolean"
            },
            "reconciliationAttemptId": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            },
            "connection": {
              "anyOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "state": {
                      "type": "string",
                      "enum": [
                        "prepared",
                        "verified",
                        "ready",
                        "disconnected",
                        "blocked"
                      ]
                    },
                    "displayPhoneNumber": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 64
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "verifiedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "generation": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "currentBinding": {
                      "type": "boolean"
                    },
                    "outboundAllowed": {
                      "type": "boolean"
                    },
                    "lifecycle": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "event": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "PARTNER_REMOVED",
                                "ACCOUNT_OFFBOARDED",
                                "ACCOUNT_RECONNECTED"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "occurredAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "receivedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "requiresVerification": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "event",
                        "occurredAt",
                        "receivedAt",
                        "requiresVerification"
                      ]
                    },
                    "stages": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "subscribe": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "running",
                            "succeeded",
                            "failed",
                            "unknown",
                            "not_requested"
                          ]
                        },
                        "contacts": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "running",
                            "succeeded",
                            "failed",
                            "unknown",
                            "not_requested"
                          ]
                        },
                        "history": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "running",
                            "succeeded",
                            "failed",
                            "unknown",
                            "not_requested"
                          ]
                        }
                      },
                      "required": [
                        "subscribe",
                        "contacts",
                        "history"
                      ]
                    },
                    "eventsReceived": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "historySharingStatus": {
                      "type": "string",
                      "enum": [
                        "unknown",
                        "declined",
                        "receiving",
                        "complete"
                      ]
                    },
                    "health": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "result": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "healthy",
                                "action_required",
                                "unknown"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "reason": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "token_invalid",
                                "token_expired",
                                "app_mismatch",
                                "permissions_missing",
                                "asset_unavailable",
                                "not_coexistence",
                                "subscription_missing",
                                "provider_unavailable",
                                "provider_response_invalid",
                                "provider_rate_limited"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "checks": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "token": {
                              "type": "string",
                              "enum": [
                                "passed",
                                "failed",
                                "unknown"
                              ]
                            },
                            "membership": {
                              "type": "string",
                              "enum": [
                                "passed",
                                "failed",
                                "unknown"
                              ]
                            },
                            "coexistence": {
                              "type": "string",
                              "enum": [
                                "passed",
                                "failed",
                                "unknown"
                              ]
                            },
                            "subscription": {
                              "type": "string",
                              "enum": [
                                "passed",
                                "failed",
                                "unknown"
                              ]
                            }
                          },
                          "required": [
                            "token",
                            "membership",
                            "coexistence",
                            "subscription"
                          ]
                        },
                        "tokenExpiresAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "dataAccessExpiresAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "checkedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "lastHealthyAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "current": {
                          "type": "boolean"
                        },
                        "canCheck": {
                          "type": "boolean"
                        },
                        "checkBlockReason": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "connection_unverified",
                                "connection_changed",
                                "check_in_progress",
                                "check_rate_limited",
                                "connection_paused",
                                "attempt_unavailable",
                                "operation_not_unknown",
                                "configuration_missing",
                                "tenant_not_enabled",
                                "scope_required"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "retryAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "canReconcileSubscription": {
                          "type": "boolean"
                        },
                        "reconciliationBlockReason": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "connection_unverified",
                                "connection_changed",
                                "check_in_progress",
                                "check_rate_limited",
                                "connection_paused",
                                "attempt_unavailable",
                                "operation_not_unknown",
                                "configuration_missing",
                                "tenant_not_enabled",
                                "scope_required"
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "subscriptionReconciledAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "result",
                        "reason",
                        "checks",
                        "tokenExpiresAt",
                        "dataAccessExpiresAt",
                        "checkedAt",
                        "lastHealthyAt",
                        "current",
                        "canCheck",
                        "checkBlockReason",
                        "retryAt",
                        "canReconcileSubscription",
                        "reconciliationBlockReason",
                        "subscriptionReconciledAt"
                      ],
                      "description": "Saved health evidence and current action availability. Display checkedAt; current does not mean a new live observation was made by this GET. retryAt is nullable. Unknown is not healthy."
                    },
                    "reminderReadiness": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "schemaVersion": {
                          "const": 1
                        },
                        "checkedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "configurationMatches": {
                          "type": "boolean"
                        },
                        "current": {
                          "type": "boolean"
                        },
                        "readOutcome": {
                          "type": "string",
                          "enum": [
                            "complete",
                            "unavailable",
                            "unknown"
                          ]
                        },
                        "approvedLanguages": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "he",
                              "ar",
                              "en"
                            ]
                          },
                          "uniqueItems": true,
                          "maxItems": 3
                        },
                        "languages": {
                          "type": "object",
                          "additionalProperties": false,
                          "properties": {
                            "he": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "available": {
                                  "anyOf": [
                                    {
                                      "type": "boolean"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "actualLanguage": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "he",
                                        "ar",
                                        "en"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "languageCode": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "he",
                                        "ar",
                                        "en",
                                        "en_US"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "available",
                                "actualLanguage",
                                "languageCode"
                              ]
                            },
                            "ar": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "available": {
                                  "anyOf": [
                                    {
                                      "type": "boolean"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "actualLanguage": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "he",
                                        "ar",
                                        "en"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "languageCode": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "he",
                                        "ar",
                                        "en",
                                        "en_US"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "available",
                                "actualLanguage",
                                "languageCode"
                              ]
                            },
                            "en": {
                              "type": "object",
                              "additionalProperties": false,
                              "properties": {
                                "available": {
                                  "anyOf": [
                                    {
                                      "type": "boolean"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "actualLanguage": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "he",
                                        "ar",
                                        "en"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "languageCode": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "he",
                                        "ar",
                                        "en",
                                        "en_US"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "available",
                                "actualLanguage",
                                "languageCode"
                              ]
                            }
                          },
                          "required": [
                            "he",
                            "ar",
                            "en"
                          ]
                        }
                      },
                      "required": [
                        "schemaVersion",
                        "checkedAt",
                        "configurationMatches",
                        "current",
                        "readOutcome",
                        "approvedLanguages",
                        "languages"
                      ],
                      "description": "Saved reminder-template approval observation. Not a new provider check or a guarantee that a reminder can be sent or delivered."
                    }
                  },
                  "required": [
                    "state",
                    "displayPhoneNumber",
                    "verifiedAt",
                    "generation",
                    "currentBinding",
                    "outboundAllowed",
                    "lifecycle",
                    "stages",
                    "eventsReceived",
                    "historySharingStatus",
                    "health"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "billingEvidence": {
              "allOf": [
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "state",
                    "reason",
                    "observedAt",
                    "wabaId"
                  ],
                  "properties": {
                    "state": {
                      "type": "string",
                      "enum": [
                        "observed",
                        "stale",
                        "unknown"
                      ]
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "enum": [
                        "currency_missing",
                        "payment_issue",
                        null
                      ]
                    },
                    "observedAt": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "format": "date-time"
                    },
                    "wabaId": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "pattern": "^[0-9]{5,32}$",
                      "description": "Current Messaging account (legacy WABA) scope; no phone number or payment credential."
                    }
                  },
                  "allOf": [
                    {
                      "if": {
                        "properties": {
                          "state": {
                            "const": "unknown"
                          }
                        }
                      },
                      "then": {
                        "properties": {
                          "reason": {
                            "const": null
                          },
                          "observedAt": {
                            "const": null
                          }
                        }
                      },
                      "else": {
                        "properties": {
                          "reason": {
                            "type": "string",
                            "enum": [
                              "currency_missing",
                              "payment_issue"
                            ]
                          },
                          "observedAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "wabaId": {
                            "type": "string",
                            "pattern": "^[0-9]{5,32}$"
                          }
                        }
                      }
                    }
                  ],
                  "description": "Saved signature-verified failed-delivery evidence, independent of connection readiness. observed is within 24 hours; stale is older than 24 hours and within 7 days. Unknown or absence is not proof of recovery. No Graph billing probe, provider retry or billing mutation is performed."
                },
                {
                  "description": "Optional additive evidence under the existing connection-read scope. Older servers may omit it; treat absence as unknown. Shared Messaging accounts can share the observation across businesses."
                }
              ]
            }
          },
          "required": [
            "version",
            "configured",
            "botActive",
            "reconciliationAttemptId",
            "connection"
          ],
          "description": "Credential-bound whole-business saved connection view. A null connection means no supported saved Coexistence connection; it does not prove absence of a legacy WhatsApp channel. configured reflects manual-check runtime configuration, not business verification. No credentials, raw asset IDs or provider errors are exposed."
        },
        "replayed": {
          "type": "boolean"
        }
      },
      "required": [
        "operationId",
        "request",
        "state",
        "startedAt",
        "expiresAt",
        "receipt",
        "current",
        "replayed"
      ],
      "description": "HTTP 200 is a durable operation state, not necessarily completion. Only committed has a receipt. current is freshly authorized saved state and can differ from the immutable receipt. pending/expired never redispatch the original UUID.",
      "allOf": [
        {
          "if": {
            "properties": {
              "state": {
                "const": "committed"
              }
            }
          },
          "then": {
            "properties": {
              "receipt": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "operationId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "request": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "expectedVersion": {
                        "type": "string",
                        "pattern": "^wc[a-f0-9]{64}$",
                        "description": "Opaque current connection version. Preserve the quoted ETag as If-Match. Do not construct, increment or substitute it on recovery."
                      },
                      "action": {
                        "type": "string",
                        "enum": [
                          "health_check",
                          "reconcile_subscription"
                        ]
                      },
                      "attemptId": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uuid"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "externalActorRef": {
                        "anyOf": [
                          {
                            "type": "string",
                            "maxLength": 200,
                            "minLength": 1,
                            "pattern": "^(?=.*\\S)[^\\u0000-\\u001f\\u007f]+$",
                            "description": "Optional external staff reference; no CRAD owner identity is asserted. Keep the exact supplied value during recovery."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "expectedVersion",
                      "action",
                      "attemptId",
                      "externalActorRef"
                    ],
                    "allOf": [
                      {
                        "if": {
                          "properties": {
                            "action": {
                              "const": "health_check"
                            }
                          }
                        },
                        "then": {
                          "properties": {
                            "attemptId": {
                              "type": "null"
                            }
                          }
                        },
                        "else": {
                          "properties": {
                            "attemptId": {
                              "type": "string",
                              "format": "uuid"
                            }
                          }
                        }
                      }
                    ]
                  },
                  "checkedAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "health": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "result": {
                        "type": "string",
                        "enum": [
                          "healthy",
                          "action_required",
                          "unknown"
                        ]
                      },
                      "reason": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "token_invalid",
                              "token_expired",
                              "app_mismatch",
                              "permissions_missing",
                              "asset_unavailable",
                              "not_coexistence",
                              "subscription_missing",
                              "provider_unavailable",
                              "provider_response_invalid",
                              "provider_rate_limited"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "checks": {
                        "type": "object",
                        "additionalProperties": false,
                        "properties": {
                          "token": {
                            "type": "string",
                            "enum": [
                              "passed",
                              "failed",
                              "unknown"
                            ]
                          },
                          "membership": {
                            "type": "string",
                            "enum": [
                              "passed",
                              "failed",
                              "unknown"
                            ]
                          },
                          "coexistence": {
                            "type": "string",
                            "enum": [
                              "passed",
                              "failed",
                              "unknown"
                            ]
                          },
                          "subscription": {
                            "type": "string",
                            "enum": [
                              "passed",
                              "failed",
                              "unknown"
                            ]
                          }
                        },
                        "required": [
                          "token",
                          "membership",
                          "coexistence",
                          "subscription"
                        ]
                      },
                      "tokenExpiresAt": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "date-time"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "dataAccessExpiresAt": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "date-time"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "result",
                      "reason",
                      "checks",
                      "tokenExpiresAt",
                      "dataAccessExpiresAt"
                    ],
                    "description": "Finite facts from a GET-only Meta observation. Healthy requires all four checks to pass; this does not prove delivery, activate the bot or extend token expiry.",
                    "allOf": [
                      {
                        "if": {
                          "properties": {
                            "result": {
                              "const": "healthy"
                            }
                          }
                        },
                        "then": {
                          "properties": {
                            "reason": {
                              "type": "null"
                            },
                            "checks": {
                              "properties": {
                                "token": {
                                  "const": "passed"
                                },
                                "membership": {
                                  "const": "passed"
                                },
                                "coexistence": {
                                  "const": "passed"
                                },
                                "subscription": {
                                  "const": "passed"
                                }
                              }
                            }
                          }
                        },
                        "else": {
                          "properties": {
                            "reason": {
                              "type": "string",
                              "enum": [
                                "token_invalid",
                                "token_expired",
                                "app_mismatch",
                                "permissions_missing",
                                "asset_unavailable",
                                "not_coexistence",
                                "subscription_missing",
                                "provider_unavailable",
                                "provider_response_invalid",
                                "provider_rate_limited"
                              ]
                            }
                          }
                        }
                      }
                    ]
                  },
                  "settledSubscription": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "operationId",
                  "request",
                  "checkedAt",
                  "health",
                  "settledSubscription"
                ],
                "description": "Immutable accepted observation for the original exact request. settledSubscription=true only confirms that an eligible unknown subscription was observed present and its saved state settled. It never means a new subscription was sent."
              }
            }
          },
          "else": {
            "properties": {
              "receipt": {
                "type": "null"
              }
            }
          }
        }
      ]
    },
    {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "status": {
          "const": "not_found"
        }
      },
      "required": [
        "status"
      ]
    }
  ]
}

Errors and recovery

Error responses declared in the contract (7)

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

401 · Missing or invalid current 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 credential, scope or Origin refused. Saved reads and recovery do not require fresh-check enrollment or manual runtime configuration.

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"
  ]
}
404 · Unknown route.

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 · Unsupported method.

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 syntax.

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 · General credential/site request quota exceeded. Reading saved state or recovering an operation does not acquire the provider-check lease or consume the manual-check start budget.

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 · Saved read unavailable: persistence, lock or installed-service failure. Retain the original operation locator and retry this read with a bounded delay; do not create a replacement check.

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