v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
Sitejet

Create Sitejet domain ID

This function creates a Sitejet ID for the specified domain.

Note:

A unique Sitejet ID is assigned to each domain on the cPanel account.

get/Sitejet/create_website

Query parameters

companystring required
Example:cPanel

The name of the company the website represents.

domainstring required
Example:example.com

A cPanel account's domain.

assignTostring email
Example:SallySmith@example.com

Assign website to other user.

citystring
Example:Capitol City

The city where the company or website owner is located.

countrystring ISO-3166
Example:US

The country where the company or website owner is located.

emailstring email
Example:JohnSmith@example.com

The email address of the website owner.

firstnamestring
Example:John

The first name of the website owner.

languagestring ISO-639
Example:en

The language to use for the Sitejet Website Builder.

lastnamestring
Example:Smith

The last name of the website owner.

metadatastring encoded JSON
Example:{"Attribute1":9,"Attribute2":3,"Attribute3":5}

Additional metadata for the website.

notestring
Example:This is my website for my business.

Additional notes about the website.

phonestring
Example:000-123-4567

The phone number of the company or website owner.

streetstring
Example:1234 Main St

The street address of the company or website owner.

titlestring
Example:Example Website

The website title.

zipstring
Example:99999

The zip code where the company or website owner is located.

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "create_website",
  "module": "Sitejet",
  "result": {
    "data": {
      "websiteID": 123456
    },
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}