For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Resources
Get started
ReferenceGuidesExamplesChangelog
ReferenceGuidesExamplesChangelog
  • Data API
    • Introduction
  • Token
    • GETGet Authorization User Info
    • GETGet Authorization Info
  • Sites
    • GETList Sites
    • GETGet Site
    • GETGet Custom Domains
    • POSTPublish Site
  • Pages and Components
  • CMS
  • Forms
  • Custom Code
  • Assets
  • Comments
    • GETList Comment Threads
    • GETGet Comment Thread
    • GETList Comment Replies
  • Ecommerce
  • Webhooks
    • GETList Webhooks
    • GETGet Webhook
    • POSTCreate Webhook
    • DELRemove Webhook
  • Site Configuration
  • Enterprise
LogoLogo
Resources
Get started
Sites

List Sites

GET
https://api.webflow.com/v2/sites
GET
/v2/sites
$curl https://api.webflow.com/v2/sites \
> -H "Authorization: Bearer <token>"
1{
2 "sites": [
3 {
4 "id": "42e63e98c9a982ac9b8b741",
5 "workspaceId": "42e63fc8c9a982ac9b8b744",
6 "createdOn": "1979-10-12T12:00:00.000Z",
7 "displayName": "Heart of Gold Spaceship",
8 "shortName": "heart-of-gold",
9 "lastPublished": "2023-04-02T12:42:00.000Z",
10 "previewUrl": "https://dev-assets.website-files.com/42e63e98c9a982ac9b8b741/197910121200.png",
11 "timeZone": "America/Los_Angeles",
12 "parentFolderId": "1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6",
13 "customDomains": [
14 {
15 "id": "589a331aa51e760df7ccb89e",
16 "url": "heartofgold.galaxy",
17 "lastPublished": "2022-12-07T16:51:37.571Z"
18 }
19 ],
20 "locales": {
21 "primary": {
22 "id": "653fd9af6a07fc9cfd7a5e57",
23 "cmsLocaleId": "653ad57de882f528b32e810e",
24 "enabled": true,
25 "displayName": "English - Heart of Gold Standard",
26 "redirect": false,
27 "subdirectory": "/en",
28 "tag": "The Ultimate Answer"
29 },
30 "secondary": [
31 {
32 "id": "653fd9af6a07fc9cfd7a5e58",
33 "cmsLocaleId": "653ad57de882f528b32e810g",
34 "enabled": true,
35 "displayName": "Betelgeusian - Vogon Liaison",
36 "redirect": true,
37 "subdirectory": "/bet",
38 "tag": "Vogon"
39 },
40 {
41 "id": "653fd9af6a07fc9cfd7a5e59",
42 "cmsLocaleId": "653ad57de882f528b32e810h",
43 "enabled": false,
44 "displayName": "Magrathean - Custom Planet Designs",
45 "redirect": true,
46 "subdirectory": "/mg",
47 "tag": "Magrathean"
48 }
49 ]
50 },
51 "dataCollectionEnabled": true,
52 "dataCollectionType": "always"
53 },
54 {
55 "id": "42e63e98c9a982ac9b8b742",
56 "workspaceId": "42e63fc8c9a982ac9b8b745",
57 "createdOn": "1981-10-12T12:00:00.000Z",
58 "displayName": "Marvin's Personal Blog",
59 "shortName": "paranoid-android",
60 "lastPublished": "2023-04-02T12:45:00.000Z",
61 "previewUrl": "https://dev-assets.website-files.com/42e63e98c9a982ac9b8b742/198110121200.png",
62 "timeZone": "America/Los_Angeles",
63 "parentFolderId": null,
64 "customDomains": [
65 {
66 "id": "589a331aa51e760df7ccb89f",
67 "url": "marvin.blog",
68 "lastPublished": "2022-12-07T16:51:37.571Z"
69 }
70 ],
71 "locales": {
72 "primary": {
73 "id": "653fd9af6a07fc9cfd7a5e57",
74 "cmsLocaleId": "653ad57de882f528b32e810e",
75 "enabled": true,
76 "displayName": "English - Marvin's Musings",
77 "redirect": false,
78 "subdirectory": "/en",
79 "tag": "English"
80 },
81 "secondary": [
82 {
83 "id": "653fd9af6a07fc9cfd7a5e56",
84 "cmsLocaleId": "653ad57de882f528b32e810f",
85 "enabled": true,
86 "displayName": "Squornshellous - Mattress Speak",
87 "redirect": true,
88 "subdirectory": "/sr",
89 "tag": "Squornshellous"
90 }
91 ]
92 },
93 "dataCollectionEnabled": true,
94 "dataCollectionType": "always"
95 },
96 {
97 "id": "42e63e98c9a982ac9b8b743",
98 "workspaceId": "42e63fc8c9a982ac9b8b746",
99 "createdOn": "1982-10-12T12:00:00.000Z",
100 "displayName": "Vogon Poetry Archive",
101 "shortName": "vogon-poetry",
102 "lastPublished": "2023-04-02T12:50:00.000Z",
103 "previewUrl": "https://dev-assets.website-files.com/42e63e98c9a982ac9b8b743/198210121200.png",
104 "timeZone": "America/Los_Angeles",
105 "parentFolderId": null,
106 "customDomains": [
107 {
108 "id": "589a331aa51e760df7ccb8a0",
109 "url": "vogonpoetry.galaxy",
110 "lastPublished": "2022-12-07T16:51:37.571Z"
111 }
112 ],
113 "locales": {
114 "primary": {
115 "id": "653fd9af6a07fc9cfd7a5e55",
116 "cmsLocaleId": "653ad57de882f528b32e810d",
117 "enabled": true,
118 "displayName": "English - Vogon Verse",
119 "redirect": false,
120 "subdirectory": "/en",
121 "tag": "Third Worst Poetry"
122 },
123 "secondary": [
124 {
125 "id": "653fd9af6a07fc9cfd7a5e54",
126 "cmsLocaleId": "653ad57de882f528b32e810c",
127 "enabled": true,
128 "displayName": "Galactic - Universal Language",
129 "redirect": true,
130 "subdirectory": "/gl",
131 "tag": "Pan-Galactic Gargle Blaster"
132 }
133 ]
134 },
135 "dataCollectionEnabled": true,
136 "dataCollectionType": "always"
137 }
138 ]
139}

List of all sites the provided access token is able to access.

Required scope | sites:read

Was this page helpful?
Previous

Get Site

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

Request was successful
siteslist of objects

Errors

4XX
Client Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
5XX
Server Error