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

Discover messaging support, key grants and saved readiness

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

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

GET/v1/management/messaging-capabilities

تحقّقوا من العيادة والمفتاح بشكل منفصل

استخدموا نفس CRAD_API_KEY المعتمد من صاحب النشاط والمحفوظ على الخادم فقط. الموافقة على الحجوزات ورسائل العملاء ومستلم طلبات الموافقة إعدادات منفصلة؛ تفعيل الإعداد لا يثبت إمكانية تسليم الرسالة.

تحصل مفاتيح التقويم التي تتضمن appointments:read على عرض توافق في GET /v1/management: قد تُحذف صلاحيات إدارة قوالب واتساب وملفه الأربع من هذه الاستجابة. لا يلغي ذلك الصلاحيات الفعلية. يعرض GET /v1/management/messaging-capabilities صلاحيات whatsapp-templates:read وwhatsapp-templates:write وwhatsapp-profile:read وwhatsapp-profile:write عند منحها، وقيمة granted لكل ميزة. ميّزوا بين installed وproviderSupported وgranted وready؛ تعني ready:null أن الجاهزية غير معروفة. يفحص كل أمر فعلي الصلاحية مجددًا.

تابع خطوات رسائل العيادة

Behavior

Server-only, credential-specific messaging discovery. This response includes the WhatsApp template/profile scopes when granted and separates installed, providerSupported, granted and ready for each feature. ready:null means readiness is unknown. This read does not grant authority, probe Meta or establish delivery; each command rechecks current authority and connection.

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.

Request

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

Successful responses

200 · MessagingCapabilities

Current authorized discovery. Installed support, current key grants and saved readiness are separate; unknown readiness is not authorization to send.

Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

application/json · MessagingCapabilities

