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

Update website intake policy

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

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

PATCH/v1/management/website-intake-policy

Behavior

Edit a nonempty selection of displayName, defaultLanguage and status. displayName replaces the HE/AR/EN map, so preserve translations you want to keep. Explicit enabled can activate website enrollment only after existing readiness checks. Pause an enrolled site rather than reverting it to draft. Accepted bookings, global booking pause, bot state, credentials and customer consent are preserved. No hidden slug, allBookingsPaused or support pauseReason input is accepted.

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

website-intake:readwebsite-intake:write

Explicit owner-issued whole-business policy authority. Provider/calendar grants and public booking enablement do not confer it. Keep the Management credential on your backend. Existing keys gain no scopes automatically; personal browser permission and Meta sign-in remain owner actions.

Request

Idempotency and recovery

Persist one UUID and the exact request before sending. After an uncertain result, retain that UUID, body and preconditions; do not create a replacement operation just to retry. Check this policy’s operations/{operationId}. not_found neither cancels a late request nor authorizes changing the original version/body. Current write permission is required for recovery. receipt.state records acceptance; current reflects later changes.

  • Idempotency-Keyheader · stringRequired

    Saved UUID for this exact original command.

    Format and constraints
    Idempotency-Key schema
    {
      "type": "string",
      "format": "uuid"
    }
  • If-Matchheader · stringRequired

    Complete quoted ETag returned by this policy.

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

Request body · required

application/json · BusinessWebsiteIntakeInput

  • changesobjectRequired

    minProperties: 1

    View nested fields
    • displayNameobjectOptional
      View nested fields
      • hestringOptional

        maxLength: 100

      • arstringOptional

        maxLength: 100

      • enstringOptional

        maxLength: 100

      • additionalPropertiesno value allowedSchema rule
    • defaultLanguagestringOptional

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

    • statusstringOptional

      Allowed values: ["draft","enabled","paused"]

    • additionalPropertiesno value allowedSchema rule
  • externalActorRefanyOf (string | null)Optional

    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
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "changes": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "displayName": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "he": {
              "type": "string",
              "maxLength": 100
            },
            "ar": {
              "type": "string",
              "maxLength": 100
            },
            "en": {
              "type": "string",
              "maxLength": 100
            }
          },
          "required": []
        },
        "defaultLanguage": {
          "type": "string",
          "enum": [
            "he",
            "ar",
            "en"
          ]
        },
        "status": {
          "enum": [
            "draft",
            "enabled",
            "paused"
          ]
        }
      },
      "required": [],
      "minProperties": 1
    },
    "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": [
    "changes"
  ]
}

Successful responses

200 · BusinessWebsiteIntakeResult

Current state or original acceptance and current state.

Cache-Control
Cache-Control schema
{
  "const": "no-store"
}
ETag · Quoted current version, e.g. "wi0". Preserve the full header for a new reviewed write; never replace an uncertain command's original version. Not returned for not_found.
ETag schema
{
  "type": "string"
}

