{
  "openapi": "3.1.0",
  "info": {
    "title": "Cleo Forms Live Pilot Candidate API",
    "version": "2026-11-28-pilot-candidate",
    "description": "Candidate contract for separately gated live pilot resources plus test-mode recovery. Publication does not enable live admission. Test keys never gain live authority."
  },
  "paths": {
    "/v1/submissions": {
      "post": {
        "tags": [
          "Forms"
        ],
        "summary": "Submit",
        "description": "Create an inquiry for the integration's published form version. Requires submissions:write and a saved Idempotency-Key. Reuse the same key and body on retry. Test receipts do not authorize calling.",
        "operationId": "submit_v1_submissions_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128,
              "title": "Idempotency-Key",
              "pattern": "^[A-Za-z0-9_-]{1,128}$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormSubmissionCreate"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormReceipt"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "422": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "400": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "401": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "403": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "404": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "405": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "409": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "429": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "502": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "503": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "413": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          }
        },
        "x-availability": "separately-gated-pilot"
      },
      "get": {
        "tags": [
          "Forms"
        ],
        "summary": "Listing",
        "description": "List only this integration's submissions in cursor order. Requires results:read. Send next_cursor as after; stop when next_cursor is null.",
        "operationId": "listing_v1_submissions_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "maximum": 100,
              "minimum": 1,
              "description": "Maximum items per page.",
              "default": 50,
              "title": "Limit"
            },
            "description": "Maximum items per page."
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "format": "uuid"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Previous page's next_cursor, scoped to this integration.",
              "title": "After"
            },
            "description": "Previous page's next_cursor, scoped to this integration."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormResultPage"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "422": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "400": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "401": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "403": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "404": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "405": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "409": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "429": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "502": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "503": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          }
        },
        "x-availability": "separately-gated-pilot"
      },
      "servers": [
        {
          "url": "https://teams.cleopowered.com"
        }
      ]
    },
    "/v1/submissions/{submission_id}": {
      "get": {
        "tags": [
          "Forms"
        ],
        "summary": "Retrieve",
        "description": "Read the integration's saved submission and available result. Requires results:read; pending or not-applicable results can be null.",
        "operationId": "retrieve_v1_submissions__submission_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "submission_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Submission Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormResult"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "422": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "400": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "401": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "403": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "404": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "405": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "409": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "429": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "502": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "503": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          }
        },
        "x-availability": "separately-gated-pilot"
      },
      "servers": [
        {
          "url": "https://teams.cleopowered.com"
        }
      ]
    },
    "/v1/submissions/{submission_id}/simulate": {
      "post": {
        "tags": [
          "Forms"
        ],
        "summary": "Simulate",
        "description": "Simulate a test submission result. Requires simulations:write and a test key. Never calls or charges; live resources are rejected.",
        "operationId": "simulate_v1_submissions__submission_id__simulate_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "submission_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Submission Id"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormSimulationCreate"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormReceipt"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "422": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "400": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "401": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "403": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "404": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "405": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "409": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "429": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "502": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "503": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "413": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          }
        },
        "x-availability": "test-only"
      },
      "servers": [
        {
          "url": "https://teams.cleopowered.com"
        }
      ]
    },
    "/v1/webhook-endpoints": {
      "get": {
        "tags": [
          "Forms"
        ],
        "summary": "Endpoints",
        "description": "List this integration's endpoints without signing secrets. Requires webhooks:manage. Maximum 10 endpoints; no cursor.",
        "operationId": "endpoints_v1_webhook_endpoints_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormWebhookPage"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "400": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "401": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "403": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "404": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "405": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "409": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "422": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "429": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "502": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "503": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "x-availability": "separately-gated-pilot"
      },
      "post": {
        "tags": [
          "Forms"
        ],
        "summary": "Register",
        "description": "Register a public HTTPS receiver. Requires webhooks:manage. The new endpoint is disabled until verification; copy the signing_secret once.",
        "operationId": "register_v1_webhook_endpoints_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormWebhookCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormWebhookCreated"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "422": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "400": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "401": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "403": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "404": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "405": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "409": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "429": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "502": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "503": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "413": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "x-availability": "separately-gated-pilot"
      },
      "servers": [
        {
          "url": "https://teams.cleopowered.com"
        }
      ]
    },
    "/v1/webhook-endpoints/{endpoint_id}/{action}": {
      "post": {
        "tags": [
          "Forms"
        ],
        "summary": "Endpoint Action",
        "description": "Requires webhooks:manage. Verify sends a signed challenge; pause disables delivery; rotate returns a new one-time signing_secret. No request body.",
        "operationId": "endpoint_action_v1_webhook_endpoints__endpoint_id___action__post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "endpoint_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Endpoint Id"
            }
          },
          {
            "name": "action",
            "in": "path",
            "required": true,
            "schema": {
              "enum": [
                "verify",
                "pause",
                "rotate"
              ],
              "type": "string",
              "title": "Action"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormWebhookAction"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "422": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "400": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "401": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "403": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "404": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "405": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "409": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "429": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "502": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "503": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "413": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          }
        },
        "x-availability": "separately-gated-pilot"
      },
      "servers": [
        {
          "url": "https://teams.cleopowered.com"
        }
      ]
    },
    "/v1/webhook-endpoints/{endpoint_id}/deliveries": {
      "get": {
        "tags": [
          "Forms"
        ],
        "summary": "Deliveries",
        "description": "Read up to 100 recent delivery records for this integration's endpoint. Requires webhooks:manage. No cursor is supported.",
        "operationId": "deliveries_v1_webhook_endpoints__endpoint_id__deliveries_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "endpoint_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Endpoint Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormWebhookDeliveryPage"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "422": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "400": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "401": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "403": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "404": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "405": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "409": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "429": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "502": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "503": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          }
        },
        "x-availability": "separately-gated-pilot"
      },
      "servers": [
        {
          "url": "https://teams.cleopowered.com"
        }
      ]
    },
    "/v1/webhook-deliveries/{delivery_id}/replay": {
      "post": {
        "tags": [
          "Forms"
        ],
        "summary": "Replay",
        "description": "Requeue an eligible failed or cancelled delivery below 20 total attempts. Requires webhooks:manage and an enabled, verified endpoint. No request body.",
        "operationId": "replay_v1_webhook_deliveries__delivery_id__replay_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "delivery_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid",
              "title": "Delivery Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormWebhookReplay"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "422": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "400": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "401": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "403": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "404": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "405": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "409": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "429": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "502": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          },
          "503": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              },
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "When present, wait at least this many seconds. Upstream throttles may differ from gateway counters."
              }
            }
          },
          "413": {
            "description": "Request failed. Inspect code and detail; do not retry unchanged validation, permission, or payment failures.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetail"
                }
              }
            },
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              },
              "X-RateLimit-Scope": {
                "$ref": "#/components/headers/X-RateLimit-Scope"
              },
              "Cache-Control": {
                "schema": {
                  "type": "string",
                  "const": "no-store"
                }
              }
            }
          }
        },
        "x-availability": "separately-gated-pilot"
      },
      "servers": [
        {
          "url": "https://teams.cleopowered.com"
        }
      ]
    }
  },
  "components": {
    "schemas": {
      "CallbackRequest": {
        "properties": {
          "requested": {
            "type": "boolean",
            "const": true,
            "title": "Requested"
          },
          "disclosure_version": {
            "type": "string",
            "const": "forms-callback-2026-11-28",
            "title": "Disclosure Version"
          },
          "requested_at": {
            "type": "string",
            "format": "date-time",
            "title": "Requested At"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "requested",
          "disclosure_version",
          "requested_at"
        ],
        "title": "CallbackRequest"
      },
      "FormExecutionView": {
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "fake",
              "live"
            ],
            "title": "Mode"
          },
          "calling_enabled": {
            "type": "boolean",
            "title": "Calling Enabled"
          },
          "activation_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ],
            "title": "Activation Id"
          },
          "call_id": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ],
            "title": "Call Id"
          },
          "state": {
            "type": "string",
            "title": "State"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "reserved_cents": {
            "type": "integer",
            "title": "Reserved Cents"
          },
          "simulated_cost_cents": {
            "type": "integer",
            "title": "Simulated Cost Cents"
          },
          "actual_cost_cents": {
            "type": "integer",
            "minimum": 0.0,
            "title": "Actual Cost Cents"
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "title": "Expires At"
          },
          "settled_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Settled At"
          }
        },
        "type": "object",
        "required": [
          "mode",
          "calling_enabled",
          "activation_id",
          "call_id",
          "state",
          "reason",
          "reserved_cents",
          "simulated_cost_cents",
          "actual_cost_cents",
          "expires_at"
        ],
        "title": "FormExecutionView"
      },
      "FormReceipt": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "mode": {
            "type": "string",
            "enum": [
              "test",
              "live"
            ],
            "title": "Mode"
          },
          "calling_enabled": {
            "type": "boolean",
            "title": "Calling Enabled"
          },
          "status": {
            "type": "string",
            "enum": [
              "test_pending",
              "staff_follow_up",
              "test_completed",
              "test_no_answer",
              "test_failed",
              "live_pending",
              "live_completed",
              "live_no_answer",
              "live_failed"
            ],
            "title": "Status"
          },
          "revision": {
            "type": "integer",
            "maximum": 2.0,
            "minimum": 1.0,
            "title": "Revision"
          },
          "resource": {
            "type": "string",
            "title": "Resource"
          }
        },
        "type": "object",
        "required": [
          "id",
          "mode",
          "calling_enabled",
          "status",
          "revision",
          "resource"
        ],
        "title": "FormReceipt"
      },
      "FormResult": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "mode": {
            "type": "string",
            "enum": [
              "test",
              "live"
            ],
            "title": "Mode"
          },
          "calling_enabled": {
            "type": "boolean",
            "title": "Calling Enabled"
          },
          "status": {
            "type": "string",
            "enum": [
              "test_pending",
              "staff_follow_up",
              "test_completed",
              "test_no_answer",
              "test_failed",
              "live_pending",
              "live_completed",
              "live_no_answer",
              "live_failed"
            ],
            "title": "Status"
          },
          "revision": {
            "type": "integer",
            "maximum": 2.0,
            "minimum": 1.0,
            "title": "Revision"
          },
          "resource": {
            "type": "string",
            "title": "Resource"
          },
          "form_version_id": {
            "type": "string",
            "format": "uuid",
            "title": "Form Version Id"
          },
          "request_mode": {
            "type": "string",
            "enum": [
              "call_now",
              "staff_follow_up"
            ],
            "title": "Request Mode"
          },
          "request": {
            "additionalProperties": true,
            "type": "object",
            "title": "Request"
          },
          "result": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result"
          },
          "result_status": {
            "type": "string",
            "enum": [
              "pending",
              "ready",
              "not_applicable"
            ],
            "title": "Result Status"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "title": "Created At"
          },
          "completed_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "execution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FormExecutionView"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "type": "object",
        "required": [
          "id",
          "mode",
          "calling_enabled",
          "status",
          "revision",
          "resource",
          "form_version_id",
          "request_mode",
          "request",
          "result",
          "result_status",
          "created_at",
          "completed_at"
        ],
        "title": "FormResult",
        "examples": [
          {
            "id": "00000000-0000-4000-8000-000000000001",
            "mode": "test",
            "calling_enabled": false,
            "status": "test_pending",
            "revision": 1,
            "resource": "/v1/submissions/00000000-0000-4000-8000-000000000001",
            "form_version_id": "00000000-0000-4000-8000-000000000001",
            "request_mode": "call_now",
            "request": {
              "name": "Synthetic test",
              "phone": "+12025550123",
              "answers": {}
            },
            "result": null,
            "result_status": "pending",
            "created_at": "2026-12-03T00:00:00Z",
            "completed_at": null,
            "execution": null
          }
        ]
      },
      "FormResultPage": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/FormResult"
            },
            "type": "array",
            "title": "Items"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Cursor"
          },
          "mode": {
            "type": "string",
            "enum": [
              "test",
              "live"
            ],
            "title": "Mode"
          }
        },
        "type": "object",
        "required": [
          "items",
          "next_cursor",
          "mode"
        ],
        "title": "FormResultPage"
      },
      "FormSimulationCreate": {
        "properties": {
          "scenario": {
            "type": "string",
            "enum": [
              "completed",
              "no_answer",
              "failed"
            ],
            "title": "Scenario",
            "default": "completed"
          },
          "answers": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                },
                {
                  "type": "number"
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "type": "object",
            "maxProperties": 20,
            "title": "Answers"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "FormSimulationCreate"
      },
      "FormSubmissionCreate": {
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "test",
              "live"
            ],
            "title": "Mode",
            "default": "test"
          },
          "callback_request": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CallbackRequest"
              },
              {
                "type": "null"
              }
            ]
          },
          "form_version_id": {
            "type": "string",
            "format": "uuid",
            "title": "Form Version Id"
          },
          "name": {
            "type": "string",
            "maxLength": 160,
            "minLength": 1,
            "title": "Name"
          },
          "phone": {
            "type": "string",
            "maxLength": 40,
            "minLength": 5,
            "title": "Phone"
          },
          "request_mode": {
            "type": "string",
            "enum": [
              "call_now",
              "staff_follow_up"
            ],
            "title": "Request Mode"
          },
          "recipient_timezone": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 100
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipient Timezone"
          },
          "answers": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                },
                {
                  "type": "number"
                },
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "type": "object",
            "maxProperties": 20,
            "title": "Answers"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "form_version_id",
          "name",
          "phone",
          "request_mode"
        ],
        "title": "FormSubmissionCreate"
      },
      "FormWebhookAction": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "url": {
            "type": "string",
            "title": "Url",
            "description": "Public HTTPS receiver on port 443."
          },
          "enabled": {
            "type": "boolean",
            "title": "Enabled",
            "description": "False until destination verification succeeds, or after pausing."
          },
          "verified_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Verified At",
            "description": "Last successful destination verification; null before verification."
          },
          "secret_version": {
            "type": "integer",
            "minimum": 1.0,
            "title": "Secret Version",
            "description": "Increments on secret rotation."
          },
          "mode": {
            "type": "string",
            "enum": [
              "test",
              "live"
            ],
            "title": "Mode"
          },
          "signing_secret": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signing Secret",
            "description": "Present only on rotation."
          }
        },
        "type": "object",
        "required": [
          "id",
          "url",
          "enabled",
          "verified_at",
          "secret_version",
          "mode"
        ],
        "title": "FormWebhookAction",
        "examples": [
          {
            "id": "00000000-0000-4000-8000-000000000001",
            "url": "https://receiver.example/webhook",
            "enabled": false,
            "verified_at": null,
            "secret_version": 1,
            "mode": "test"
          }
        ]
      },
      "FormWebhookCreate": {
        "properties": {
          "url": {
            "type": "string",
            "maxLength": 1000,
            "minLength": 1,
            "title": "Url"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "url"
        ],
        "title": "FormWebhookCreate"
      },
      "FormWebhookCreated": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "url": {
            "type": "string",
            "title": "Url",
            "description": "Public HTTPS receiver on port 443."
          },
          "enabled": {
            "type": "boolean",
            "title": "Enabled",
            "description": "False until destination verification succeeds, or after pausing."
          },
          "verified_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Verified At",
            "description": "Last successful destination verification; null before verification."
          },
          "secret_version": {
            "type": "integer",
            "minimum": 1.0,
            "title": "Secret Version",
            "description": "Increments on secret rotation."
          },
          "mode": {
            "type": "string",
            "enum": [
              "test",
              "live"
            ],
            "title": "Mode"
          },
          "signing_secret": {
            "type": "string",
            "title": "Signing Secret",
            "description": "Shown only on creation and rotation. Store securely."
          }
        },
        "type": "object",
        "required": [
          "id",
          "url",
          "enabled",
          "verified_at",
          "secret_version",
          "mode",
          "signing_secret"
        ],
        "title": "FormWebhookCreated",
        "examples": [
          {
            "id": "00000000-0000-4000-8000-000000000001",
            "url": "https://receiver.example/webhook",
            "enabled": false,
            "verified_at": null,
            "secret_version": 1,
            "mode": "test",
            "signing_secret": "whsec_SYNTHETIC_EXAMPLE"
          }
        ]
      },
      "FormWebhookDelivery": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "event_id": {
            "type": "string",
            "format": "uuid",
            "title": "Event Id"
          },
          "submission_id": {
            "type": "string",
            "format": "uuid",
            "title": "Submission Id"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "delivering",
              "delivered",
              "failed",
              "cancelled"
            ],
            "title": "Status"
          },
          "attempts": {
            "type": "integer",
            "minimum": 0.0,
            "title": "Attempts"
          },
          "total_attempts": {
            "type": "integer",
            "minimum": 0.0,
            "title": "Total Attempts"
          },
          "available_at": {
            "type": "string",
            "format": "date-time",
            "title": "Available At"
          },
          "last_status": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Status",
            "description": "Last receiver HTTP status; null before a response."
          },
          "last_error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Error",
            "description": "Last delivery failure code; null when unavailable."
          },
          "secret_version": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Secret Version",
            "description": "Signing secret version used on the last attempt, if any."
          }
        },
        "type": "object",
        "required": [
          "id",
          "event_id",
          "submission_id",
          "status",
          "attempts",
          "total_attempts",
          "available_at",
          "last_status",
          "last_error",
          "secret_version"
        ],
        "title": "FormWebhookDelivery"
      },
      "FormWebhookDeliveryPage": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/FormWebhookDelivery"
            },
            "type": "array",
            "title": "Items"
          }
        },
        "type": "object",
        "required": [
          "items"
        ],
        "title": "FormWebhookDeliveryPage",
        "examples": [
          {
            "items": [
              {
                "id": "00000000-0000-4000-8000-000000000001",
                "event_id": "00000000-0000-4000-8000-000000000001",
                "submission_id": "00000000-0000-4000-8000-000000000001",
                "status": "failed",
                "attempts": 1,
                "total_attempts": 1,
                "available_at": "2026-12-03T00:00:00Z",
                "last_status": 503,
                "last_error": "http_status",
                "secret_version": 1
              }
            ]
          }
        ]
      },
      "FormWebhookEndpoint": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "url": {
            "type": "string",
            "title": "Url",
            "description": "Public HTTPS receiver on port 443."
          },
          "enabled": {
            "type": "boolean",
            "title": "Enabled",
            "description": "False until destination verification succeeds, or after pausing."
          },
          "verified_at": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time"
              },
              {
                "type": "null"
              }
            ],
            "title": "Verified At",
            "description": "Last successful destination verification; null before verification."
          },
          "secret_version": {
            "type": "integer",
            "minimum": 1.0,
            "title": "Secret Version",
            "description": "Increments on secret rotation."
          },
          "mode": {
            "type": "string",
            "enum": [
              "test",
              "live"
            ],
            "title": "Mode"
          }
        },
        "type": "object",
        "required": [
          "id",
          "url",
          "enabled",
          "verified_at",
          "secret_version",
          "mode"
        ],
        "title": "FormWebhookEndpoint"
      },
      "FormWebhookPage": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/FormWebhookEndpoint"
            },
            "type": "array",
            "title": "Items"
          }
        },
        "type": "object",
        "required": [
          "items"
        ],
        "title": "FormWebhookPage",
        "examples": [
          {
            "items": [
              {
                "id": "00000000-0000-4000-8000-000000000001",
                "url": "https://receiver.example/webhook",
                "enabled": false,
                "verified_at": null,
                "secret_version": 1,
                "mode": "test"
              }
            ]
          }
        ]
      },
      "FormWebhookReplay": {
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "title": "Id"
          },
          "event_id": {
            "type": "string",
            "format": "uuid",
            "title": "Event Id"
          },
          "status": {
            "type": "string",
            "const": "pending",
            "title": "Status"
          },
          "mode": {
            "type": "string",
            "enum": [
              "test",
              "live"
            ],
            "title": "Mode"
          }
        },
        "type": "object",
        "required": [
          "id",
          "event_id",
          "status",
          "mode"
        ],
        "title": "FormWebhookReplay",
        "examples": [
          {
            "id": "00000000-0000-4000-8000-000000000001",
            "event_id": "00000000-0000-4000-8000-000000000001",
            "status": "pending",
            "mode": "test"
          }
        ]
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "ProblemDetail": {
        "properties": {
          "type": {
            "default": "about:blank",
            "title": "Type",
            "type": "string"
          },
          "title": {
            "title": "Title",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "integer"
          },
          "detail": {
            "title": "Detail",
            "type": "string"
          },
          "code": {
            "title": "Code",
            "type": "string"
          },
          "action_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Action Url"
          },
          "retryable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Retryable"
          }
        },
        "required": [
          "title",
          "status",
          "detail",
          "code"
        ],
        "title": "ProblemDetail",
        "type": "object"
      }
    },
    "securitySchemes": {
      "HTTPBearer": {
        "type": "http",
        "scheme": "bearer",
        "description": "Separate scoped cf_test_ or cf_live_ integration key; live admission is independently gated."
      }
    },
    "headers": {
      "RateLimit-Limit": {
        "schema": {
          "type": "integer"
        },
        "description": "This gateway process's window limit."
      },
      "RateLimit-Remaining": {
        "schema": {
          "type": "integer"
        },
        "description": "Remaining requests in this process's checked window; not an account-wide quota."
      },
      "RateLimit-Reset": {
        "schema": {
          "type": "integer"
        },
        "description": "Seconds until the oldest counted request leaves this sliding window."
      },
      "X-RateLimit-Scope": {
        "schema": {
          "type": "string"
        },
        "description": "gateway-process/api-key, gateway-process/client-ip, or gateway-process/onboarding-ip."
      }
    }
  },
  "servers": [
    {
      "url": "https://teams.cleopowered.com"
    }
  ]
}
