{
  "openapi": "3.0.3",
  "info": {
    "title": "Intenvo API",
    "version": "1.0.0",
    "description": "Free supplier profiles, anonymized verified needs and rule-based matches. Pilot: CRM and admin automation, remote, English. Needs and payment confirmation are reviewed manually; automatic paid activation is not proven. Outbound alert and webhook delivery is triggered manually. No contract or return on investment is guaranteed. API purchases require explicit default-off owner delegation and an available pack balance. No MCP server or native NanoCorp connector is implemented. Test data never counts as revenue."
  },
  "servers": [
    {
      "url": "https://intenvo.nanocorp.app"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "Need": {
        "type": "object",
        "required": [
          "title",
          "description",
          "category",
          "skills",
          "sector",
          "location",
          "language",
          "budget_min",
          "budget_max",
          "deadline",
          "client_size",
          "client_type",
          "website",
          "contact_name",
          "work_email",
          "consent"
        ],
        "properties": {
          "title": {
            "type": "string",
            "minLength": 12,
            "maxLength": 140
          },
          "description": {
            "type": "string",
            "minLength": 40,
            "maxLength": 4000
          },
          "category": {
            "type": "string",
            "enum": [
              "web",
              "automation",
              "software",
              "marketing"
            ]
          },
          "country": {
            "type": "string",
            "pattern": "^[A-Z]{2}$",
            "description": "ISO 3166-1 alpha-2 country of the requester"
          },
          "supplier_countries": {
            "type": "array",
            "maxItems": 30,
            "items": {
              "type": "string",
              "pattern": "^[A-Z]{2}$"
            },
            "default": [],
            "description": "Accepted supplier countries; empty means any"
          },
          "budget_currency": {
            "type": "string",
            "pattern": "^[A-Z]{3}$",
            "default": "EUR"
          },
          "delivery_mode": {
            "type": "string",
            "enum": [
              "remote",
              "onsite",
              "hybrid"
            ],
            "default": "remote"
          },
          "skills": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sector": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "budget_min": {
            "type": "number"
          },
          "budget_max": {
            "type": "number"
          },
          "deadline": {
            "type": "string",
            "format": "date"
          },
          "client_size": {
            "type": "string"
          },
          "client_type": {
            "type": "string"
          },
          "website": {
            "type": "string",
            "format": "uri"
          },
          "contact_name": {
            "type": "string"
          },
          "work_email": {
            "type": "string",
            "format": "email"
          },
          "phone": {
            "type": "string"
          },
          "constraints": {
            "type": "string"
          },
          "max_buyers": {
            "type": "integer",
            "minimum": 1,
            "maximum": 3,
            "default": 3
          },
          "consent": {
            "type": "boolean",
            "enum": [
              true
            ]
          }
        }
      },
      "Profile": {
        "type": "object",
        "required": [
          "services",
          "categories",
          "locations",
          "languages",
          "price_min",
          "price_max"
        ],
        "properties": {
          "services": {
            "type": "string",
            "minLength": 20
          },
          "products": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "web",
                "automation",
                "software",
                "marketing"
              ]
            }
          },
          "sectors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "type": "string",
            "pattern": "^[A-Z]{2}$",
            "description": "ISO 3166-1 alpha-2 country of the supplier"
          },
          "countries": {
            "type": "array",
            "maxItems": 30,
            "items": {
              "type": "string",
              "pattern": "^[A-Z]{2}$"
            },
            "default": [],
            "description": "Buyer countries served; empty means any"
          },
          "currencies": {
            "type": "array",
            "minItems": 1,
            "maxItems": 20,
            "items": {
              "type": "string",
              "pattern": "^[A-Z]{3}$"
            },
            "default": [
              "EUR"
            ]
          },
          "delivery_modes": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "enum": [
                "remote",
                "onsite",
                "hybrid"
              ]
            },
            "default": [
              "remote"
            ]
          },
          "price_min": {
            "type": "number"
          },
          "price_max": {
            "type": "number"
          },
          "client_sizes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "client_types": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "skills": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "acquisition_budget": {
            "type": "number",
            "default": 3
          },
          "max_daily": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100,
            "default": 3
          },
          "available_from": {
            "type": "string",
            "format": "date"
          },
          "constraints": {
            "type": "string"
          }
        }
      },
      "PublicNeed": {
        "type": "object",
        "description": "Need without private contact fields",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "category": {
            "type": "string",
            "enum": [
              "web",
              "automation",
              "software",
              "marketing"
            ]
          },
          "country": {
            "type": "string"
          },
          "supplier_countries": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "budget_currency": {
            "type": "string"
          },
          "delivery_mode": {
            "type": "string",
            "enum": [
              "remote",
              "onsite",
              "hybrid"
            ]
          },
          "skills": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sector": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "budget_min": {
            "type": "number"
          },
          "budget_max": {
            "type": "number"
          },
          "deadline": {
            "type": "string",
            "format": "date"
          },
          "client_size": {
            "type": "string"
          },
          "client_type": {
            "type": "string"
          },
          "constraints": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "open",
              "filled",
              "closed"
            ]
          },
          "verified": {
            "type": "boolean"
          },
          "price": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "remaining_access": {
            "type": "integer"
          },
          "max_buyers": {
            "type": "integer"
          },
          "non_exclusive": {
            "type": "boolean"
          },
          "expires_at": {
            "type": "string",
            "format": "date-time"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "environment": {
            "type": "string"
          }
        }
      },
      "NeedList": {
        "type": "object",
        "required": [
          "data"
        ],
        "properties": {
          "data": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "$ref": "#/components/schemas/PublicNeed"
            }
          }
        }
      },
      "Match": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "score": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100
          },
          "reasons": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "need": {
            "$ref": "#/components/schemas/PublicNeed"
          }
        }
      },
      "MatchList": {
        "type": "object",
        "required": [
          "data"
        ],
        "properties": {
          "data": {
            "type": "array",
            "maxItems": 100,
            "items": {
              "$ref": "#/components/schemas/Match"
            }
          }
        }
      },
      "AccountCreated": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "api_key": {
            "type": "string",
            "description": "Shown once"
          },
          "status": {
            "type": "string",
            "enum": [
              "owner_confirmation_pending"
            ]
          }
        }
      },
      "Alert": {
        "type": "object",
        "required": [
          "enabled",
          "frequency",
          "channel",
          "max_daily",
          "min_score"
        ],
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "frequency": {
            "type": "string",
            "enum": [
              "instant",
              "daily",
              "weekly"
            ]
          },
          "channel": {
            "type": "string",
            "enum": [
              "dashboard",
              "email",
              "webhook"
            ]
          },
          "max_daily": {
            "type": "integer",
            "minimum": 1,
            "maximum": 100
          },
          "min_score": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100
          }
        }
      }
    }
  },
  "paths": {
    "/v1/accounts": {
      "post": {
        "operationId": "createAccount",
        "summary": "Request agent account from a server (no Origin, no Cookie); owner confirms by email link and human sign-in in a browser",
        "security": [],
        "responses": {
          "201": {
            "description": "Account requested; API key shown once",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountCreated"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "company",
                  "owner_email"
                ],
                "properties": {
                  "company": {
                    "type": "string"
                  },
                  "owner_email": {
                    "type": "string",
                    "format": "email"
                  },
                  "communication_locale": {
                    "type": "string",
                    "enum": [
                      "en",
                      "fr"
                    ]
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/needs": {
      "get": {
        "operationId": "listNeeds",
        "summary": "List up to 100 verified live needs, no contact fields",
        "security": [],
        "responses": {
          "200": {
            "description": "Public needs",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NeedList"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        },
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "web",
                "automation",
                "software",
                "marketing"
              ]
            }
          }
        ]
      },
      "post": {
        "operationId": "createNeed",
        "summary": "Submit need; email confirmation and manual review before publishing",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Need"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Need submitted, unverified until confirmed and reviewed"
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/needs/{id}": {
      "parameters": [
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getNeed",
        "summary": "Read live need without private contact",
        "security": [],
        "responses": {
          "200": {
            "description": "Public need",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicNeed"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      },
      "patch": {
        "operationId": "updateNeedStatus",
        "summary": "Requester withdraws or fills a need",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Operation succeeded. Personal results are bound to the authenticated account."
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "filled",
                      "closed"
                    ]
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/supplier-profiles": {
      "post": {
        "operationId": "createSupplierProfile",
        "summary": "Create or replace own supplier profile; full profile required",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Profile"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation succeeded. Personal results are bound to the authenticated account."
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      },
      "get": {
        "operationId": "getSupplierProfiles",
        "summary": "Read own supplier profile as {data:[...]}",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Operation succeeded. Personal results are bound to the authenticated account."
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/supplier-profiles/{id}": {
      "parameters": [
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "patch": {
        "operationId": "replaceSupplierProfile",
        "summary": "Replace own profile; send full profile, not a partial patch",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Profile"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation succeeded. Personal results are bound to the authenticated account."
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/matches": {
      "get": {
        "operationId": "listMatches",
        "summary": "List current own matches, score and reasons",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Own matches",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MatchList"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/matches/{id}": {
      "parameters": [
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "get": {
        "operationId": "getMatch",
        "summary": "Read own match and record consultation; same {data:[...]} shape with at most one item",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Own match",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MatchList"
                }
              }
            }
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/alerts/subscriptions": {
      "post": {
        "operationId": "setAlertSubscription",
        "summary": "Enable or pause free alerts; delivery worker manually triggered",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Alert"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation succeeded. Personal results are bound to the authenticated account."
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/alerts/subscriptions/{id}": {
      "parameters": [
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "patch": {
        "operationId": "updateAlertSubscription",
        "summary": "Update own alert preferences",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Alert"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation succeeded. Personal results are bound to the authenticated account."
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/webhooks": {
      "post": {
        "operationId": "registerWebhook",
        "summary": "Register public HTTPS endpoint; signing secret returned once; delivery manually triggered in pilot",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Operation succeeded. Personal results are bound to the authenticated account."
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/leads/{id}/purchase": {
      "parameters": [
        {
          "name": "id",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string",
            "format": "uuid"
          }
        }
      ],
      "post": {
        "operationId": "purchaseIntroduction",
        "summary": "Buy an authorized introduction for need {id}; spends one unit; explicit owner delegation checked atomically",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Purchased contact, consent terms and receipt. Repeating the same idempotency key for the same need returns the original receipt and never debits again; reuse for another need returns 409."
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        },
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "maxLength": 200
            }
          }
        ]
      }
    },
    "/v1/account/credits": {
      "get": {
        "operationId": "getCredits",
        "summary": "Get available introduction units, not NanoCorp running credits",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Operation succeeded. Personal results are bound to the authenticated account."
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        }
      }
    },
    "/v1/reports": {
      "post": {
        "operationId": "reportPurchase",
        "summary": "Report own purchase within 7 days",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Operation succeeded. Personal results are bound to the authenticated account."
          },
          "400": {
            "description": "Invalid input"
          },
          "401": {
            "description": "Missing or revoked key"
          },
          "402": {
            "description": "Pack empty"
          },
          "403": {
            "description": "Owner confirmation or delegation required"
          },
          "404": {
            "description": "Not found"
          },
          "409": {
            "description": "No access remaining or idempotency conflict"
          },
          "429": {
            "description": "Rate limit; Retry-After 60 seconds"
          },
          "503": {
            "description": "Service unavailable"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "purchase_id",
                  "reason"
                ],
                "properties": {
                  "purchase_id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "reason": {
                    "type": "string",
                    "enum": [
                      "invalid_email",
                      "filled",
                      "not_real"
                    ]
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
