A rebuilt version of Sites was launched on November 22, 2016. The Sites API cannot access or modify Sites made with this version, but can still access classic Sites.

Access and modify classic Google Sites content programmatically

Entire sites (classic Sites only)

Create new sites or copy existing sites
comment

Pages, comments & other content (classic Sites only)

Retrieve, create, modify, and delete pages, attachments, and other content.
cloud_upload

Upload and download (classic Sites only)

Upload and download attachments and files.
share

Sharing (classic Sites only)

Modify sharing permissions across a site
history

Revisions (classic Sites only)

Review the revision history across the site.
content_copy

Templates (classic Sites only)

Create page-level templates.

Send feedback about...

Google Sites API
Google Sites API