HappierleadsDocs
MCP server

add_website

Creates a new website on the account and returns only its websiteId.

Add website · Changes data

Creates a new website on the account and returns only its websiteId. It uses one of the plan's website slots; when none are left the call fails with 401 'You cannot add more websites, please upgrade'. Next steps: set its address with update_website (url), get the install snippet with get_tracking_pixel, then check installation with verify_website. Confirm with the user before calling. Needs an account-level key.

ConnectionAccount-owner URL or OAuth (not a team member URL)

Parameters

ParameterTypeRequiredDescription
namestringNoDisplay name for the website, e.g. "Acme marketing site". Defaults to "New Website".

Tool definition

What your assistant receives from tools/list:

{
  "name": "add_website",
  "title": "Add website",
  "annotations": {
    "title": "Add website",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": false,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "name": {
        "type": "string",
        "description": "Display name for the website, e.g. \"Acme marketing site\". Defaults to \"New Website\"."
      }
    }
  }
}

On this page