Site Fields
If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the MCP server so that the assistant can utilize the official REST documentation.
Site fields are used in the method landing.site.getList.
Some fields can be passed when creating and updating a site through the methods landing.site.add and landing.site.update.
Additional site fields are passed separately in the ADDITIONAL_FIELDS array and can be read through landing.site.getadditionalfields.
What You Need to Know
- When created via
landing.site.add, the site is created unpublished with the valueACTIVE = N. - If the site is moved to the trash, it is automatically unpublished.
- To delete and restore a site, use landing.site.markDelete and landing.site.markUnDelete.
- System fields may appear in the response of
landing.site.getList, but they are not set manually.
Main Fields
|
Field |
Description |
|
ID |
Site identifier. The field is always present in the response of |
|
TITLE |
Site title. This field is required when creating a site |
|
CODE |
Symbolic code of the site. In the response of |
|
TYPE |
Type of the site. Possible values: Default is For more details on types and internal scopes, read the article Working with Site Types and Scopes |
|
ACTIVE |
Site publication status. Possible values: When created via |
|
DELETED |
Trash flag. Possible values: By default, |
|
DESCRIPTION |
Brief description of the site. Displayed in the list of sites |
|
XML_ID |
External identifier of the site |
|
Domain identifier |
|
|
LANG |
Two-letter code of the site's language zone, for example |
|
TPL_ID |
Identifier of the view template of the site |
|
LANDING_ID_INDEX |
Identifier of the main page of the site. This field is also used to obtain |
|
LANDING_ID_404 |
Identifier of the |
|
LANDING_ID_503 |
Identifier of the |
|
CREATED_BY_ID |
Identifier of the user who created the site |
|
MODIFIED_BY_ID |
Identifier of the user who last modified the site |
|
DATE_CREATE |
Date and time of site creation. In the REST response, it is returned as a string. The format depends on the portal's regional settings, for example |
|
DATE_MODIFY |
Date and time of the last modification of the site. In the REST response, it is returned as a string. The format depends on the portal's regional settings, for example |
Calculated Fields
These fields are not stored in the site table. The method landing.site.getList returns them when requested in select.
|
Field |
Description |
|
DOMAIN_NAME |
Domain name of the site |
|
PUBLIC_URL |
Full public URL of the site. It may be an empty string if the URL could not be determined |
|
PREVIEW_PICTURE |
URL of the preview of the main page of the site. It may be an empty string if the preview is unavailable |
|
PHONE |
Phone number of the CRM contact associated with the site |
Continue Your Learning
- Add site landing.site.add
- Update Site landing.site.update
- Get the List of Sites landing.site.getList
- Get Public URL of the Site landing.site.getPublicUrl
- Get URL Preview of the Site landing.site.getPreview
- Get Additional Fields of the Site landing.site.getadditionalfields
- Additional Website Fields