CRADDevelopers
English

Update shared customer fields

Compare and set explicitly writable customer fields

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.

PATCH/v1/integration/customers/{customerId}/shared-fields

Behavior

Backend only; rejects browser Origin. Requires an active exact same-integration customer_verified mapping with current unambiguous canonical phone and profile. Imported owner_reviewed identity does not authorize this resource. The external backend must authorize its own logged-in customer before forwarding a mapped customer ID. No internal notes, raw custom_data, unrelated profile or appointment payload is returned. Revocation blocks subsequent access but cannot erase previously stored remote copies. Requires BOTH customers:read and customers:write plus each current readwrite field grant. grantRevision fences policy changes; expectedExists/expectedValue fence each edited field so unrelated edits merge. Missing and explicit JSON null differ. An unavailable stored value must be repaired through the CRAD owner editor before constructing a new CAS. Exact operation replay returns its immutable field-key receipt and currently permissioned values, never revoked historical values. Unknown outcomes require the exact same UUID and body; no client-selected profile or tenant.

Authentication

IntegrationCredential OR ManagementCredential

Credential rules

Use the same server-only wbm_ API key as business management, with explicitly approved integration scopes; legacy wbi_ integration-only keys remain supported. No Origin request header. GET /v1/integration returns the integration-scoped view of the same credential/site/integration. Customer phone proof is still required for self-service.

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

customers:readcustomers:write

Also requires a currently verified same-integration customer mapping and a current readwrite owner grant for every changed field.

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.

  • customerIdpath · stringRequired
    Format and constraints
    customerId schema
    {
      "type": "string",
      "format": "uuid"
    }
  • Idempotency-Keyheader · stringRequired
    Format and constraints
    Idempotency-Key schema
    {
      "type": "string",
      "format": "uuid"
    }

Request body · required

application/json · SharedCustomerFieldsPatch

  • grantRevisionintegerRequired

    minimum: 0maximum: 9007199254740991

  • changesarrayRequired

    minItems: 1maxItems: 50

    View nested fields
    • []oneOf (object | object)Array item

      Exactly one of these variants must match.

      View nested fields
      • oneOf 1 · operation = "set"objectSchema branch
        View branch fields and rules
        • fieldKeystringRequired in this branch

          Unicode codepoint limit; control and prototype keys are refused.

          minLength: 1maxLength: 100

        • expectedExistsbooleanRequired in this branch
        • expectedValueoneOf (string | number | boolean | null | array)Required in this branch

          Exactly one of these variants must match.

          View nested fields
          • oneOf 1stringSchema branch

            maxLength: 4096

          • oneOf 2numberSchema branch

            minimum: -9007199254740991maximum: 9007199254740991

          • oneOf 3booleanSchema branch
          • oneOf 4nullSchema branch
          • oneOf 5arraySchema branch

            maxItems: 100

            View branch fields and rules
            • []stringArray item

              maxLength: 120

        • operationstringRequired in this branch

          Value: "set"

        • valueoneOf (string | number | boolean | null | array)Required in this branch

          Exactly one of these variants must match.

          View nested fields
          • oneOf 1stringSchema branch

            maxLength: 4096

          • oneOf 2numberSchema branch

            minimum: -9007199254740991maximum: 9007199254740991

          • oneOf 3booleanSchema branch
          • oneOf 4nullSchema branch
          • oneOf 5arraySchema branch

            maxItems: 100

            View branch fields and rules
            • []stringArray item

              maxLength: 120

        • additionalPropertiesno value allowedSchema rule
      • oneOf 2 · operation = "remove"objectSchema branch
        View branch fields and rules
        • fieldKeystringRequired in this branch

          Unicode codepoint limit; control and prototype keys are refused.

          minLength: 1maxLength: 100

        • expectedExistsbooleanRequired in this branch
        • expectedValueoneOf (string | number | boolean | null | array)Required in this branch

          Exactly one of these variants must match.

          View nested fields
          • oneOf 1stringSchema branch

            maxLength: 4096

          • oneOf 2numberSchema branch

            minimum: -9007199254740991maximum: 9007199254740991

          • oneOf 3booleanSchema branch
          • oneOf 4nullSchema branch
          • oneOf 5arraySchema branch

            maxItems: 100

            View branch fields and rules
            • []stringArray item

              maxLength: 120

        • operationstringRequired in this branch

          Value: "remove"

        • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "grantRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "changes": {
      "type": "array",
      "minItems": 1,
      "maxItems": 50,
      "items": {
        "oneOf": [
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "fieldKey": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Unicode codepoint limit; control and prototype keys are refused."
              },
              "expectedExists": {
                "type": "boolean"
              },
              "expectedValue": {
                "oneOf": [
                  {
                    "type": "string",
                    "maxLength": 4096
                  },
                  {
                    "type": "number",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  },
                  {
                    "type": "array",
                    "maxItems": 100,
                    "items": {
                      "type": "string",
                      "maxLength": 120
                    }
                  }
                ]
              },
              "operation": {
                "const": "set"
              },
              "value": {
                "oneOf": [
                  {
                    "type": "string",
                    "maxLength": 4096
                  },
                  {
                    "type": "number",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  },
                  {
                    "type": "array",
                    "maxItems": 100,
                    "items": {
                      "type": "string",
                      "maxLength": 120
                    }
                  }
                ]
              }
            },
            "required": [
              "fieldKey",
              "expectedExists",
              "expectedValue",
              "operation",
              "value"
            ]
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "fieldKey": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Unicode codepoint limit; control and prototype keys are refused."
              },
              "expectedExists": {
                "type": "boolean"
              },
              "expectedValue": {
                "oneOf": [
                  {
                    "type": "string",
                    "maxLength": 4096
                  },
                  {
                    "type": "number",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  },
                  {
                    "type": "array",
                    "maxItems": 100,
                    "items": {
                      "type": "string",
                      "maxLength": 120
                    }
                  }
                ]
              },
              "operation": {
                "const": "remove"
              }
            },
            "required": [
              "fieldKey",
              "expectedExists",
              "expectedValue",
              "operation"
            ]
          }
        ]
      }
    }
  },
  "required": [
    "grantRevision",
    "changes"
  ]
}

