Skip to content

sites-activations ​

← All modules

7 endpoints.

POST /api/v1/public/sites/activations/list ​

List Activations

Parameters

NameInRequiredTypeDescription
x-website-secretheaderno

Request body

json
{
  "properties": {
    "email": {
      "type": "string",
      "title": "Email"
    },
    "domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Domain"
    }
  },
  "type": "object",
  "required": [
    "email"
  ],
  "title": "ActivationAsk"
}

200 — Successful Response

json
{}

422 — Validation Error

json
{
  "properties": {
    "detail": {
      "items": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}

POST /api/v1/public/sites/activations/paid ​

Hosting Paid

Host1's sweep asks this to turn a paid trial into a live site.

Parameters

NameInRequiredTypeDescription
x-website-secretheaderno

Request body

json
{
  "properties": {
    "email": {
      "type": "string",
      "title": "Email"
    },
    "domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Domain"
    }
  },
  "type": "object",
  "required": [
    "email"
  ],
  "title": "ActivationAsk"
}

200 — Successful Response

json
{}

422 — Validation Error

json
{
  "properties": {
    "detail": {
      "items": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}

POST /api/v1/public/sites/activations/{activation_id}/check ​

Check Domain

Parameters

NameInRequiredTypeDescription
activation_idpathyesinteger
x-website-secretheaderno

Request body

json
{
  "properties": {
    "email": {
      "type": "string",
      "title": "Email"
    },
    "domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Domain"
    }
  },
  "type": "object",
  "required": [
    "email"
  ],
  "title": "ActivationAsk"
}

200 — Successful Response

json
{}

422 — Validation Error

json
{
  "properties": {
    "detail": {
      "items": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}

POST /api/v1/public/sites/activations/{activation_id}/process ​

Process Domain

Parameters

NameInRequiredTypeDescription
activation_idpathyesinteger
x-website-secretheaderno

Request body

json
{
  "properties": {
    "email": {
      "type": "string",
      "title": "Email"
    },
    "domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Domain"
    }
  },
  "type": "object",
  "required": [
    "email"
  ],
  "title": "ActivationAsk"
}

200 — Successful Response

json
{}

422 — Validation Error

json
{
  "properties": {
    "detail": {
      "items": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}

POST /api/v1/public/sites/activations/siteworx-login ​

Siteworx Login

Lubb Labs -> DNS & mail: sign the site's admin in to the SiteWorx account of a domain whose DNS lives on host2 (owner, 2026-11-02). lubb-sites-core has already checked the domain is a whole zone of that site, the same rule as its DNS. Goes back as form fields, so the password never lands in a URL, a log or the history.

Parameters

NameInRequiredTypeDescription
x-website-secretheaderno

Request body

json
{
  "properties": {
    "domain": {
      "type": "string",
      "title": "Domain"
    }
  },
  "type": "object",
  "required": [
    "domain"
  ],
  "title": "SiteworxLoginAsk"
}

200 — Successful Response

json
{}

422 — Validation Error

json
{
  "properties": {
    "detail": {
      "items": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}

POST /api/v1/public/sites/activations/website-sync/overview ​

Overview

Parameters

NameInRequiredTypeDescription
x-website-secretheaderno

Request body

json
{
  "properties": {
    "site": {
      "type": "string",
      "title": "Site"
    },
    "instance": {
      "type": "string",
      "title": "Site"
    }
  },
  "type": "object",
  "required": [
    "site"
  ],
  "title": "Ask"
}

200 — Successful Response

json
{}

422 — Validation Error

json
{
  "properties": {
    "detail": {
      "items": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}

POST /api/v1/public/sites/activations/website-sync/run ​

Run

Parameters

NameInRequiredTypeDescription
x-website-secretheaderno

Request body

json
{
  "properties": {
    "site": {
      "type": "string",
      "title": "Site"
    },
    "connection_id": {
      "type": "integer",
      "title": "Connection Id"
    },
    "action": {
      "type": "string",
      "title": "Action"
    },
    "by": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "By"
    },
    "instance": {
      "type": "string",
      "title": "Site"
    }
  },
  "type": "object",
  "required": [
    "site",
    "connection_id",
    "action"
  ],
  "title": "RunAsk"
}

200 — Successful Response

json
{}

422 — Validation Error

json
{
  "properties": {
    "detail": {
      "items": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "type": "array",
      "title": "Detail"
    }
  },
  "type": "object",
  "title": "HTTPValidationError"
}

Lubb Business Documentation