CRADDevelopers
English

Read approved booking resources

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/appointment-resources

Behavior

Server only. Your backend authenticates its administrator and sends an owner-issued wbm_ key without an Origin header. Every call requires appointments:read plus the stated action scope and a CURRENT per-credential owner calendar grant. Scope issuance alone grants no appointment access. Provider grants never imply manager authority, unassigned access, customer data or notes. Public booking intake, customer OTP, bot/WhatsApp readiness and customer messaging consent are separate. Inspect the current calendar grant, permitted providers, eligible active services and booking modes before requesting a quote. The maximum is 200 providers and 200 services; RESOURCE_LIMIT refuses oversize instead of silently truncating. Current catalogue prices are major units. A provider being returned does not guarantee a slot or create permission.

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

appointments:read

Request

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

Successful responses

200 · BusinessCalendarResources

Success.

Cache-Control · Contains no-store. Do not cache appointments, grants or receipts.
Cache-Control schema
{
  "type": "string",
  "const": "no-store"
}

application/json · BusinessCalendarResources

  • timezoneanyOf (string | null)Required

    At least one of these variants must match.

    View nested fields
    • anyOf 1stringSchema branch

      maxLength: 100

    • anyOf 2nullSchema branch
  • grantobjectRequired
    View nested fields
    • credentialIdstring · uuidRequired
    • integrationIdstring · uuidRequired
    • tenantIdstring · uuidRequired
    • grantRevisionintegerRequired

      minimum: 0maximum: 9007199254740991

    • roleCeilingnull | stringRequired

      Allowed values: [null,"business_manager","provider"]

    • providerIdsarrayRequired

      maxItems: 100uniqueItems: true

      View nested fields
      • []string · uuidArray item
    • wholeBusinessbooleanRequired
    • includeUnassignedbooleanRequired
    • notesReadbooleanRequired
    • additionalPropertiesno value allowedSchema rule
  • bookingModesobjectRequired
    View nested fields
    • legacyFixedSlotbooleanRequired
    • serviceDurationbooleanRequired
    • additionalPropertiesno value allowedSchema rule
  • providersarrayRequired

    maxItems: 200

    View nested fields
    • []objectArray item
      View nested fields
      • providerIdstring · uuidRequired
      • nameobjectRequired
        View nested fields
        • hestringOptional

          maxLength: 4096

        • arstringOptional

          maxLength: 4096

        • enstringOptional

          maxLength: 4096

        • additionalPropertiesno value allowedSchema rule
      • isActivebooleanRequired
      • slotDurationMinutesanyOf (integer | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1integerSchema branch

          minimum: 0maximum: 1440

        • anyOf 2nullSchema branch
      • additionalPropertiesno value allowedSchema rule
  • servicesarrayRequired

    maxItems: 200

    View nested fields
    • []object; allOf (unspecified)Array item

      All of these schema rules apply together.

      View nested fields
      • serviceIdstring · uuidRequired
      • nameobjectRequired
        View nested fields
        • hestringOptional

          maxLength: 4096

        • arstringOptional

          maxLength: 4096

        • enstringOptional

          maxLength: 4096

        • additionalPropertiesno value allowedSchema rule
      • isActivebooleanRequired
      • priceMajoranyOf (number | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1numberSchema branch

          Stored major currency units; 120 means 120 units, not 1.20. Do not combine with customer booking minor-unit money fields.

          minimum: 0maximum: 9007199254740991

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

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          maxLength: 100minLength: 1

        • anyOf 2nullSchema branch
      • bookingDurationMinutesanyOf (integer | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1integerSchema branch

          minimum: 0maximum: 1440

        • anyOf 2nullSchema branch
      • removalDurationMinutesanyOf (integer | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1integerSchema branch

          minimum: 0maximum: 1440

        • anyOf 2nullSchema branch
      • removalPriceMajoranyOf (number | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1numberSchema branch

          Stored major currency units; 120 means 120 units, not 1.20. Do not combine with customer booking minor-unit money fields.

          minimum: 0maximum: 9007199254740991

        • anyOf 2nullSchema branch
      • priceRangeMajoranyOf (object | null)Optional

        Non-final inclusive price bounds in major currency units. Both finite bounds are required; min must be strictly below max and amounts have at most two decimal places. The companion exact amount is null. Omitted or null means no range, not a zero price. Accepted bounds are frozen and must not be recomputed from the current catalogue.

        At least one of these variants must match.

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

            minimum: 0maximum: 90071992547409.9

          • maxnumberRequired in this branch

            minimum: 0maximum: 90071992547409.9

          • additionalPropertiesno value allowedSchema rule
        • anyOf 2nullSchema branch
      • allOf 1unspecifiedSchema branch
        View branch fields and rules
        • ifobjectSchema rule
          View branch fields and rules
          • priceRangeMajorobjectCondition predicate
        • thenobjectSchema rule
          View branch fields and rules
          • priceMajornullOptional in this branch
      • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "timezone": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ]
    },
    "grant": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "credentialId": {
          "type": "string",
          "format": "uuid"
        },
        "integrationId": {
          "type": "string",
          "format": "uuid"
        },
        "tenantId": {
          "type": "string",
          "format": "uuid"
        },
        "grantRevision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "roleCeiling": {
          "enum": [
            null,
            "business_manager",
            "provider"
          ]
        },
        "providerIds": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          },
          "maxItems": 100,
          "uniqueItems": true
        },
        "wholeBusiness": {
          "type": "boolean"
        },
        "includeUnassigned": {
          "type": "boolean"
        },
        "notesRead": {
          "type": "boolean"
        }
      },
      "required": [
        "credentialId",
        "integrationId",
        "tenantId",
        "grantRevision",
        "roleCeiling",
        "providerIds",
        "wholeBusiness",
        "includeUnassigned",
        "notesRead"
      ]
    },
    "bookingModes": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "legacyFixedSlot": {
          "type": "boolean"
        },
        "serviceDuration": {
          "type": "boolean"
        }
      },
      "required": [
        "legacyFixedSlot",
        "serviceDuration"
      ]
    },
    "providers": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "providerId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "he": {
                "type": "string",
                "maxLength": 4096
              },
              "ar": {
                "type": "string",
                "maxLength": 4096
              },
              "en": {
                "type": "string",
                "maxLength": 4096
              }
            },
            "required": []
          },
          "isActive": {
            "type": "boolean"
          },
          "slotDurationMinutes": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 1440
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "providerId",
          "name",
          "isActive",
          "slotDurationMinutes"
        ]
      },
      "maxItems": 200
    },
    "services": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "serviceId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "he": {
                "type": "string",
                "maxLength": 4096
              },
              "ar": {
                "type": "string",
                "maxLength": 4096
              },
              "en": {
                "type": "string",
                "maxLength": 4096
              }
            },
            "required": []
          },
          "isActive": {
            "type": "boolean"
          },
          "priceMajor": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0,
                "maximum": 9007199254740991,
                "description": "Stored major currency units; 120 means 120 units, not 1.20. Do not combine with customer booking minor-unit money fields."
              },
              {
                "type": "null"
              }
            ]
          },
          "currency": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 100,
                "minLength": 1
              },
              {
                "type": "null"
              }
            ]
          },
          "bookingDurationMinutes": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 1440
              },
              {
                "type": "null"
              }
            ]
          },
          "removalDurationMinutes": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 1440
              },
              {
                "type": "null"
              }
            ]
          },
          "removalPriceMajor": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0,
                "maximum": 9007199254740991,
                "description": "Stored major currency units; 120 means 120 units, not 1.20. Do not combine with customer booking minor-unit money fields."
              },
              {
                "type": "null"
              }
            ]
          },
          "priceRangeMajor": {
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": false,
                "required": [
                  "min",
                  "max"
                ],
                "properties": {
                  "min": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 90071992547409.9
                  },
                  "max": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 90071992547409.9
                  }
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Non-final inclusive price bounds in major currency units. Both finite bounds are required; min must be strictly below max and amounts have at most two decimal places. The companion exact amount is null. Omitted or null means no range, not a zero price. Accepted bounds are frozen and must not be recomputed from the current catalogue."
          }
        },
        "required": [
          "serviceId",
          "name",
          "isActive",
          "priceMajor",
          "currency",
          "bookingDurationMinutes",
          "removalDurationMinutes",
          "removalPriceMajor"
        ],
        "allOf": [
          {
            "if": {
              "required": [
                "priceRangeMajor"
              ],
              "properties": {
                "priceRangeMajor": {
                  "type": "object"
                }
              }
            },
            "then": {
              "properties": {
                "priceMajor": {
                  "type": "null"
                }
              }
            }
          }
        ]
      },
      "maxItems": 200
    }
  },
  "required": [
    "timezone",
    "grant",
    "bookingModes",
    "providers",
    "services"
  ]
}

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/invalid Management bearer.

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 scope, calendar grant or authority denied; a browser Origin is refused.

application/json · Error

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

      minimum: 1

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

application/json · Error

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

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
409 · Action, quote, slot, operation, projection or checkpoint conflict. No partial command.

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 · Malformed or unsupported request, including caller-supplied authority or price.

application/json · Error

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

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
429 · Machine request, directory cursor or snapshot limit exceeded.

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 unavailable or outcome uncertain. Retain the original UUID/body and recover it before any new operation.

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