webflow-api 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/__package__.yml +20 -20
- package/.mock/definition/accessGroups.yml +12 -5
- package/.mock/definition/assets.yml +7 -4
- package/.mock/definition/collections/items.yml +14 -16
- package/.mock/definition/collections.yml +3 -0
- package/.mock/definition/comments.yml +1 -0
- package/.mock/definition/components.yml +16 -12
- package/.mock/definition/forms.yml +15 -88
- package/.mock/definition/items.yml +1 -0
- package/.mock/definition/orders.yml +82 -4
- package/.mock/definition/pages.yml +17 -8
- package/.mock/definition/products.yml +4 -4
- package/.mock/definition/scripts.yml +5 -1
- package/.mock/definition/sites/activityLogs.yml +8 -4
- package/.mock/definition/sites/comments.yml +14 -12
- package/.mock/definition/sites/forms.yml +316 -0
- package/.mock/definition/sites/scripts.yml +5 -4
- package/.mock/definition/sites.yml +24 -0
- package/.mock/definition/users.yml +66 -14
- package/.mock/definition/webhooks.yml +4 -0
- package/.mock/definition/workspaces/auditLogs.yml +4 -4
- package/.mock/fern.config.json +1 -1
- package/Client.js +2 -2
- package/LICENSE +21 -0
- package/api/resources/accessGroups/client/Client.d.ts +4 -2
- package/api/resources/accessGroups/client/Client.js +4 -2
- package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +2 -2
- package/api/resources/assets/client/Client.d.ts +2 -2
- package/api/resources/assets/client/Client.js +2 -2
- package/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/client/Client.d.ts +10 -12
- package/api/resources/collections/resources/items/client/Client.js +10 -12
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/api/resources/components/client/Client.d.ts +6 -6
- package/api/resources/components/client/Client.js +6 -6
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
- package/api/resources/forms/client/Client.d.ts +4 -31
- package/api/resources/forms/client/Client.js +4 -131
- package/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/api/resources/forms/client/requests/index.d.ts +0 -1
- package/api/resources/orders/client/Client.d.ts +2 -2
- package/api/resources/orders/client/Client.js +2 -2
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
- package/api/resources/pages/client/Client.d.ts +4 -4
- package/api/resources/pages/client/Client.js +4 -4
- package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
- package/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
- package/api/resources/products/client/Client.d.ts +2 -2
- package/api/resources/products/client/Client.js +2 -2
- package/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
- package/api/resources/sites/client/Client.d.ts +3 -0
- package/api/resources/sites/client/Client.js +5 -0
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +2 -2
- package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/Client.d.ts +6 -6
- package/api/resources/sites/resources/comments/client/Client.js +6 -6
- package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
- package/api/resources/sites/resources/forms/client/Client.d.ts +157 -0
- package/api/resources/sites/resources/forms/client/Client.js +662 -0
- package/api/resources/sites/resources/forms/client/index.d.ts +2 -0
- package/api/resources/sites/resources/forms/client/index.js +17 -0
- package/api/resources/{forms → sites/resources/forms}/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
- package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +20 -0
- package/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +11 -0
- package/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +5 -0
- package/api/resources/sites/resources/forms/client/requests/index.d.ts +3 -0
- package/api/resources/sites/resources/forms/client/requests/index.js +2 -0
- package/api/resources/sites/resources/forms/index.d.ts +1 -0
- package/api/resources/sites/resources/forms/index.js +17 -0
- package/api/resources/sites/resources/index.d.ts +2 -0
- package/api/resources/sites/resources/index.js +3 -1
- package/api/resources/sites/resources/scripts/client/Client.d.ts +2 -2
- package/api/resources/sites/resources/scripts/client/Client.js +2 -2
- package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
- package/api/resources/users/client/Client.d.ts +12 -2
- package/api/resources/users/client/Client.js +12 -2
- package/api/resources/users/client/requests/UsersListRequest.d.ts +2 -2
- package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +2 -2
- package/api/resources/workspaces/resources/auditLogs/client/Client.js +2 -2
- package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
- package/dist/Client.js +2 -2
- package/dist/api/resources/accessGroups/client/Client.d.ts +4 -2
- package/dist/api/resources/accessGroups/client/Client.js +4 -2
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +2 -2
- package/dist/api/resources/assets/client/Client.d.ts +2 -2
- package/dist/api/resources/assets/client/Client.js +2 -2
- package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +10 -12
- package/dist/api/resources/collections/resources/items/client/Client.js +10 -12
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/dist/api/resources/components/client/Client.d.ts +6 -6
- package/dist/api/resources/components/client/Client.js +6 -6
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
- package/dist/api/resources/forms/client/Client.d.ts +4 -31
- package/dist/api/resources/forms/client/Client.js +4 -131
- package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/dist/api/resources/forms/client/requests/index.d.ts +0 -1
- package/dist/api/resources/orders/client/Client.d.ts +2 -2
- package/dist/api/resources/orders/client/Client.js +2 -2
- package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
- package/dist/api/resources/pages/client/Client.d.ts +4 -4
- package/dist/api/resources/pages/client/Client.js +4 -4
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
- package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
- package/dist/api/resources/products/client/Client.d.ts +2 -2
- package/dist/api/resources/products/client/Client.js +2 -2
- package/dist/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
- package/dist/api/resources/sites/client/Client.d.ts +3 -0
- package/dist/api/resources/sites/client/Client.js +5 -0
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/Client.d.ts +6 -6
- package/dist/api/resources/sites/resources/comments/client/Client.js +6 -6
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/forms/client/Client.d.ts +157 -0
- package/dist/api/resources/sites/resources/forms/client/Client.js +662 -0
- package/dist/api/resources/sites/resources/forms/client/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/forms/client/index.js +17 -0
- package/dist/api/resources/{forms → sites/resources/forms}/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +5 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +20 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.js +5 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +11 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +5 -0
- package/dist/api/resources/sites/resources/forms/client/requests/index.d.ts +3 -0
- package/dist/api/resources/sites/resources/forms/client/requests/index.js +2 -0
- package/dist/api/resources/sites/resources/forms/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/forms/index.js +17 -0
- package/dist/api/resources/sites/resources/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/index.js +3 -1
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/resources/scripts/client/Client.js +2 -2
- package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
- package/dist/api/resources/users/client/Client.d.ts +12 -2
- package/dist/api/resources/users/client/Client.js +12 -2
- package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +2 -2
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +2 -2
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +2 -2
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
- package/dist/serialization/resources/sites/resources/forms/client/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/forms/client/index.js +17 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +12 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +43 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/index.js +5 -0
- package/dist/serialization/resources/sites/resources/forms/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/forms/index.js +17 -0
- package/dist/serialization/resources/sites/resources/index.d.ts +2 -0
- package/dist/serialization/resources/sites/resources/index.js +3 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/FormsClient.d.ts +37 -0
- package/dist/wrapper/FormsClient.js +193 -0
- package/dist/wrapper/ItemsClient.js +18 -14
- package/dist/wrapper/PagesClient.js +6 -5
- package/dist/wrapper/WebflowClient.d.ts +3 -0
- package/dist/wrapper/WebflowClient.js +6 -5
- package/jest.config.mjs +26 -5
- package/package.json +3 -2
- package/reference.md +458 -125
- package/serialization/resources/sites/resources/forms/client/index.d.ts +1 -0
- package/serialization/resources/sites/resources/forms/client/index.js +17 -0
- package/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +12 -0
- package/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +43 -0
- package/serialization/resources/sites/resources/forms/client/requests/index.d.ts +1 -0
- package/serialization/resources/sites/resources/forms/client/requests/index.js +5 -0
- package/serialization/resources/sites/resources/forms/index.d.ts +1 -0
- package/serialization/resources/sites/resources/forms/index.js +17 -0
- package/serialization/resources/sites/resources/index.d.ts +2 -0
- package/serialization/resources/sites/resources/index.js +3 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/FormsClient.d.ts +37 -0
- package/wrapper/FormsClient.js +193 -0
- package/wrapper/ItemsClient.js +18 -14
- package/wrapper/PagesClient.js +6 -5
- package/wrapper/WebflowClient.d.ts +3 -0
- package/wrapper/WebflowClient.js +6 -5
- /package/api/resources/{forms → sites/resources/forms}/client/requests/FormsListSubmissionsBySiteRequest.js +0 -0
- /package/{dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js → api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.js} +0 -0
package/reference.md
CHANGED
|
@@ -937,8 +937,8 @@ Required scope | `pages:read`
|
|
|
937
937
|
```typescript
|
|
938
938
|
await client.pages.list("580e63e98c9a982ac9b8b741", {
|
|
939
939
|
localeId: "65427cf400e02b306eaa04a0",
|
|
940
|
-
limit: 1
|
|
941
|
-
offset: 1
|
|
940
|
+
limit: 1,
|
|
941
|
+
offset: 1,
|
|
942
942
|
});
|
|
943
943
|
```
|
|
944
944
|
|
|
@@ -1179,8 +1179,8 @@ Required scope | `pages:read`
|
|
|
1179
1179
|
```typescript
|
|
1180
1180
|
await client.pages.getContent("63c720f9347c2139b248e552", {
|
|
1181
1181
|
localeId: "65427cf400e02b306eaa04a0",
|
|
1182
|
-
limit: 1
|
|
1183
|
-
offset: 1
|
|
1182
|
+
limit: 1,
|
|
1183
|
+
offset: 1,
|
|
1184
1184
|
});
|
|
1185
1185
|
```
|
|
1186
1186
|
|
|
@@ -1388,8 +1388,8 @@ Required scope | `components:read`
|
|
|
1388
1388
|
```typescript
|
|
1389
1389
|
await client.components.list("580e63e98c9a982ac9b8b741", {
|
|
1390
1390
|
branchId: "68026fa68ef6dc744c75b833",
|
|
1391
|
-
limit: 1
|
|
1392
|
-
offset: 1
|
|
1391
|
+
limit: 1,
|
|
1392
|
+
offset: 1,
|
|
1393
1393
|
});
|
|
1394
1394
|
```
|
|
1395
1395
|
|
|
@@ -1469,8 +1469,8 @@ Required scope | `components:read`
|
|
|
1469
1469
|
await client.components.getContent("580e63e98c9a982ac9b8b741", "8505ba55-ef72-629e-f85c-33e4b703d48b", {
|
|
1470
1470
|
localeId: "65427cf400e02b306eaa04a0",
|
|
1471
1471
|
branchId: "68026fa68ef6dc744c75b833",
|
|
1472
|
-
limit: 1
|
|
1473
|
-
offset: 1
|
|
1472
|
+
limit: 1,
|
|
1473
|
+
offset: 1,
|
|
1474
1474
|
});
|
|
1475
1475
|
```
|
|
1476
1476
|
|
|
@@ -1696,8 +1696,8 @@ Required scope | `components:read`
|
|
|
1696
1696
|
await client.components.getProperties("580e63e98c9a982ac9b8b741", "8505ba55-ef72-629e-f85c-33e4b703d48b", {
|
|
1697
1697
|
localeId: "65427cf400e02b306eaa04a0",
|
|
1698
1698
|
branchId: "68026fa68ef6dc744c75b833",
|
|
1699
|
-
limit: 1
|
|
1700
|
-
offset: 1
|
|
1699
|
+
limit: 1,
|
|
1700
|
+
offset: 1,
|
|
1701
1701
|
});
|
|
1702
1702
|
```
|
|
1703
1703
|
|
|
@@ -2117,8 +2117,8 @@ Required scope | `assets:read`
|
|
|
2117
2117
|
|
|
2118
2118
|
```typescript
|
|
2119
2119
|
await client.assets.list("580e63e98c9a982ac9b8b741", {
|
|
2120
|
-
offset: 1
|
|
2121
|
-
limit: 1
|
|
2120
|
+
offset: 1,
|
|
2121
|
+
limit: 1,
|
|
2122
2122
|
});
|
|
2123
2123
|
```
|
|
2124
2124
|
|
|
@@ -2966,8 +2966,8 @@ Required scope | `forms:read`
|
|
|
2966
2966
|
|
|
2967
2967
|
```typescript
|
|
2968
2968
|
await client.forms.list("580e63e98c9a982ac9b8b741", {
|
|
2969
|
-
limit: 1
|
|
2970
|
-
offset: 1
|
|
2969
|
+
limit: 1,
|
|
2970
|
+
offset: 1,
|
|
2971
2971
|
});
|
|
2972
2972
|
```
|
|
2973
2973
|
|
|
@@ -3113,8 +3113,8 @@ Required scope | `forms:read`
|
|
|
3113
3113
|
|
|
3114
3114
|
```typescript
|
|
3115
3115
|
await client.forms.listSubmissions("580e63e98c9a982ac9b8b741", {
|
|
3116
|
-
offset: 1
|
|
3117
|
-
limit: 1
|
|
3116
|
+
offset: 1,
|
|
3117
|
+
limit: 1,
|
|
3118
3118
|
});
|
|
3119
3119
|
```
|
|
3120
3120
|
|
|
@@ -3361,83 +3361,6 @@ await client.forms.updateSubmission("580e63e98c9a982ac9b8b741");
|
|
|
3361
3361
|
</dl>
|
|
3362
3362
|
</details>
|
|
3363
3363
|
|
|
3364
|
-
<details><summary><code>client.forms.<a href="/src/api/resources/forms/client/Client.ts">listSubmissionsBySite</a>(siteId, { ...params }) -> Webflow.FormSubmissionList</code></summary>
|
|
3365
|
-
<dl>
|
|
3366
|
-
<dd>
|
|
3367
|
-
|
|
3368
|
-
#### 📝 Description
|
|
3369
|
-
|
|
3370
|
-
<dl>
|
|
3371
|
-
<dd>
|
|
3372
|
-
|
|
3373
|
-
<dl>
|
|
3374
|
-
<dd>
|
|
3375
|
-
|
|
3376
|
-
List form submissions for a given site. This endpoint differs from the existing [List Form Submissions endpoint](/data/reference/forms/form-submissions/list-submissions) by accepting `siteId` as a path parameter and `elementId` as a query parameter. You can get the `elementId` from the [List forms endpoint](/data/reference/forms/forms/list).
|
|
3377
|
-
|
|
3378
|
-
Required scope | `forms:read`
|
|
3379
|
-
|
|
3380
|
-
</dd>
|
|
3381
|
-
</dl>
|
|
3382
|
-
</dd>
|
|
3383
|
-
</dl>
|
|
3384
|
-
|
|
3385
|
-
#### 🔌 Usage
|
|
3386
|
-
|
|
3387
|
-
<dl>
|
|
3388
|
-
<dd>
|
|
3389
|
-
|
|
3390
|
-
<dl>
|
|
3391
|
-
<dd>
|
|
3392
|
-
|
|
3393
|
-
```typescript
|
|
3394
|
-
await client.forms.listSubmissionsBySite("580e63e98c9a982ac9b8b741", {
|
|
3395
|
-
elementId: "18259716-3e5a-646a-5f41-5dc4b9405aa0",
|
|
3396
|
-
offset: 1.1,
|
|
3397
|
-
limit: 1.1,
|
|
3398
|
-
});
|
|
3399
|
-
```
|
|
3400
|
-
|
|
3401
|
-
</dd>
|
|
3402
|
-
</dl>
|
|
3403
|
-
</dd>
|
|
3404
|
-
</dl>
|
|
3405
|
-
|
|
3406
|
-
#### ⚙️ Parameters
|
|
3407
|
-
|
|
3408
|
-
<dl>
|
|
3409
|
-
<dd>
|
|
3410
|
-
|
|
3411
|
-
<dl>
|
|
3412
|
-
<dd>
|
|
3413
|
-
|
|
3414
|
-
**siteId:** `string` — Unique identifier for a Site
|
|
3415
|
-
|
|
3416
|
-
</dd>
|
|
3417
|
-
</dl>
|
|
3418
|
-
|
|
3419
|
-
<dl>
|
|
3420
|
-
<dd>
|
|
3421
|
-
|
|
3422
|
-
**request:** `Webflow.FormsListSubmissionsBySiteRequest`
|
|
3423
|
-
|
|
3424
|
-
</dd>
|
|
3425
|
-
</dl>
|
|
3426
|
-
|
|
3427
|
-
<dl>
|
|
3428
|
-
<dd>
|
|
3429
|
-
|
|
3430
|
-
**requestOptions:** `Forms.RequestOptions`
|
|
3431
|
-
|
|
3432
|
-
</dd>
|
|
3433
|
-
</dl>
|
|
3434
|
-
</dd>
|
|
3435
|
-
</dl>
|
|
3436
|
-
|
|
3437
|
-
</dd>
|
|
3438
|
-
</dl>
|
|
3439
|
-
</details>
|
|
3440
|
-
|
|
3441
3364
|
## Users
|
|
3442
3365
|
|
|
3443
3366
|
<details><summary><code>client.users.<a href="/src/api/resources/users/client/Client.ts">list</a>(siteId, { ...params }) -> Webflow.UserList</code></summary>
|
|
@@ -3452,6 +3375,8 @@ await client.forms.listSubmissionsBySite("580e63e98c9a982ac9b8b741", {
|
|
|
3452
3375
|
<dl>
|
|
3453
3376
|
<dd>
|
|
3454
3377
|
|
|
3378
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
3379
|
+
|
|
3455
3380
|
Get a list of users for a site
|
|
3456
3381
|
|
|
3457
3382
|
Required scope | `users:read`
|
|
@@ -3471,8 +3396,8 @@ Required scope | `users:read`
|
|
|
3471
3396
|
|
|
3472
3397
|
```typescript
|
|
3473
3398
|
await client.users.list("580e63e98c9a982ac9b8b741", {
|
|
3474
|
-
offset: 1
|
|
3475
|
-
limit: 1
|
|
3399
|
+
offset: 1,
|
|
3400
|
+
limit: 1,
|
|
3476
3401
|
sort: "CreatedOn",
|
|
3477
3402
|
});
|
|
3478
3403
|
```
|
|
@@ -3529,6 +3454,8 @@ await client.users.list("580e63e98c9a982ac9b8b741", {
|
|
|
3529
3454
|
<dl>
|
|
3530
3455
|
<dd>
|
|
3531
3456
|
|
|
3457
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
3458
|
+
|
|
3532
3459
|
Get a User by ID
|
|
3533
3460
|
|
|
3534
3461
|
Required scope | `users:read`
|
|
@@ -3602,6 +3529,8 @@ await client.users.get("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741");
|
|
|
3602
3529
|
<dl>
|
|
3603
3530
|
<dd>
|
|
3604
3531
|
|
|
3532
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
3533
|
+
|
|
3605
3534
|
Delete a User by ID
|
|
3606
3535
|
|
|
3607
3536
|
Required scope | `users:write`
|
|
@@ -3675,6 +3604,8 @@ await client.users.delete("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741"
|
|
|
3675
3604
|
<dl>
|
|
3676
3605
|
<dd>
|
|
3677
3606
|
|
|
3607
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
3608
|
+
|
|
3678
3609
|
Update a User by ID
|
|
3679
3610
|
|
|
3680
3611
|
Required scope | `users:write`
|
|
@@ -3773,6 +3704,8 @@ await client.users.update("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741"
|
|
|
3773
3704
|
<dl>
|
|
3774
3705
|
<dd>
|
|
3775
3706
|
|
|
3707
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
3708
|
+
|
|
3776
3709
|
Create and invite a user with an email address.
|
|
3777
3710
|
|
|
3778
3711
|
The user will be sent and invite via email, which they will need to accept in order to join paid any paid access group.
|
|
@@ -3853,6 +3786,8 @@ await client.users.invite("580e63e98c9a982ac9b8b741", {
|
|
|
3853
3786
|
<dl>
|
|
3854
3787
|
<dd>
|
|
3855
3788
|
|
|
3789
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
3790
|
+
|
|
3856
3791
|
Get a list of access groups for a site
|
|
3857
3792
|
|
|
3858
3793
|
Required scope | `users:read`
|
|
@@ -3872,8 +3807,8 @@ Required scope | `users:read`
|
|
|
3872
3807
|
|
|
3873
3808
|
```typescript
|
|
3874
3809
|
await client.accessGroups.list("580e63e98c9a982ac9b8b741", {
|
|
3875
|
-
offset: 1
|
|
3876
|
-
limit: 1
|
|
3810
|
+
offset: 1,
|
|
3811
|
+
limit: 1,
|
|
3877
3812
|
sort: "CreatedOn",
|
|
3878
3813
|
});
|
|
3879
3814
|
```
|
|
@@ -3954,8 +3889,8 @@ Required scope | `ecommerce:read`
|
|
|
3954
3889
|
|
|
3955
3890
|
```typescript
|
|
3956
3891
|
await client.products.list("580e63e98c9a982ac9b8b741", {
|
|
3957
|
-
offset: 1
|
|
3958
|
-
limit: 1
|
|
3892
|
+
offset: 1,
|
|
3893
|
+
limit: 1,
|
|
3959
3894
|
});
|
|
3960
3895
|
```
|
|
3961
3896
|
|
|
@@ -4547,8 +4482,8 @@ Required scope | `ecommerce:read`
|
|
|
4547
4482
|
```typescript
|
|
4548
4483
|
await client.orders.list("580e63e98c9a982ac9b8b741", {
|
|
4549
4484
|
status: "pending",
|
|
4550
|
-
offset: 1
|
|
4551
|
-
limit: 1
|
|
4485
|
+
offset: 1,
|
|
4486
|
+
limit: 1,
|
|
4552
4487
|
});
|
|
4553
4488
|
```
|
|
4554
4489
|
|
|
@@ -5493,8 +5428,8 @@ Required scope | `CMS:read`
|
|
|
5493
5428
|
```typescript
|
|
5494
5429
|
await client.collections.items.listItems("580e63fc8c9a982ac9b8b745", {
|
|
5495
5430
|
cmsLocaleId: "cmsLocaleId",
|
|
5496
|
-
offset: 1
|
|
5497
|
-
limit: 1
|
|
5431
|
+
offset: 1,
|
|
5432
|
+
limit: 1,
|
|
5498
5433
|
name: "name",
|
|
5499
5434
|
slug: "slug",
|
|
5500
5435
|
sortBy: "lastPublished",
|
|
@@ -5835,10 +5770,9 @@ await client.collections.items.updateItems("580e63fc8c9a982ac9b8b745", {
|
|
|
5835
5770
|
|
|
5836
5771
|
List all published items in a collection.
|
|
5837
5772
|
|
|
5838
|
-
<
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
</Note>
|
|
5773
|
+
<Tip title="Serve data with the Content Delivery API">
|
|
5774
|
+
Serving data to applications in real-time? Use the Content Delivery API at `api-cdn.webflow.com` for better performance. The CDN-backed endpoint is optimized for high-volume reads, while the Data API is designed for writes and management operations.
|
|
5775
|
+
</Tip>
|
|
5842
5776
|
|
|
5843
5777
|
Required scope | `CMS:read`
|
|
5844
5778
|
|
|
@@ -5858,8 +5792,8 @@ Required scope | `CMS:read`
|
|
|
5858
5792
|
```typescript
|
|
5859
5793
|
await client.collections.items.listItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
5860
5794
|
cmsLocaleId: "cmsLocaleId",
|
|
5861
|
-
offset: 1
|
|
5862
|
-
limit: 1
|
|
5795
|
+
offset: 1,
|
|
5796
|
+
limit: 1,
|
|
5863
5797
|
name: "name",
|
|
5864
5798
|
slug: "slug",
|
|
5865
5799
|
sortBy: "lastPublished",
|
|
@@ -6542,10 +6476,9 @@ await client.collections.items.updateItem("580e63fc8c9a982ac9b8b745", "580e64008
|
|
|
6542
6476
|
|
|
6543
6477
|
Get details of a selected Collection live Item.
|
|
6544
6478
|
|
|
6545
|
-
<
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
</Note>
|
|
6479
|
+
<Tip title="Serve data with the Content Delivery API">
|
|
6480
|
+
Serving data to applications in real-time? Use the Content Delivery API at `api-cdn.webflow.com` for better performance. The CDN-backed endpoint is optimized for high-volume reads, while the Data API is designed for writes and management operations.
|
|
6481
|
+
</Tip>
|
|
6549
6482
|
|
|
6550
6483
|
Required scope | `CMS:read`
|
|
6551
6484
|
|
|
@@ -8005,8 +7938,8 @@ Required scope: `site_activity:read`
|
|
|
8005
7938
|
|
|
8006
7939
|
```typescript
|
|
8007
7940
|
await client.sites.activityLogs.list("580e63e98c9a982ac9b8b741", {
|
|
8008
|
-
limit: 1
|
|
8009
|
-
offset: 1
|
|
7941
|
+
limit: 1,
|
|
7942
|
+
offset: 1,
|
|
8010
7943
|
});
|
|
8011
7944
|
```
|
|
8012
7945
|
|
|
@@ -8088,8 +8021,8 @@ Required scope | `comments:read`
|
|
|
8088
8021
|
```typescript
|
|
8089
8022
|
await client.sites.comments.listCommentThreads("580e63e98c9a982ac9b8b741", {
|
|
8090
8023
|
localeId: "65427cf400e02b306eaa04a0",
|
|
8091
|
-
offset: 1
|
|
8092
|
-
limit: 1
|
|
8024
|
+
offset: 1,
|
|
8025
|
+
limit: 1,
|
|
8093
8026
|
sortBy: "createdOn",
|
|
8094
8027
|
sortOrder: "asc",
|
|
8095
8028
|
});
|
|
@@ -8171,8 +8104,8 @@ Required scope | `comments:read`
|
|
|
8171
8104
|
```typescript
|
|
8172
8105
|
await client.sites.comments.getCommentThread("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
8173
8106
|
localeId: "65427cf400e02b306eaa04a0",
|
|
8174
|
-
offset: 1
|
|
8175
|
-
limit: 1
|
|
8107
|
+
offset: 1,
|
|
8108
|
+
limit: 1,
|
|
8176
8109
|
sortBy: "createdOn",
|
|
8177
8110
|
sortOrder: "asc",
|
|
8178
8111
|
});
|
|
@@ -8262,8 +8195,8 @@ Required scope | `comments:read`
|
|
|
8262
8195
|
```typescript
|
|
8263
8196
|
await client.sites.comments.listCommentReplies("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
8264
8197
|
localeId: "65427cf400e02b306eaa04a0",
|
|
8265
|
-
offset: 1
|
|
8266
|
-
limit: 1
|
|
8198
|
+
offset: 1,
|
|
8199
|
+
limit: 1,
|
|
8267
8200
|
sortBy: "createdOn",
|
|
8268
8201
|
sortOrder: "asc",
|
|
8269
8202
|
});
|
|
@@ -8587,8 +8520,8 @@ Required scope | `custom_code:read`
|
|
|
8587
8520
|
|
|
8588
8521
|
```typescript
|
|
8589
8522
|
await client.sites.scripts.listCustomCodeBlocks("580e63e98c9a982ac9b8b741", {
|
|
8590
|
-
offset: 1
|
|
8591
|
-
limit: 1
|
|
8523
|
+
offset: 1,
|
|
8524
|
+
limit: 1,
|
|
8592
8525
|
});
|
|
8593
8526
|
```
|
|
8594
8527
|
|
|
@@ -8632,6 +8565,406 @@ await client.sites.scripts.listCustomCodeBlocks("580e63e98c9a982ac9b8b741", {
|
|
|
8632
8565
|
</dl>
|
|
8633
8566
|
</details>
|
|
8634
8567
|
|
|
8568
|
+
## Sites Forms
|
|
8569
|
+
|
|
8570
|
+
<details><summary><code>client.sites.forms.<a href="/src/api/resources/sites/resources/forms/client/Client.ts">listSubmissionsBySite</a>(siteId, { ...params }) -> Webflow.FormSubmissionList</code></summary>
|
|
8571
|
+
<dl>
|
|
8572
|
+
<dd>
|
|
8573
|
+
|
|
8574
|
+
#### 📝 Description
|
|
8575
|
+
|
|
8576
|
+
<dl>
|
|
8577
|
+
<dd>
|
|
8578
|
+
|
|
8579
|
+
<dl>
|
|
8580
|
+
<dd>
|
|
8581
|
+
|
|
8582
|
+
List all form submissions for a given site with the ability to filter submissions by a centralized `elementId`.
|
|
8583
|
+
|
|
8584
|
+
Add `elementId` when you want to filter form submissions to a specific form in a site. You can get the `elementId` from the [List forms endpoint](/data/reference/forms/forms/list) (displayed as `formElementId` in the response).
|
|
8585
|
+
|
|
8586
|
+
<Note title="Forms in components">
|
|
8587
|
+
When a form is used in a Webflow component definition, each instance of the component will yield a unique form. Adding the `elementId` in this request ensures this API response includes all submissions from that core form, wherever that form is used in instantiated components.
|
|
8588
|
+
</Note>
|
|
8589
|
+
|
|
8590
|
+
Use the [List Form Submissions endpoint](/data/reference/forms/form-submissions/list-submissions) to list form submissions for a given form ID.
|
|
8591
|
+
|
|
8592
|
+
Required scope | `forms:read`
|
|
8593
|
+
|
|
8594
|
+
</dd>
|
|
8595
|
+
</dl>
|
|
8596
|
+
</dd>
|
|
8597
|
+
</dl>
|
|
8598
|
+
|
|
8599
|
+
#### 🔌 Usage
|
|
8600
|
+
|
|
8601
|
+
<dl>
|
|
8602
|
+
<dd>
|
|
8603
|
+
|
|
8604
|
+
<dl>
|
|
8605
|
+
<dd>
|
|
8606
|
+
|
|
8607
|
+
```typescript
|
|
8608
|
+
await client.sites.forms.listSubmissionsBySite("580e63e98c9a982ac9b8b741", {
|
|
8609
|
+
elementId: "18259716-3e5a-646a-5f41-5dc4b9405aa0",
|
|
8610
|
+
offset: 1,
|
|
8611
|
+
limit: 1,
|
|
8612
|
+
});
|
|
8613
|
+
```
|
|
8614
|
+
|
|
8615
|
+
</dd>
|
|
8616
|
+
</dl>
|
|
8617
|
+
</dd>
|
|
8618
|
+
</dl>
|
|
8619
|
+
|
|
8620
|
+
#### ⚙️ Parameters
|
|
8621
|
+
|
|
8622
|
+
<dl>
|
|
8623
|
+
<dd>
|
|
8624
|
+
|
|
8625
|
+
<dl>
|
|
8626
|
+
<dd>
|
|
8627
|
+
|
|
8628
|
+
**siteId:** `string` — Unique identifier for a Site
|
|
8629
|
+
|
|
8630
|
+
</dd>
|
|
8631
|
+
</dl>
|
|
8632
|
+
|
|
8633
|
+
<dl>
|
|
8634
|
+
<dd>
|
|
8635
|
+
|
|
8636
|
+
**request:** `Webflow.sites.FormsListSubmissionsBySiteRequest`
|
|
8637
|
+
|
|
8638
|
+
</dd>
|
|
8639
|
+
</dl>
|
|
8640
|
+
|
|
8641
|
+
<dl>
|
|
8642
|
+
<dd>
|
|
8643
|
+
|
|
8644
|
+
**requestOptions:** `Forms.RequestOptions`
|
|
8645
|
+
|
|
8646
|
+
</dd>
|
|
8647
|
+
</dl>
|
|
8648
|
+
</dd>
|
|
8649
|
+
</dl>
|
|
8650
|
+
|
|
8651
|
+
</dd>
|
|
8652
|
+
</dl>
|
|
8653
|
+
</details>
|
|
8654
|
+
|
|
8655
|
+
<details><summary><code>client.sites.forms.<a href="/src/api/resources/sites/resources/forms/client/Client.ts">listSubmissions</a>(siteId, formId, { ...params }) -> Webflow.FormSubmissionList</code></summary>
|
|
8656
|
+
<dl>
|
|
8657
|
+
<dd>
|
|
8658
|
+
|
|
8659
|
+
#### 📝 Description
|
|
8660
|
+
|
|
8661
|
+
<dl>
|
|
8662
|
+
<dd>
|
|
8663
|
+
|
|
8664
|
+
<dl>
|
|
8665
|
+
<dd>
|
|
8666
|
+
|
|
8667
|
+
List form submissions for a given form ID within a specific site.
|
|
8668
|
+
|
|
8669
|
+
Use the [List Form Submissions by Site endpoint](/data/reference/forms/form-submissions/list-submissions-by-site) to list form submissions for a given site with the ability to filter by a `formElementId`.
|
|
8670
|
+
|
|
8671
|
+
Required scope | `forms:read`
|
|
8672
|
+
|
|
8673
|
+
</dd>
|
|
8674
|
+
</dl>
|
|
8675
|
+
</dd>
|
|
8676
|
+
</dl>
|
|
8677
|
+
|
|
8678
|
+
#### 🔌 Usage
|
|
8679
|
+
|
|
8680
|
+
<dl>
|
|
8681
|
+
<dd>
|
|
8682
|
+
|
|
8683
|
+
<dl>
|
|
8684
|
+
<dd>
|
|
8685
|
+
|
|
8686
|
+
```typescript
|
|
8687
|
+
await client.sites.forms.listSubmissions("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
8688
|
+
offset: 1,
|
|
8689
|
+
limit: 1,
|
|
8690
|
+
});
|
|
8691
|
+
```
|
|
8692
|
+
|
|
8693
|
+
</dd>
|
|
8694
|
+
</dl>
|
|
8695
|
+
</dd>
|
|
8696
|
+
</dl>
|
|
8697
|
+
|
|
8698
|
+
#### ⚙️ Parameters
|
|
8699
|
+
|
|
8700
|
+
<dl>
|
|
8701
|
+
<dd>
|
|
8702
|
+
|
|
8703
|
+
<dl>
|
|
8704
|
+
<dd>
|
|
8705
|
+
|
|
8706
|
+
**siteId:** `string` — Unique identifier for a Site
|
|
8707
|
+
|
|
8708
|
+
</dd>
|
|
8709
|
+
</dl>
|
|
8710
|
+
|
|
8711
|
+
<dl>
|
|
8712
|
+
<dd>
|
|
8713
|
+
|
|
8714
|
+
**formId:** `string` — Unique identifier for a Form
|
|
8715
|
+
|
|
8716
|
+
</dd>
|
|
8717
|
+
</dl>
|
|
8718
|
+
|
|
8719
|
+
<dl>
|
|
8720
|
+
<dd>
|
|
8721
|
+
|
|
8722
|
+
**request:** `Webflow.sites.FormsListSubmissionsRequest`
|
|
8723
|
+
|
|
8724
|
+
</dd>
|
|
8725
|
+
</dl>
|
|
8726
|
+
|
|
8727
|
+
<dl>
|
|
8728
|
+
<dd>
|
|
8729
|
+
|
|
8730
|
+
**requestOptions:** `Forms.RequestOptions`
|
|
8731
|
+
|
|
8732
|
+
</dd>
|
|
8733
|
+
</dl>
|
|
8734
|
+
</dd>
|
|
8735
|
+
</dl>
|
|
8736
|
+
|
|
8737
|
+
</dd>
|
|
8738
|
+
</dl>
|
|
8739
|
+
</details>
|
|
8740
|
+
|
|
8741
|
+
<details><summary><code>client.sites.forms.<a href="/src/api/resources/sites/resources/forms/client/Client.ts">getSubmission</a>(siteId, formSubmissionId) -> Webflow.FormSubmission</code></summary>
|
|
8742
|
+
<dl>
|
|
8743
|
+
<dd>
|
|
8744
|
+
|
|
8745
|
+
#### 📝 Description
|
|
8746
|
+
|
|
8747
|
+
<dl>
|
|
8748
|
+
<dd>
|
|
8749
|
+
|
|
8750
|
+
<dl>
|
|
8751
|
+
<dd>
|
|
8752
|
+
|
|
8753
|
+
Get information about a form submission within a specific site.
|
|
8754
|
+
|
|
8755
|
+
Required scope | `forms:read`
|
|
8756
|
+
|
|
8757
|
+
</dd>
|
|
8758
|
+
</dl>
|
|
8759
|
+
</dd>
|
|
8760
|
+
</dl>
|
|
8761
|
+
|
|
8762
|
+
#### 🔌 Usage
|
|
8763
|
+
|
|
8764
|
+
<dl>
|
|
8765
|
+
<dd>
|
|
8766
|
+
|
|
8767
|
+
<dl>
|
|
8768
|
+
<dd>
|
|
8769
|
+
|
|
8770
|
+
```typescript
|
|
8771
|
+
await client.sites.forms.getSubmission("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741");
|
|
8772
|
+
```
|
|
8773
|
+
|
|
8774
|
+
</dd>
|
|
8775
|
+
</dl>
|
|
8776
|
+
</dd>
|
|
8777
|
+
</dl>
|
|
8778
|
+
|
|
8779
|
+
#### ⚙️ Parameters
|
|
8780
|
+
|
|
8781
|
+
<dl>
|
|
8782
|
+
<dd>
|
|
8783
|
+
|
|
8784
|
+
<dl>
|
|
8785
|
+
<dd>
|
|
8786
|
+
|
|
8787
|
+
**siteId:** `string` — Unique identifier for a Site
|
|
8788
|
+
|
|
8789
|
+
</dd>
|
|
8790
|
+
</dl>
|
|
8791
|
+
|
|
8792
|
+
<dl>
|
|
8793
|
+
<dd>
|
|
8794
|
+
|
|
8795
|
+
**formSubmissionId:** `string` — Unique identifier for a Form Submission
|
|
8796
|
+
|
|
8797
|
+
</dd>
|
|
8798
|
+
</dl>
|
|
8799
|
+
|
|
8800
|
+
<dl>
|
|
8801
|
+
<dd>
|
|
8802
|
+
|
|
8803
|
+
**requestOptions:** `Forms.RequestOptions`
|
|
8804
|
+
|
|
8805
|
+
</dd>
|
|
8806
|
+
</dl>
|
|
8807
|
+
</dd>
|
|
8808
|
+
</dl>
|
|
8809
|
+
|
|
8810
|
+
</dd>
|
|
8811
|
+
</dl>
|
|
8812
|
+
</details>
|
|
8813
|
+
|
|
8814
|
+
<details><summary><code>client.sites.forms.<a href="/src/api/resources/sites/resources/forms/client/Client.ts">deleteSubmission</a>(siteId, formSubmissionId) -> void</code></summary>
|
|
8815
|
+
<dl>
|
|
8816
|
+
<dd>
|
|
8817
|
+
|
|
8818
|
+
#### 📝 Description
|
|
8819
|
+
|
|
8820
|
+
<dl>
|
|
8821
|
+
<dd>
|
|
8822
|
+
|
|
8823
|
+
<dl>
|
|
8824
|
+
<dd>
|
|
8825
|
+
|
|
8826
|
+
Delete a form submission within a specific site.
|
|
8827
|
+
|
|
8828
|
+
Required scope | `forms:write`
|
|
8829
|
+
|
|
8830
|
+
</dd>
|
|
8831
|
+
</dl>
|
|
8832
|
+
</dd>
|
|
8833
|
+
</dl>
|
|
8834
|
+
|
|
8835
|
+
#### 🔌 Usage
|
|
8836
|
+
|
|
8837
|
+
<dl>
|
|
8838
|
+
<dd>
|
|
8839
|
+
|
|
8840
|
+
<dl>
|
|
8841
|
+
<dd>
|
|
8842
|
+
|
|
8843
|
+
```typescript
|
|
8844
|
+
await client.sites.forms.deleteSubmission("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741");
|
|
8845
|
+
```
|
|
8846
|
+
|
|
8847
|
+
</dd>
|
|
8848
|
+
</dl>
|
|
8849
|
+
</dd>
|
|
8850
|
+
</dl>
|
|
8851
|
+
|
|
8852
|
+
#### ⚙️ Parameters
|
|
8853
|
+
|
|
8854
|
+
<dl>
|
|
8855
|
+
<dd>
|
|
8856
|
+
|
|
8857
|
+
<dl>
|
|
8858
|
+
<dd>
|
|
8859
|
+
|
|
8860
|
+
**siteId:** `string` — Unique identifier for a Site
|
|
8861
|
+
|
|
8862
|
+
</dd>
|
|
8863
|
+
</dl>
|
|
8864
|
+
|
|
8865
|
+
<dl>
|
|
8866
|
+
<dd>
|
|
8867
|
+
|
|
8868
|
+
**formSubmissionId:** `string` — Unique identifier for a Form Submission
|
|
8869
|
+
|
|
8870
|
+
</dd>
|
|
8871
|
+
</dl>
|
|
8872
|
+
|
|
8873
|
+
<dl>
|
|
8874
|
+
<dd>
|
|
8875
|
+
|
|
8876
|
+
**requestOptions:** `Forms.RequestOptions`
|
|
8877
|
+
|
|
8878
|
+
</dd>
|
|
8879
|
+
</dl>
|
|
8880
|
+
</dd>
|
|
8881
|
+
</dl>
|
|
8882
|
+
|
|
8883
|
+
</dd>
|
|
8884
|
+
</dl>
|
|
8885
|
+
</details>
|
|
8886
|
+
|
|
8887
|
+
<details><summary><code>client.sites.forms.<a href="/src/api/resources/sites/resources/forms/client/Client.ts">updateSubmission</a>(siteId, formSubmissionId, { ...params }) -> Webflow.FormSubmission</code></summary>
|
|
8888
|
+
<dl>
|
|
8889
|
+
<dd>
|
|
8890
|
+
|
|
8891
|
+
#### 📝 Description
|
|
8892
|
+
|
|
8893
|
+
<dl>
|
|
8894
|
+
<dd>
|
|
8895
|
+
|
|
8896
|
+
<dl>
|
|
8897
|
+
<dd>
|
|
8898
|
+
|
|
8899
|
+
Update hidden fields on a form submission within a specific site.
|
|
8900
|
+
|
|
8901
|
+
Required scope | `forms:write`
|
|
8902
|
+
|
|
8903
|
+
</dd>
|
|
8904
|
+
</dl>
|
|
8905
|
+
</dd>
|
|
8906
|
+
</dl>
|
|
8907
|
+
|
|
8908
|
+
#### 🔌 Usage
|
|
8909
|
+
|
|
8910
|
+
<dl>
|
|
8911
|
+
<dd>
|
|
8912
|
+
|
|
8913
|
+
<dl>
|
|
8914
|
+
<dd>
|
|
8915
|
+
|
|
8916
|
+
```typescript
|
|
8917
|
+
await client.sites.forms.updateSubmission("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741");
|
|
8918
|
+
```
|
|
8919
|
+
|
|
8920
|
+
</dd>
|
|
8921
|
+
</dl>
|
|
8922
|
+
</dd>
|
|
8923
|
+
</dl>
|
|
8924
|
+
|
|
8925
|
+
#### ⚙️ Parameters
|
|
8926
|
+
|
|
8927
|
+
<dl>
|
|
8928
|
+
<dd>
|
|
8929
|
+
|
|
8930
|
+
<dl>
|
|
8931
|
+
<dd>
|
|
8932
|
+
|
|
8933
|
+
**siteId:** `string` — Unique identifier for a Site
|
|
8934
|
+
|
|
8935
|
+
</dd>
|
|
8936
|
+
</dl>
|
|
8937
|
+
|
|
8938
|
+
<dl>
|
|
8939
|
+
<dd>
|
|
8940
|
+
|
|
8941
|
+
**formSubmissionId:** `string` — Unique identifier for a Form Submission
|
|
8942
|
+
|
|
8943
|
+
</dd>
|
|
8944
|
+
</dl>
|
|
8945
|
+
|
|
8946
|
+
<dl>
|
|
8947
|
+
<dd>
|
|
8948
|
+
|
|
8949
|
+
**request:** `Webflow.sites.FormsUpdateSubmissionRequest`
|
|
8950
|
+
|
|
8951
|
+
</dd>
|
|
8952
|
+
</dl>
|
|
8953
|
+
|
|
8954
|
+
<dl>
|
|
8955
|
+
<dd>
|
|
8956
|
+
|
|
8957
|
+
**requestOptions:** `Forms.RequestOptions`
|
|
8958
|
+
|
|
8959
|
+
</dd>
|
|
8960
|
+
</dl>
|
|
8961
|
+
</dd>
|
|
8962
|
+
</dl>
|
|
8963
|
+
|
|
8964
|
+
</dd>
|
|
8965
|
+
</dl>
|
|
8966
|
+
</details>
|
|
8967
|
+
|
|
8635
8968
|
## Workspaces AuditLogs
|
|
8636
8969
|
|
|
8637
8970
|
<details><summary><code>client.workspaces.auditLogs.<a href="/src/api/resources/workspaces/resources/auditLogs/client/Client.ts">getWorkspaceAuditLogs</a>(workspaceIdOrSlug, { ...params }) -> Webflow.WorkspaceAuditLogResponse</code></summary>
|
|
@@ -8667,8 +9000,8 @@ Required scope | `workspace_activity:read`
|
|
|
8667
9000
|
|
|
8668
9001
|
```typescript
|
|
8669
9002
|
await client.workspaces.auditLogs.getWorkspaceAuditLogs("hitchhikers-workspace", {
|
|
8670
|
-
limit: 1
|
|
8671
|
-
offset: 1
|
|
9003
|
+
limit: 1,
|
|
9004
|
+
offset: 1,
|
|
8672
9005
|
sortOrder: "asc",
|
|
8673
9006
|
eventType: "user_access",
|
|
8674
9007
|
from: new Date("2025-06-22T16:00:31.000Z"),
|