# SharePointSite

Output type describing a SharePoint site created from Apex.

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

Represents the SharePoint site returned by Client.createSharePointSite(). It carries the identifiers and URL of the newly provisioned site along with its primary document library drive.

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | String | optional | The SharePoint site id. |
| url | String | optional | The SharePoint site URL. |
| name | String | optional | The SharePoint site name. |
| driveId | String | optional | The id of the site's primary drive (document library). |
