CRADמפתחים
עברית

Replace explicitly public business presentation

לפני שימוש חי — בדקו יכולות פרוסות, הרשאות ומוכנות של החיבור שלכם.

בדקו את היכולות הפרוסות, הרשאות המפתח ומוכנות העסק בסביבה שלכם. דוגמאות HTTP נלכדו בבדיקות מבודדות; הסימון local-unreleased שלהן אינו אומר שה־API אינו פועל, ואינו מאשר את החיבור שלכם. במסלול הלקוח מאמתים טלפון בתבנית WhatsApp שהעסק הגדיר; SMS אינו נתמך. רישום בידי אדמין מורשה הוא פעולה נפרדת ללא קוד.

PUT/v1/management/public-presentation

Behavior

Replace the complete presentation object with its observed If-Match. Preserve unedited fields from GET. This saves public HTTPS image references, not uploaded files: up to 100 service images with unique service IDs and URL lengths up to 2,048 Unicode characters. Private/internal URLs and foreign service references are refused.

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-content:readwebsite-content:write

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.

  • If-Matchheader · stringRequired

    Exact returned quoted pres:N; maximum N9007199254740991. No weak/wildcard ETag.

    Format and constraints
    If-Match schema
    {
      "type": "string",
      "pattern": "^\"pres:(0|[1-9][0-9]*)\"$"
    }
  • Idempotency-Keyheader · stringRequired

    Persist the original UUID with the exact complete body and original If-Match before dispatch. Reuse only for that same intent.

    Format and constraints
    Idempotency-Key schema
    {
      "type": "string",
      "format": "uuid"
    }

Request body · required

application/json · BusinessPresentationReplaceRequest

Full explicit replacement. This authenticated route alone accepts at most1MiB streamed JSON, not image uploads. All URL and service-reference validation remains server authoritative.

  • presentationobjectRequired

    Explicitly public fields only. Replacement must send every field; use null/empty objects/arrays to clear. Private tenant/profile metadata is never copied automatically.

    View nested fields
    • locationobjectRequired
      View nested fields
      • hestringOptional

        maxLength: 300pattern: "^[^\\u0000-\\u001f\\u007f]*$"

      • arstringOptional

        maxLength: 300pattern: "^[^\\u0000-\\u001f\\u007f]*$"

      • enstringOptional

        maxLength: 300pattern: "^[^\\u0000-\\u001f\\u007f]*$"

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

      At least one of these variants must match.

      View nested fields
      • anyOf 1stringSchema branch

        pattern: "^\\+[1-9][0-9]{7,14}$"

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

      At least one of these variants must match.

      View nested fields
      • anyOf 1string · uriSchema branch

        Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads.

        pattern: "^https://"minLength: 1maxLength: 2048

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

      At least one of these variants must match.

      View nested fields
      • anyOf 1string · uriSchema branch

        Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads.

        pattern: "^https://"minLength: 1maxLength: 2048

      • anyOf 2nullSchema branch
    • serviceImagesarrayRequired

      Unique service identity, including case-insensitive UUID equivalence; every service must currently belong to this business.

      maxItems: 100uniqueItems: true

      View nested fields
      • []objectArray item
        View nested fields
        • serviceIdstring · uuidRequired
        • imageUrlstring · uriRequired

          Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads.

          pattern: "^https://"minLength: 1maxLength: 2048

        • additionalPropertiesno value allowedSchema rule
    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "presentation": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "location": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "he": {
              "type": "string",
              "maxLength": 300,
              "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
            },
            "ar": {
              "type": "string",
              "maxLength": 300,
              "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
            },
            "en": {
              "type": "string",
              "maxLength": 300,
              "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
            }
          },
          "required": []
        },
        "contactPhone": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^\\+[1-9][0-9]{7,14}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "websiteUrl": {
          "anyOf": [
            {
              "type": "string",
              "format": "uri",
              "pattern": "^https://",
              "minLength": 1,
              "maxLength": 2048,
              "description": "Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads."
            },
            {
              "type": "null"
            }
          ]
        },
        "imageUrl": {
          "anyOf": [
            {
              "type": "string",
              "format": "uri",
              "pattern": "^https://",
              "minLength": 1,
              "maxLength": 2048,
              "description": "Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads."
            },
            {
              "type": "null"
            }
          ]
        },
        "serviceImages": {
          "type": "array",
          "maxItems": 100,
          "uniqueItems": true,
          "items": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "serviceId": {
                "type": "string",
                "format": "uuid"
              },
              "imageUrl": {
                "type": "string",
                "format": "uri",
                "pattern": "^https://",
                "minLength": 1,
                "maxLength": 2048,
                "description": "Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads."
              }
            },
            "required": [
              "serviceId",
              "imageUrl"
            ]
          },
          "description": "Unique service identity, including case-insensitive UUID equivalence; every service must currently belong to this business."
        }
      },
      "required": [
        "location",
        "contactPhone",
        "websiteUrl",
        "imageUrl",
        "serviceImages"
      ],
      "description": "Explicitly public fields only. Replacement must send every field; use null/empty objects/arrays to clear. Private tenant/profile metadata is never copied automatically."
    }
  },
  "required": [
    "presentation"
  ],
  "description": "Full explicit replacement. This authenticated route alone accepts at most1MiB streamed JSON, not image uploads. All URL and service-reference validation remains server authoritative."
}

