Free AI Website Builder by Wix

Free AI Website Builder by Wix · GPT-Aktionen

Wix Entrypoint URL Generator

Generates an entrypoint URL for users to sign in and get a new Wix Harmony site. Send any combination of structured fields or a single prompt.

  • POST /generate-entrypoint-urlGenerate Wix website entrypoint URL

    Generates a URL that takes the user to sign-in and then creates their Harmony site. Send whatever you have: structured fields (siteName, businessDescription, lookAndFeel, etc.) or a single prompt. At least one field is required.

Ursprüngliches API-Schema
{
  "openapi": "3.1.0",
  "info": {
    "title": "Wix Entrypoint URL Generator",
    "description": "Generates an entrypoint URL for users to sign in and get a new Wix Harmony site. Send any combination of structured fields or a single prompt.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://www.wix.com/_api/custom-harmony-bridge"
    }
  ],
  "paths": {
    "/generate-entrypoint-url": {
      "post": {
        "summary": "Generate Wix website entrypoint URL",
        "description": "Generates a URL that takes the user to sign-in and then creates their Harmony site. Send whatever you have: structured fields (siteName, businessDescription, lookAndFeel, etc.) or a single prompt. At least one field is required.",
        "operationId": "generateEntrypointUrl",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "language": {
                    "type": "string",
                    "description": "The 2 letter language code of the website",
                    "example": "en"
                  },
                  "siteName": {
                    "type": "string",
                    "description": "The name of the website",
                    "example": "My Fashion Store"
                  },
                  "businessType": {
                    "type": "string",
                    "description": "The type of business, up to 3 words, e.g. 'Fashion Store', 'Vegan Deli', 'Art Gallery', 'Travel Blog'",
                    "example": "Fashion Store"
                  },
                  "businessDescription": {
                    "type": "string",
                    "description": "A description of the user's business"
                  },
                  "photo_theme": {
                    "type": "string",
                    "description": "Desired visual style/theme for the website (e.g. 'minimalist', 'bold', 'elegant')"
                  },
                  "prompt": {
                    "type": "string",
                    "description": "Free-form description of the site (alternative to or in addition to structured fields)"
                  },
                  "additionalInfo": {
                    "type": "object",
                    "description": "Any additional information extracted from the chat",
                    "additionalProperties": true
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "The entrypoint URL: user opens it to sign in and get their new Wix Harmony site",
                      "example": "https://www.wix.com/ serverless/custom-harmony-bridge/entrypoint?..."
                    }
                  },
                  "required": [
                    "url"
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}