application/json · BusinessWebsiteIntakeResult

  • receiptobjectRequired
    View nested fields
    • operationIdstring · uuidRequired
    • requestobjectRequired
      View nested fields
      • expectedVersionintegerRequired

        minimum: 0maximum: 9007199254740991

      • changesobjectRequired

        minProperties: 1

        View nested fields
        • displayNameobjectOptional
          View nested fields
          • hestringOptional

            maxLength: 100

          • arstringOptional

            maxLength: 100

          • enstringOptional

            maxLength: 100

          • additionalPropertiesno value allowedSchema rule
        • defaultLanguagestringOptional

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

        • statusstringOptional

          Allowed values: ["draft","enabled","paused"]

        • additionalPropertiesno value allowedSchema rule
      • externalActorRefanyOf (string | null)Required

        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
      • additionalPropertiesno value allowedSchema rule
    • stateobjectRequired
      View nested fields
      • siteIdanyOf (string | null)Required

        At least one of these variants must match.

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

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          maxLength: 64

        • anyOf 2nullSchema branch
      • statusstringRequired

        Allowed values: ["not_configured","draft","enabled","paused"]

      • versionintegerRequired

        minimum: 0maximum: 9007199254740991

      • displayNameobjectRequired
        View nested fields
        • hestringOptional

          maxLength: 100

        • arstringOptional

          maxLength: 100

        • enstringOptional

          maxLength: 100

        • additionalPropertiesno value allowedSchema rule
      • defaultLanguagestringRequired

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

      • policystringRequired

        Allowed values: ["legacy_fixed_slot_v1","service_duration_v1"]

      • enrolledbooleanRequired
      • intakeEnabledbooleanRequired
      • allBookingsPausedbooleanRequired
      • botActiveanyOf (boolean | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1booleanSchema branch
        • anyOf 2nullSchema branch
      • activationBlockersarrayRequired

        maxItems: 64

        View nested fields
        • []stringArray item

          maxLength: 100

      • runtimeEnvironmentanyOf (string | null)Required

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          Allowed values: ["sandbox","production"]

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

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          maxLength: 250

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

        At least one of these variants must match.

        View nested fields
        • anyOf 1string · uuidSchema branch
        • anyOf 2nullSchema branch
      • additionalPropertiesno value allowedSchema rule
    • additionalPropertiesno value allowedSchema rule
  • currentobjectRequired
    View nested fields
    • siteIdanyOf (string | null)Required

      At least one of these variants must match.

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

      At least one of these variants must match.

      View nested fields
      • anyOf 1stringSchema branch

        maxLength: 64

      • anyOf 2nullSchema branch
    • statusstringRequired

      Allowed values: ["not_configured","draft","enabled","paused"]

    • versionintegerRequired

      minimum: 0maximum: 9007199254740991

    • displayNameobjectRequired
      View nested fields
      • hestringOptional

        maxLength: 100

      • arstringOptional

        maxLength: 100

      • enstringOptional

        maxLength: 100

      • additionalPropertiesno value allowedSchema rule
    • defaultLanguagestringRequired

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

    • policystringRequired

      Allowed values: ["legacy_fixed_slot_v1","service_duration_v1"]

    • enrolledbooleanRequired
    • intakeEnabledbooleanRequired
    • allBookingsPausedbooleanRequired
    • botActiveanyOf (boolean | null)Required

      At least one of these variants must match.

      View nested fields
      • anyOf 1booleanSchema branch
      • anyOf 2nullSchema branch
    • activationBlockersarrayRequired

      maxItems: 64

      View nested fields
      • []stringArray item

        maxLength: 100

    • runtimeEnvironmentanyOf (string | null)Required

      At least one of these variants must match.

      View nested fields
      • anyOf 1stringSchema branch

        Allowed values: ["sandbox","production"]

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

      At least one of these variants must match.

      View nested fields
      • anyOf 1stringSchema branch

        maxLength: 250

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

      At least one of these variants must match.

      View nested fields
      • anyOf 1string · uuidSchema branch
      • anyOf 2nullSchema branch
    • additionalPropertiesno value allowedSchema rule
  • replayedbooleanRequired
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "receipt": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "operationId": {
          "type": "string",
          "format": "uuid"
        },
        "request": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "expectedVersion": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "changes": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "displayName": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "he": {
                      "type": "string",
                      "maxLength": 100
                    },
                    "ar": {
                      "type": "string",
                      "maxLength": 100
                    },
                    "en": {
                      "type": "string",
                      "maxLength": 100
                    }
                  },
                  "required": []
                },
                "defaultLanguage": {
                  "type": "string",
                  "enum": [
                    "he",
                    "ar",
                    "en"
                  ]
                },
                "status": {
                  "enum": [
                    "draft",
                    "enabled",
                    "paused"
                  ]
                }
              },
              "required": [],
              "minProperties": 1
            },
            "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",
            "changes",
            "externalActorRef"
          ]
        },
        "state": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "siteId": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            },
            "slug": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 64
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "not_configured",
                "draft",
                "enabled",
                "paused"
              ]
            },
            "version": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "displayName": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "he": {
                  "type": "string",
                  "maxLength": 100
                },
                "ar": {
                  "type": "string",
                  "maxLength": 100
                },
                "en": {
                  "type": "string",
                  "maxLength": 100
                }
              },
              "required": []
            },
            "defaultLanguage": {
              "type": "string",
              "enum": [
                "he",
                "ar",
                "en"
              ]
            },
            "policy": {
              "type": "string",
              "enum": [
                "legacy_fixed_slot_v1",
                "service_duration_v1"
              ]
            },
            "enrolled": {
              "type": "boolean"
            },
            "intakeEnabled": {
              "type": "boolean"
            },
            "allBookingsPaused": {
              "type": "boolean"
            },
            "botActive": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "activationBlockers": {
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 100
              },
              "maxItems": 64
            },
            "runtimeEnvironment": {
              "anyOf": [
                {
                  "enum": [
                    "sandbox",
                    "production"
                  ]
                },
                {
                  "type": "null"
                }
              ]
            },
            "publicOrigin": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 250
                },
                {
                  "type": "null"
                }
              ]
            },
            "hostedIntegrationId": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "required": [
            "siteId",
            "slug",
            "status",
            "version",
            "displayName",
            "defaultLanguage",
            "policy",
            "enrolled",
            "intakeEnabled",
            "allBookingsPaused",
            "botActive",
            "activationBlockers",
            "runtimeEnvironment",
            "publicOrigin",
            "hostedIntegrationId"
          ]
        }
      },
      "required": [
        "operationId",
        "request",
        "state"
      ]
    },
    "current": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "siteId": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        },
        "slug": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 64
            },
            {
              "type": "null"
            }
          ]
        },
        "status": {
          "enum": [
            "not_configured",
            "draft",
            "enabled",
            "paused"
          ]
        },
        "version": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "displayName": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "he": {
              "type": "string",
              "maxLength": 100
            },
            "ar": {
              "type": "string",
              "maxLength": 100
            },
            "en": {
              "type": "string",
              "maxLength": 100
            }
          },
          "required": []
        },
        "defaultLanguage": {
          "type": "string",
          "enum": [
            "he",
            "ar",
            "en"
          ]
        },
        "policy": {
          "type": "string",
          "enum": [
            "legacy_fixed_slot_v1",
            "service_duration_v1"
          ]
        },
        "enrolled": {
          "type": "boolean"
        },
        "intakeEnabled": {
          "type": "boolean"
        },
        "allBookingsPaused": {
          "type": "boolean"
        },
        "botActive": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "activationBlockers": {
          "type": "array",
          "items": {
            "type": "string",
            "maxLength": 100
          },
          "maxItems": 64
        },
        "runtimeEnvironment": {
          "anyOf": [
            {
              "enum": [
                "sandbox",
                "production"
              ]
            },
            {
              "type": "null"
            }
          ]
        },
        "publicOrigin": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 250
            },
            {
              "type": "null"
            }
          ]
        },
        "hostedIntegrationId": {
          "anyOf": [
            {
              "type": "string",
              "format": "uuid"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "siteId",
        "slug",
        "status",
        "version",
        "displayName",
        "defaultLanguage",
        "policy",
        "enrolled",
        "intakeEnabled",
        "allBookingsPaused",
        "botActive",
        "activationBlockers",
        "runtimeEnvironment",
        "publicOrigin",
        "hostedIntegrationId"
      ]
    },
    "replayed": {
      "type": "boolean"
    }
  },
  "required": [
    "receipt",
    "current",
    "replayed"
  ]
}

Errors and recovery

Input validation

  • 413REQUEST_TOO_LARGE

    The JSON request body exceeds 8,192 bytes.

  • 415JSON_REQUIRED

    Send Content-Type: application/json.

Error responses declared in the contract (12)

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 · Origin, scope or current authority 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"
  ]
}
404 · Unknown route or resource.

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"
  ]
}
409 · Policy readiness, invalid persisted settings or changed original operation. Re-read readiness for WEBSITE_NOT_READY, WEBSITE_CONSENT_NOT_READY or NOTIFICATIONS_NOT_READY; use paused for USE_PAUSE_INSTEAD; supply at least one nonblank localized display name for DISPLAY_NAME_REQUIRED.

application/json · Error

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

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
412 · VERSION_CONFLICT: no new write was applied; refresh and review before a 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"
  ]
}
413 · Request body is larger than 8192 bytes.

application/json · Error

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

      minimum: 1

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

application/json · Error

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

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
422 · Invalid request 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"
  ]
}
428 · Required Idempotency-Key or If-Match is missing.

application/json · Error

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

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
429 · Request quota 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 · OUTCOME_UNCERTAIN or PERSISTENCE_FAILED: retain and check the original operation, never assume no change.

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