Successful responses

200 · BusinessPresentationResult

Accepted/replayed immutable receipt plus current state.

Cache-Control
Cache-Control schema
{
  "const": "no-store"
}
ETag · Quoted current resource version. Publication result with unavailable current omits ETag; recovery uses its body, not a fresh write precondition.
ETag schema
{
  "type": "string"
}

application/json · BusinessPresentationResult

Current is freshly authorized and may differ from the immutable receipt after later edits or service cleanup. Accepted exact replay precedes fresh CAS/eligibility; current permission remains required.

  • receiptobjectRequired

    Immutable accepted state for the original UUID.

    View nested fields
    • operationIdstring · uuidRequired
    • stateobjectRequired
      View nested fields
      • versionintegerRequired

        minimum: 0maximum: 9007199254740991

      • presentationobjectRequired

        Explicitly public fields only. Replacement must send every field; use null/empty objects/arrays to clear. Private tenant/profile metadata is never copied automatically.

        View nested fields
        • locationobjectRequired
          View nested fields
          • hestringOptional

            maxLength: 300pattern: "^[^\\u0000-\\u001f\\u007f]*$"

          • arstringOptional

            maxLength: 300pattern: "^[^\\u0000-\\u001f\\u007f]*$"

          • enstringOptional

            maxLength: 300pattern: "^[^\\u0000-\\u001f\\u007f]*$"

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

          At least one of these variants must match.

          View nested fields
          • anyOf 1stringSchema branch

            pattern: "^\\+[1-9][0-9]{7,14}$"

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

          At least one of these variants must match.

          View nested fields
          • anyOf 1string · uriSchema branch

            Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads.

            pattern: "^https://"minLength: 1maxLength: 2048

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

          At least one of these variants must match.

          View nested fields
          • anyOf 1string · uriSchema branch

            Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads.

            pattern: "^https://"minLength: 1maxLength: 2048

          • anyOf 2nullSchema branch
        • serviceImagesarrayRequired

          Unique service identity, including case-insensitive UUID equivalence; every service must currently belong to this business.

          maxItems: 100uniqueItems: true

          View nested fields
          • []objectArray item
            View nested fields
            • serviceIdstring · uuidRequired
            • imageUrlstring · uriRequired

              Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads.

              pattern: "^https://"minLength: 1maxLength: 2048

            • additionalPropertiesno value allowedSchema rule
        • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • additionalPropertiesno value allowedSchema rule
  • currentobjectRequired
    View nested fields
    • versionintegerRequired

      minimum: 0maximum: 9007199254740991

    • presentationobjectRequired

      Explicitly public fields only. Replacement must send every field; use null/empty objects/arrays to clear. Private tenant/profile metadata is never copied automatically.

      View nested fields
      • locationobjectRequired
        View nested fields
        • hestringOptional

          maxLength: 300pattern: "^[^\\u0000-\\u001f\\u007f]*$"

        • arstringOptional

          maxLength: 300pattern: "^[^\\u0000-\\u001f\\u007f]*$"

        • enstringOptional

          maxLength: 300pattern: "^[^\\u0000-\\u001f\\u007f]*$"

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

        At least one of these variants must match.

        View nested fields
        • anyOf 1stringSchema branch

          pattern: "^\\+[1-9][0-9]{7,14}$"

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

        At least one of these variants must match.

        View nested fields
        • anyOf 1string · uriSchema branch

          Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads.

          pattern: "^https://"minLength: 1maxLength: 2048

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

        At least one of these variants must match.

        View nested fields
        • anyOf 1string · uriSchema branch

          Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads.

          pattern: "^https://"minLength: 1maxLength: 2048

        • anyOf 2nullSchema branch
      • serviceImagesarrayRequired

        Unique service identity, including case-insensitive UUID equivalence; every service must currently belong to this business.

        maxItems: 100uniqueItems: true

        View nested fields
        • []objectArray item
          View nested fields
          • serviceIdstring · uuidRequired
          • imageUrlstring · uriRequired

            Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads.

            pattern: "^https://"minLength: 1maxLength: 2048

          • additionalPropertiesno value allowedSchema rule
      • additionalPropertiesno value allowedSchema rule
    • additionalPropertiesno value allowedSchema rule
  • currentUnavailableReasonnullRequired
  • 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"
        },
        "state": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "version": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9007199254740991
            },
            "presentation": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "location": {
                  "type": "object",
                  "additionalProperties": false,
                  "properties": {
                    "he": {
                      "type": "string",
                      "maxLength": 300,
                      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                    },
                    "ar": {
                      "type": "string",
                      "maxLength": 300,
                      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                    },
                    "en": {
                      "type": "string",
                      "maxLength": 300,
                      "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                    }
                  },
                  "required": []
                },
                "contactPhone": {
                  "anyOf": [
                    {
                      "type": "string",
                      "pattern": "^\\+[1-9][0-9]{7,14}$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "websiteUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri",
                      "pattern": "^https://",
                      "minLength": 1,
                      "maxLength": 2048,
                      "description": "Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "imageUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri",
                      "pattern": "^https://",
                      "minLength": 1,
                      "maxLength": 2048,
                      "description": "Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "serviceImages": {
                  "type": "array",
                  "maxItems": 100,
                  "uniqueItems": true,
                  "items": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "serviceId": {
                        "type": "string",
                        "format": "uuid"
                      },
                      "imageUrl": {
                        "type": "string",
                        "format": "uri",
                        "pattern": "^https://",
                        "minLength": 1,
                        "maxLength": 2048,
                        "description": "Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads."
                      }
                    },
                    "required": [
                      "serviceId",
                      "imageUrl"
                    ]
                  },
                  "description": "Unique service identity, including case-insensitive UUID equivalence; every service must currently belong to this business."
                }
              },
              "required": [
                "location",
                "contactPhone",
                "websiteUrl",
                "imageUrl",
                "serviceImages"
              ],
              "description": "Explicitly public fields only. Replacement must send every field; use null/empty objects/arrays to clear. Private tenant/profile metadata is never copied automatically."
            }
          },
          "required": [
            "version",
            "presentation"
          ]
        }
      },
      "required": [
        "operationId",
        "state"
      ],
      "description": "Immutable accepted state for the original UUID."
    },
    "current": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "version": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "presentation": {
          "type": "object",
          "additionalProperties": false,
          "properties": {
            "location": {
              "type": "object",
              "additionalProperties": false,
              "properties": {
                "he": {
                  "type": "string",
                  "maxLength": 300,
                  "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                },
                "ar": {
                  "type": "string",
                  "maxLength": 300,
                  "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                },
                "en": {
                  "type": "string",
                  "maxLength": 300,
                  "pattern": "^[^\\u0000-\\u001f\\u007f]*$"
                }
              },
              "required": []
            },
            "contactPhone": {
              "anyOf": [
                {
                  "type": "string",
                  "pattern": "^\\+[1-9][0-9]{7,14}$"
                },
                {
                  "type": "null"
                }
              ]
            },
            "websiteUrl": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uri",
                  "pattern": "^https://",
                  "minLength": 1,
                  "maxLength": 2048,
                  "description": "Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads."
                },
                {
                  "type": "null"
                }
              ]
            },
            "imageUrl": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uri",
                  "pattern": "^https://",
                  "minLength": 1,
                  "maxLength": 2048,
                  "description": "Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads."
                },
                {
                  "type": "null"
                }
              ]
            },
            "serviceImages": {
              "type": "array",
              "maxItems": 100,
              "uniqueItems": true,
              "items": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "serviceId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "imageUrl": {
                    "type": "string",
                    "format": "uri",
                    "pattern": "^https://",
                    "minLength": 1,
                    "maxLength": 2048,
                    "description": "Canonical backend public-HTTPS validation additionally rejects whitespace, credentials, backslashes, private/internal host syntax and unsupported ports. URL references only; no uploads."
                  }
                },
                "required": [
                  "serviceId",
                  "imageUrl"
                ]
              },
              "description": "Unique service identity, including case-insensitive UUID equivalence; every service must currently belong to this business."
            }
          },
          "required": [
            "location",
            "contactPhone",
            "websiteUrl",
            "imageUrl",
            "serviceImages"
          ],
          "description": "Explicitly public fields only. Replacement must send every field; use null/empty objects/arrays to clear. Private tenant/profile metadata is never copied automatically."
        }
      },
      "required": [
        "version",
        "presentation"
      ]
    },
    "currentUnavailableReason": {
      "type": "null"
    },
    "replayed": {
      "type": "boolean"
    }
  },
  "required": [
    "receipt",
    "current",
    "currentUnavailableReason",
    "replayed"
  ],
  "description": "Current is freshly authorized and may differ from the immutable receipt after later edits or service cleanup. Accepted exact replay precedes fresh CAS/eligibility; current permission remains required."
}

Errors and recovery

Input validation

  • 413REQUEST_TOO_LARGE

    The presentation JSON body exceeds 1,048,576 bytes.

  • 415JSON_REQUIRED

    Send Content-Type: application/json.

Error responses declared in the contract (11)

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

401 · Missing/invalid current Management 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 · Current scope/access denied or Origin present.

application/json · Error

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

      minimum: 1

    • additionalPropertiesno value allowedSchema rule
  • additionalPropertiesno value allowedSchema rule
Complete schema and nested fields
JSON Schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "error": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "requestId": {
          "type": "string",
          "format": "uuid"
        },
        "retryAfter": {
          "type": "integer",
          "minimum": 1
        }
      },
      "required": [
        "code",
        "requestId"
      ]
    }
  },
  "required": [
    "error"
  ]
}
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 · OPERATION_CONFLICT, CATALOGUE_TOO_LARGE or current service eligibility/reference conflict.

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; refresh and review a new intent after resolving the original request.

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 · JSON body exceeds1MiB.

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 · JSON content type 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"
  ]
}
422 · Invalid shape, URL, service IDs or exact precondition.

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 · Original If-Match or Idempotency-Key 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 · Quota; Retry-After applies.

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/uncertain result; retain original request and recover.

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