Server-only read of installed support and saved connection evidence, not a live Meta probe, activation, permission grant or appointment enrollment. A known transport name does not imply that every commercial API feature supports it.

  • contractVersionnumberRequired

    Value: 1

  • tenantIdstring · uuidRequired
  • workspacePurposestringRequired

    Allowed values: ["appointments","marketing","external_messaging"]

  • providerstringRequired

    Allowed values: ["whatsapp_cloud_api","openwa","twilio"]

  • connectionModestringRequired

    Allowed values: ["legacy","owner_cloud_api_v1","owner_coexistence_v1","owner_openwa_v1"]

  • scopesarrayRequired

    uniqueItems: true

    View nested fields
    • []stringArray item
  • connectionobjectRequired
    View nested fields
    • configuredbooleanRequired
    • policyAllowedbooleanRequired
    • policyReasonstring | nullRequired

      pattern: "^[a-z_]{1,64}$"

    • checkedAtstring | null · date-timeRequired
    • checkCurrentbooleanRequired
    • healthyboolean | nullRequired
    • additionalPropertiesno value allowedSchema rule
  • featuresobjectRequired
    View nested fields
    • conversationsobjectRequired
      View nested fields
      • readobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • writeobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • sendobjectRequired
        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • requiresConversationCheckbooleanRequired

          Value: true

        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • mediaobjectRequired
      View nested fields
      • readobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • messagingWebhooksobjectRequired
      View nested fields
      • readobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • writeobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • templateRequestsobjectRequired
      View nested fields
      • readobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • writeobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • whatsappConnectionobjectRequired
      View nested fields
      • readobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • checkobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • whatsappTemplatesobjectRequired
      View nested fields
      • readobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • writeobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • whatsappProfileobjectRequired
      View nested fields
      • readobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • writeobjectRequired

        Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks.

        View nested fields
        • installedbooleanRequired
        • providerSupportedbooleanRequired
        • grantedbooleanRequired
        • readyboolean | nullRequired
        • reasonstring | nullRequired

          Allowed values: ["not_installed","provider_unsupported","scope_required","configuration_missing","connection_blocked","readiness_unknown",null]

        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "contractVersion": {
      "const": 1
    },
    "tenantId": {
      "type": "string",
      "format": "uuid"
    },
    "workspacePurpose": {
      "enum": [
        "appointments",
        "marketing",
        "external_messaging"
      ]
    },
    "provider": {
      "enum": [
        "whatsapp_cloud_api",
        "openwa",
        "twilio"
      ]
    },
    "connectionMode": {
      "enum": [
        "legacy",
        "owner_cloud_api_v1",
        "owner_coexistence_v1",
        "owner_openwa_v1"
      ]
    },
    "scopes": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "type": "string"
      }
    },
    "connection": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "configured": {
          "type": "boolean"
        },
        "policyAllowed": {
          "type": "boolean"
        },
        "policyReason": {
          "type": [
            "string",
            "null"
          ],
          "pattern": "^[a-z_]{1,64}$"
        },
        "checkedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "checkCurrent": {
          "type": "boolean"
        },
        "healthy": {
          "type": [
            "boolean",
            "null"
          ]
        }
      },
      "required": [
        "configured",
        "policyAllowed",
        "policyReason",
        "checkedAt",
        "checkCurrent",
        "healthy"
      ]
    },
    "features": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "conversations": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "read": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            },
            "write": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            },
            "send": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                },
                "requiresConversationCheck": {
                  "const": true
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason",
                "requiresConversationCheck"
              ]
            }
          },
          "required": [
            "read",
            "write",
            "send"
          ]
        },
        "media": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "read": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            }
          },
          "required": [
            "read"
          ]
        },
        "messagingWebhooks": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "read": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            },
            "write": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            }
          },
          "required": [
            "read",
            "write"
          ]
        },
        "templateRequests": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "read": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            },
            "write": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            }
          },
          "required": [
            "read",
            "write"
          ]
        },
        "whatsappConnection": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "read": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            },
            "check": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            }
          },
          "required": [
            "read",
            "check"
          ]
        },
        "whatsappTemplates": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "read": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            },
            "write": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            }
          },
          "required": [
            "read",
            "write"
          ]
        },
        "whatsappProfile": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "read": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            },
            "write": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "installed": {
                  "type": "boolean"
                },
                "providerSupported": {
                  "type": "boolean"
                },
                "granted": {
                  "type": "boolean"
                },
                "ready": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "reason": {
                  "enum": [
                    "not_installed",
                    "provider_unsupported",
                    "scope_required",
                    "configuration_missing",
                    "connection_blocked",
                    "readiness_unknown",
                    null
                  ]
                }
              },
              "required": [
                "installed",
                "providerSupported",
                "granted",
                "ready",
                "reason"
              ],
              "description": "Installed contract, transport support, actual key grant and readiness are independent. null readiness means no live provider probe established readiness; require the action's own checks."
            }
          },
          "required": [
            "read",
            "write"
          ]
        }
      },
      "required": [
        "conversations",
        "media",
        "messagingWebhooks",
        "templateRequests",
        "whatsappConnection",
        "whatsappTemplates",
        "whatsappProfile"
      ]
    }
  },
  "required": [
    "contractVersion",
    "tenantId",
    "workspacePurpose",
    "provider",
    "connectionMode",
    "scopes",
    "connection",
    "features"
  ],
  "description": "Server-only read of installed support and saved connection evidence, not a live Meta probe, activation, permission grant or appointment enrollment. A known transport name does not imply that every commercial API feature supports it."
}

Errors and recovery

Error responses declared in the contract (6)

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

401 · Missing or invalid server credential.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

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 · Scope, credential, integration or business authority denied; browser Origin is refused.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

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 HTTP method.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

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/unknown field, unsupported selector/query, UUID, precondition or template shape.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

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 · Credential/request or local template rate limit; honor Retry-After when supplied.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

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 · Configuration, provider or persistence unavailable; retain original operation identity because outcome may be uncertain.
Cache-Control
Cache-Control schema
{
  "const": "no-store"
}

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