CRADDevelopers
English

Read messaging webhook configuration

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/messaging-webhook

Behavior

Read installed support, exact approved URL, registration/enabled state and pending/failed counts. supported:true does not establish URL approval, active delivery or business readiness. The signing secret is never returned.

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

conversations:read

Server-only, scoped to the key’s integration. No booking permission is needed. Origin and If-Match are refused.

Request

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

Successful responses

200 · MessagingWebhookState

Current authorized result.

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

application/json · MessagingWebhookState

Current integration-scoped configuration. supported identifies installed HTTP support, not active delivery. registered means a credential has been bound; enabled is separate. Pending includes leased events. A missing approval or registration is represented by null IDs/URLs, not an invented destination.

  • supportedbooleanRequired

    Value: true

  • approvedCallbackUrlanyOf (string | null)Required

    At least one of these variants must match.

    View nested fields
    • anyOf 1string · uriSchema branch

      Exact CRAD-approved canonical HTTPS URL, including its path. No credentials, non-default port, IP-literal host, query or fragment. Hostnames must be lowercase; a host-only URL includes its trailing slash.

      maxLength: 1024pattern: "^https://[^\\s\\\\?#]+$"

    • anyOf 2nullSchema branch
  • registeredbooleanRequired
  • enabledbooleanRequired
  • subscriptionIdstring | null · uuidRequired
  • callbackUrlanyOf (string | null)Required

    At least one of these variants must match.

    View nested fields
    • anyOf 1string · uriSchema branch

      Exact CRAD-approved canonical HTTPS URL, including its path. No credentials, non-default port, IP-literal host, query or fragment. Hostnames must be lowercase; a host-only URL includes its trailing slash.

      maxLength: 1024pattern: "^https://[^\\s\\\\?#]+$"

    • anyOf 2nullSchema branch
  • eventsarrayRequired

    minItems: 2maxItems: 2uniqueItems: true

    View nested fields
    • []stringArray item

      Allowed values: ["message.received","message.status"]

  • pendingintegerRequired

    minimum: 0

  • failedintegerRequired

    minimum: 0

  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "supported": {
      "const": true
    },
    "approvedCallbackUrl": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 1024,
          "pattern": "^https://[^\\s\\\\?#]+$",
          "description": "Exact CRAD-approved canonical HTTPS URL, including its path. No credentials, non-default port, IP-literal host, query or fragment. Hostnames must be lowercase; a host-only URL includes its trailing slash."
        },
        {
          "type": "null"
        }
      ]
    },
    "registered": {
      "type": "boolean"
    },
    "enabled": {
      "type": "boolean"
    },
    "subscriptionId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "callbackUrl": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri",
          "maxLength": 1024,
          "pattern": "^https://[^\\s\\\\?#]+$",
          "description": "Exact CRAD-approved canonical HTTPS URL, including its path. No credentials, non-default port, IP-literal host, query or fragment. Hostnames must be lowercase; a host-only URL includes its trailing slash."
        },
        {
          "type": "null"
        }
      ]
    },
    "events": {
      "type": "array",
      "items": {
        "enum": [
          "message.received",
          "message.status"
        ]
      },
      "minItems": 2,
      "maxItems": 2,
      "uniqueItems": true
    },
    "pending": {
      "type": "integer",
      "minimum": 0
    },
    "failed": {
      "type": "integer",
      "minimum": 0
    }
  },
  "required": [
    "supported",
    "approvedCallbackUrl",
    "registered",
    "enabled",
    "subscriptionId",
    "callbackUrl",
    "events",
    "pending",
    "failed"
  ],
  "description": "Current integration-scoped configuration. supported identifies installed HTTP support, not active delivery. registered means a credential has been bound; enabled is separate. Pending includes leased events. A missing approval or registration is represented by null IDs/URLs, not an invented destination."
}

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 · UNAUTHENTICATED: invalid or unavailable 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 · SCOPE_REQUIRED, SERVER_CREDENTIAL_REQUIRED or FORBIDDEN. Configuration requires the exact URL previously approved by CRAD.

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 · ROUTE_UNAVAILABLE or NOT_FOUND. Unknown event IDs are not disclosed across integrations.

application/json · Error

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

      minimum: 1

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

application/json · Error

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

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
422 · INVALID_REQUEST. Malformed/extra input, forbidden If-Match, invalid query, or a retry that is not currently eligible.

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 · Request rate limited; respect Retry-After when present.

application/json · Error

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

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
503 · Persistence or timeout failure. A write outcome may be uncertain; preserve and retry the exact original command identity.

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