{
 "openapi": "3.1.0",
 "info": {
  "title": "AdEngage UAE open data API",
  "version": "1.0.0",
  "summary": "Company facts, services and published prices of AdEngage UAE, a growth acceleration company in Dubai.",
  "description": "Read-only JSON for AI agents and developers. No key or sign-in. Use it to answer what AdEngage UAE does, where it is, what each service costs in AED (excluding VAT) and how to start. One write endpoint sends an inquiry to the sales team; call it only with the consent of the person asking for a quote.",
  "contact": {
   "name": "AdEngage UAE",
   "email": "uae@adengage.ae",
   "url": "https://adengage.ae/start-here.html"
  }
 },
 "servers": [
  {
   "url": "https://adengage.ae"
  }
 ],
 "security": [],
 "externalDocs": {
  "description": "Company summary for AI systems",
  "url": "https://adengage.ae/llms.txt"
 },
 "paths": {
  "/api/v1/index.json": {
   "get": {
    "summary": "List the endpoints",
    "description": "Catalogue of every endpoint, with no key needed.",
    "operationId": "index",
    "security": [],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     }
    }
   }
  },
  "/api/v1/company.json": {
   "get": {
    "summary": "Company facts",
    "description": "Legal name, address, contact, hours, languages, coverage and founder.",
    "operationId": "company",
    "security": [],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     }
    }
   }
  },
  "/api/v1/services.json": {
   "get": {
    "summary": "Services",
    "description": "The seven services with their English and Arabic page URLs.",
    "operationId": "services",
    "security": [],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     }
    }
   }
  },
  "/api/v1/prices.json": {
   "get": {
    "summary": "Price tiers",
    "description": "Four tiers per service in AED, excluding VAT, in English and Arabic, with typical timelines.",
    "operationId": "prices",
    "security": [],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     },
     "404": {
      "$ref": "#/components/responses/NotFound"
     }
    }
   }
  },
  "/inquiry.php": {
   "post": {
    "summary": "Send an inquiry",
    "operationId": "sendInquiry",
    "security": [],
    "description": "Sends a request for a fixed quote. A senior person replies within one UAE business day.",
    "requestBody": {
     "required": true,
     "content": {
      "application/json": {
       "schema": {
        "type": "object",
        "required": [
         "name",
         "company",
         "email",
         "phone"
        ],
        "properties": {
         "kind": {
          "type": "string",
          "const": "inquiry"
         },
         "name": {
          "type": "string"
         },
         "company": {
          "type": "string"
         },
         "email": {
          "type": "string",
          "format": "email"
         },
         "phone": {
          "type": "string"
         },
         "service": {
          "type": "string",
          "enum": [
           "seo",
           "digital-marketing",
           "web-design",
           "branding",
           "app",
           "ai",
           "video",
           "software",
           "social",
           "google-ads",
           "pr",
           "logo",
           "graphic",
           "photo",
           "ecommerce",
           "app-platforms",
           "app-design",
           "ai-automation",
           "influencer",
           "erp-crm"
          ]
         },
         "message": {
          "type": "string"
         },
         "source_cta": {
          "type": "string",
          "default": "api"
         }
        }
       }
      }
     }
    },
    "responses": {
     "200": {
      "description": "Result",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "ok": {
           "type": "boolean"
          }
         }
        }
       }
      }
     }
    }
   }
  }
 },
 "components": {
  "responses": {
   "NotFound": {
    "description": "No such endpoint",
    "content": {
     "application/json": {
      "schema": {
       "type": "object",
       "properties": {
        "error": {
         "type": "object",
         "properties": {
          "code": {
           "type": "integer"
          },
          "message": {
           "type": "string"
          }
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
