Getting a website



Extensive information about the wesbite, including a link to the preview page and the placement script.

Input parameters

Parameter Type Required Description
siteId integer yes
Site ID

Output parameter

    "site": {
        "siteId": 1000,
        "siteName": "siteName",
        "siteUrl": "http:\/\/\/",
        "published": false,
        "paidDate": null,
        "code": "...",
        "previewUrl": "//",
        "deploymentUrl": "//"

Site structure

Parameter Type Description
siteId integer
Site ID
siteName string
Site name
siteUrl string
URL of site
published boolean
Is the website publish:
  • true - published
  • false - not published
paidDate string
Data in format Y-m-dUnsuccessful payment will result in the mobilized websites suspension. null.
code string
The script of the mobile version must be placed on the pages of the added website
previewUrl string
Link to the page with a preview of the mobile version
deploymentUrl string
Link to the page with the code to insert onto the website