Successful responses

200 · SharedCustomerFieldsPatchResult

Current explicitly permissioned projection; no additional booking authority.

ETag · Quoted SHA-256 identifier of the current permitted shared-field projection. This is not a PATCH If-Match token: shared-field edits use grantRevision and each field expectedExists/expectedValue.
ETag schema
{
  "type": "string",
  "pattern": "^\"[a-f0-9]{64}\"$"
}

application/json · SharedCustomerFieldsPatchResult

  • receiptobjectRequired
    View nested fields
    • operationIdstring · uuidRequired
    • customerIdstring · uuidRequired
    • fieldKeysarrayRequired

      minItems: 1maxItems: 50uniqueItems: true

      View nested fields
      • []stringArray item

        Unicode codepoint limit; control and prototype keys are refused.

        minLength: 1maxLength: 100

    • additionalPropertiesno value allowedSchema rule
  • currentobjectRequired
    View nested fields
    • customerIdstring · uuidRequired
    • grantRevisionintegerRequired

      minimum: 0maximum: 9007199254740991

    • projectionVersionstringRequired

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

    • fieldsarrayRequired

      maxItems: 50

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

        All of these schema rules apply together.

        View nested fields
        • fieldKeystringRequired

          Unicode codepoint limit; control and prototype keys are refused.

          minLength: 1maxLength: 100

        • labelobjectRequired
          View nested fields
          • hestringOptional

            minLength: 0maxLength: 200

          • arstringOptional

            minLength: 0maxLength: 200

          • enstringOptional

            minLength: 0maxLength: 200

          • additionalPropertiesno value allowedSchema rule
        • typestringRequired

          Allowed values: ["text","textarea","number","date","select","phone","email","boolean","checkbox","multi_select","multiselect"]

        • accessstringRequired

          Allowed values: ["read","readwrite"]

        • existsbooleanRequired
        • valueoneOf (string | number | boolean | null | array)Required

          Exactly one of these variants must match.

          View nested fields
          • oneOf 1stringSchema branch

            maxLength: 4096

          • oneOf 2numberSchema branch

            minimum: -9007199254740991maximum: 9007199254740991

          • oneOf 3booleanSchema branch
          • oneOf 4nullSchema branch
          • oneOf 5arraySchema branch

            maxItems: 100

            View branch fields and rules
            • []stringArray item

              maxLength: 120

        • valueUnavailableReasonnull | stringRequired

          Allowed values: [null,"invalid_stored_value","too_large"]

        • optionsarrayRequired

          maxItems: 100

          View nested fields
          • []objectArray item
            View nested fields
            • idstringRequired

              minLength: 1maxLength: 120

            • labelobjectRequired
              View nested fields
              • hestringOptional

                minLength: 0maxLength: 200

              • arstringOptional

                minLength: 0maxLength: 200

              • enstringOptional

                minLength: 0maxLength: 200

              • additionalPropertiesno value allowedSchema rule
            • additionalPropertiesno value allowedSchema rule
        • allOf 1unspecifiedSchema branch
          View branch fields and rules
          • ifobjectSchema rule
            View branch fields and rules
            • existsbooleanCondition predicate

              Value: false

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

              Value: null

            • valueUnavailableReasonnullOptional in this branch

              Value: null

        • allOf 2unspecifiedSchema branch
          View branch fields and rules
          • ifobjectSchema rule
            View branch fields and rules
            • valueUnavailableReasonstringCondition predicate

              Allowed values: ["invalid_stored_value","too_large"]

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

              Value: null

            • existsbooleanOptional in this branch

              Value: true

        • allOf 3unspecifiedSchema branch
          View branch fields and rules
          • ifobjectSchema rule
            View branch fields and rules
            • typestringCondition predicate

              Allowed values: ["number"]

          • thenobjectSchema rule
            View branch fields and rules
            • valuenumber | nullOptional in this branch
        • allOf 4unspecifiedSchema branch
          View branch fields and rules
          • ifobjectSchema rule
            View branch fields and rules
            • typestringCondition predicate

              Allowed values: ["boolean","checkbox"]

          • thenobjectSchema rule
            View branch fields and rules
            • valueboolean | nullOptional in this branch
        • allOf 5unspecifiedSchema branch
          View branch fields and rules
          • ifobjectSchema rule
            View branch fields and rules
            • typestringCondition predicate

              Allowed values: ["multi_select","multiselect"]

          • thenobjectSchema rule
            View branch fields and rules
            • valueoneOf (null | array)Optional in this branch

              Exactly one of these variants must match.

              View nested fields
              • oneOf 1nullSchema branch
              • oneOf 2arraySchema branch

                maxItems: 100

                View branch fields and rules
                • []stringArray item

                  maxLength: 120

        • allOf 6unspecifiedSchema branch
          View branch fields and rules
          • ifobjectSchema rule
            View branch fields and rules
            • typestringCondition predicate

              Allowed values: ["text","textarea","date","select","phone","email"]

          • thenobjectSchema rule
            View branch fields and rules
            • valuestring | nullOptional in this branch
        • additionalPropertiesno value allowedSchema rule
    • changeFeedSupportedbooleanRequired

      Value: false

    • 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"
        },
        "customerId": {
          "type": "string",
          "format": "uuid"
        },
        "fieldKeys": {
          "type": "array",
          "minItems": 1,
          "maxItems": 50,
          "uniqueItems": true,
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100,
            "description": "Unicode codepoint limit; control and prototype keys are refused."
          }
        }
      },
      "required": [
        "operationId",
        "customerId",
        "fieldKeys"
      ]
    },
    "current": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "customerId": {
          "type": "string",
          "format": "uuid"
        },
        "grantRevision": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "projectionVersion": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        },
        "fields": {
          "type": "array",
          "maxItems": 50,
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "fieldKey": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Unicode codepoint limit; control and prototype keys are refused."
              },
              "label": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "he": {
                    "type": "string",
                    "minLength": 0,
                    "maxLength": 200
                  },
                  "ar": {
                    "type": "string",
                    "minLength": 0,
                    "maxLength": 200
                  },
                  "en": {
                    "type": "string",
                    "minLength": 0,
                    "maxLength": 200
                  }
                },
                "required": []
              },
              "type": {
                "type": "string",
                "enum": [
                  "text",
                  "textarea",
                  "number",
                  "date",
                  "select",
                  "phone",
                  "email",
                  "boolean",
                  "checkbox",
                  "multi_select",
                  "multiselect"
                ]
              },
              "access": {
                "enum": [
                  "read",
                  "readwrite"
                ]
              },
              "exists": {
                "type": "boolean"
              },
              "value": {
                "oneOf": [
                  {
                    "type": "string",
                    "maxLength": 4096
                  },
                  {
                    "type": "number",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "boolean"
                  },
                  {
                    "type": "null"
                  },
                  {
                    "type": "array",
                    "maxItems": 100,
                    "items": {
                      "type": "string",
                      "maxLength": 120
                    }
                  }
                ]
              },
              "valueUnavailableReason": {
                "enum": [
                  null,
                  "invalid_stored_value",
                  "too_large"
                ]
              },
              "options": {
                "type": "array",
                "maxItems": 100,
                "items": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 120
                    },
                    "label": {
                      "type": "object",
                      "additionalProperties": false,
                      "properties": {
                        "he": {
                          "type": "string",
                          "minLength": 0,
                          "maxLength": 200
                        },
                        "ar": {
                          "type": "string",
                          "minLength": 0,
                          "maxLength": 200
                        },
                        "en": {
                          "type": "string",
                          "minLength": 0,
                          "maxLength": 200
                        }
                      },
                      "required": []
                    }
                  },
                  "required": [
                    "id",
                    "label"
                  ]
                }
              }
            },
            "required": [
              "fieldKey",
              "label",
              "type",
              "access",
              "exists",
              "value",
              "valueUnavailableReason",
              "options"
            ],
            "allOf": [
              {
                "if": {
                  "properties": {
                    "exists": {
                      "const": false
                    }
                  },
                  "required": [
                    "exists"
                  ]
                },
                "then": {
                  "properties": {
                    "value": {
                      "const": null
                    },
                    "valueUnavailableReason": {
                      "const": null
                    }
                  }
                }
              },
              {
                "if": {
                  "properties": {
                    "valueUnavailableReason": {
                      "enum": [
                        "invalid_stored_value",
                        "too_large"
                      ]
                    }
                  },
                  "required": [
                    "valueUnavailableReason"
                  ]
                },
                "then": {
                  "properties": {
                    "value": {
                      "const": null
                    },
                    "exists": {
                      "const": true
                    }
                  }
                }
              },
              {
                "if": {
                  "properties": {
                    "type": {
                      "enum": [
                        "number"
                      ]
                    }
                  },
                  "required": [
                    "type"
                  ]
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    }
                  }
                }
              },
              {
                "if": {
                  "properties": {
                    "type": {
                      "enum": [
                        "boolean",
                        "checkbox"
                      ]
                    }
                  },
                  "required": [
                    "type"
                  ]
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  }
                }
              },
              {
                "if": {
                  "properties": {
                    "type": {
                      "enum": [
                        "multi_select",
                        "multiselect"
                      ]
                    }
                  },
                  "required": [
                    "type"
                  ]
                },
                "then": {
                  "properties": {
                    "value": {
                      "oneOf": [
                        {
                          "type": "null"
                        },
                        {
                          "type": "array",
                          "maxItems": 100,
                          "items": {
                            "type": "string",
                            "maxLength": 120
                          }
                        }
                      ]
                    }
                  }
                }
              },
              {
                "if": {
                  "properties": {
                    "type": {
                      "enum": [
                        "text",
                        "textarea",
                        "date",
                        "select",
                        "phone",
                        "email"
                      ]
                    }
                  },
                  "required": [
                    "type"
                  ]
                },
                "then": {
                  "properties": {
                    "value": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              }
            ]
          }
        },
        "changeFeedSupported": {
          "const": false
        }
      },
      "required": [
        "customerId",
        "grantRevision",
        "projectionVersion",
        "fields",
        "changeFeedSupported"
      ]
    },
    "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 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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"
  ]
}
410 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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 · Structured refusal. Preserve the exact operation UUID and payload after uncertainty. Current authorization is rechecked even for replay.

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