# Types.CreateSharePointSiteInput

Input describing a SharePoint site to provision from Apex.

> Kind: Apex type · Updated: 2026-07-01

One entry per SharePoint site to create. Passed to Client.createSharePointSite(), which returns a List<SharePointSite&gt; in input order.

## Fields

### Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | String | required | The display name of the site, reflecting its purpose (e.g., Marketing Team). |
| url | String | required | The web address for accessing the site, typically in the format https://<organization&gt;.sharepoint.com/sites/<site-name&gt;. |
| languageCode | Integer | optional | The language of the site as an ISO language code (e.g., 1033 for English, 1036 for French). If omitted, the organisation's default language is used. |
| description | String | optional | A brief summary explaining the site's purpose or content. |
| templateId | String | optional | Identifies the template used to create the site, determining its structure and features (e.g., STS#0 for a Team Site). |
| designId | String | optional | A unique identifier for the site's design, referring to a site design or customization for layout, branding, or functionality. |
| admins | List&lt;String&gt; | optional | Usernames or identifiers to grant administrative access to the site. |

## Constructors

```apex
global CreateSharePointSiteInput(String name, String url)
```

```apex
global CreateSharePointSiteInput(
  String name,
  String url,
  Integer languageCode,
  String description,
  String templateId,
  String designId
)
```

## Example

```apex
global class CreateSharePointSiteInput {
  public String name;
  public String url;
  public Integer languageCode;
  public String description;
  public String templateId;
  public String designId;

  global CreateSharePointSiteInput(String name, String url) {
    this.name = name;
    this.url = url;
  }
}
```
