> This page is for Data API, version v2 (default).
> For other versions, use one of these documentation indexes:
> - v2 (default): https://developers.webflow.com/data/v2.0.0/llms.txt
> - v2 Beta: https://developers.webflow.com/data/v2.0.0-beta/llms.txt
> - v1: https://developers.webflow.com/data/v1.0.0/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.webflow.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server.

# Create Items

POST https://api.webflow.com/v2/collections/{collection_id}/items/insert
Content-Type: application/json

Create one or more staged items in a CMS Collection.

Send an `items` array with `fieldData` for each item. By default, new items are created in the primary locale. To choose other locales or add variants to an existing item, expand the options below.

* **Publishing:** Set `isDraft: false` to queue an item for the next site publish. Items are created as drafts (`isDraft: true`) by default. To publish individual items, use [Publish Collection Item(s)](/data/reference/cms/collection-items/staged-items/publish-item).
* **Request limit:** Up to 100 items, counting every locale variant across all entries. One item in three locales counts as three; an item in the primary locale only counts as one.

Required scope | `cms:write`

Each new item gets one ID. Its locale variants share that ID and the same `fieldData`.

* **Selected locales:** Set `cmsLocaleIds` to the locale IDs you want to create the item in.
* **All site locales:** Set `allCmsLocales: true` to include every current site locale, including the primary locale, without listing IDs.
* **Primary locale only:** Omit both `cmsLocaleIds` and `allCmsLocales`.

Use only one locale selector per entry. `allCmsLocales` is available only for new items and accepts only `true`; omit it instead of sending `false`.

Set `id` to an existing item's ID and provide the new locales in `cmsLocaleIds`. The variants reuse that ID. The item must exist and must not already have a variant in any requested locale.

Send the source content in `fieldData` as a starting point for translators. To provide different content per locale, send multiple entries with the same `id`, each with one locale in `cmsLocaleIds` and its own `fieldData`.

These requests return a `400`:

* Combining `allCmsLocales` with `cmsLocaleIds` (even an empty array) or `id`.
* Setting `allCmsLocales` to `false`, a string, or `null`.
* Sending unrecognized properties, including singular `cmsLocaleId`. Use `cmsLocaleIds` (plural).
* Repeating a locale within one entry, or the same `id`/locale pair across entries.

Check the response's `message` and `details` for validation errors. Some errors identify an entry, such as `items[2].cmsLocaleIds`. Invalid locale selector combinations return a message with an empty `details` array.

Moving from `POST /items` or `POST /items/bulk`? See [Creating collection items](/data/docs/working-with-the-cms/create-items) for request mappings.

Rich Text fields can include Webflow components. See [Components in Rich Text](/data/docs/working-with-the-cms/components-in-rich-text) for markup and constraints.

Reference: https://developers.webflow.com/data/reference/cms/collection-items/staged-items/create-items

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `collection_id` (string, required) — Unique identifier for a Collection

### Query parameters

- `skipInvalidFiles` (boolean, optional, default: true) — When true, invalid files are skipped and processing continues. When false, the entire request fails if any file is invalid.

### Body (application/json)

This endpoint expects an object.

- `items` (list of CollectionsCollectionIdItemsInsertPostRequestBodyContentApplicationJsonSchemaItemsItems, required) — The items to create. A request can create up to 100 items, counted as the sum of the locales across every entry. An `allCmsLocales: true` entry counts once per current site locale; a new-item entry with neither locale selector counts as one.

## Response

### 202

Request was successful

- `items` (list of CollectionsCollectionIdItemsInsertPostResponsesContentApplicationJsonSchemaItemsItems, required) — The created items. Locale variants of the same item share an `id` and differ by `cmsLocaleId`.

## Errors

### 400 Bad Request Error

Request body was incorrectly formatted.

- `code` (enum, optional) — Error code
  - Allowed values: `aeo_input_validation`, `analyze_filter_conflict`, `analyze_input_validation`, `analyze_unsupported_filter`, `bad_request`, `batch_too_large`, `before_historical_floor`, `billing_provider_unavailable`, `branch_merge_conflict`, `branch_merge_in_progress`, `branch_not_found`, `branch_publish_failed`, `branch_sync_pending`, `branch_task_not_found`, `branch_update_in_progress`, `brand_not_configured`, `cannot_invite_self`, `cannot_remove_self`, `cannot_update_user_role`, `client_seats_unavailable`, `collection_not_found`, `competitors_not_configured`, `conflict`, `conflicting_scope_filters`, `default_site_role_required`, `duplicate_collection`, `duplicate_member_in_request`, `duplicate_site_in_request`, `duplicate_user_email`, `ecommerce_not_enabled`, `end_time_too_recent`, `enterprise_provisioning_cloud_app_not_supported`, `enterprise_provisioning_upstream_error`, `enterprise_self_provisioning_not_entitled`, `forbidden`, `forms_require_republish`, `incompatible_webhook_filter`, `insufficient_permissions`, `insufficient_seats`, `internal_error`, `invalid_auth_version`, `invalid_credentials`, `invalid_domain`, `invalid_resolution`, `invalid_site_role`, `invalid_time_range`, `invalid_user_email`, `invalid_workspace_role`, `invite_expired`, `invite_role_conflict`, `item_not_found`, `managed_by_scim`, `member_already_has_access`, `member_has_no_site_access`, `member_is_paying_client`, `member_not_found`, `member_not_removable`, `member_role_conflict`, `missing_scopes`, `no_domains`, `no_members_or_invites`, `not_authorized`, `not_enterprise_plan_site`, `not_enterprise_plan_workspace`, `optimize_before_historical_floor`, `optimize_input_validation`, `optimize_invalid_interval`, `optimize_unknown_dimension`, `optimize_unknown_goal`, `optimize_unknown_optimization`, `optimize_unsupported_group_by`, `order_not_found`, `page_cannot_branch`, `resource_not_found`, `service_unavailable`, `site_access_not_applicable_to_member`, `site_access_not_scopable_for_role`, `site_access_roles_must_match`, `site_not_in_workspace`, `site_role_id_invalid`, `site_role_id_not_allowed`, `site_role_id_required`, `site_specific_access_disabled`, `site_specific_access_not_entitled`, `time_range_too_wide`, `too_many_requests`, `unsupported_bot_provider`, `unsupported_version`, `unsupported_webhook_trigger_type`, `user_limit_reached`, `user_not_found`, `users_not_enabled`, `validation_error`, `workspace_invite_not_found`, `workspace_member_managed_by_scim`, `workspace_member_not_found`, `workspace_member_not_removable`, `workspace_role_not_grantable`
- `message` (string, optional) — Error message
- `externalReference` (string, optional) — Link to more information
- `details` (list of CollectionsCollectionIdItemsInsertPostResponsesContentApplicationJsonSchemaDetailsItems, optional) — Array of errors

### 401 Unauthorized Error

Provided access token is invalid or does not have access to requested resource

- `code` (enum, optional) — Error code
  - Allowed values: `aeo_input_validation`, `analyze_filter_conflict`, `analyze_input_validation`, `analyze_unsupported_filter`, `bad_request`, `batch_too_large`, `before_historical_floor`, `billing_provider_unavailable`, `branch_merge_conflict`, `branch_merge_in_progress`, `branch_not_found`, `branch_publish_failed`, `branch_sync_pending`, `branch_task_not_found`, `branch_update_in_progress`, `brand_not_configured`, `cannot_invite_self`, `cannot_remove_self`, `cannot_update_user_role`, `client_seats_unavailable`, `collection_not_found`, `competitors_not_configured`, `conflict`, `conflicting_scope_filters`, `default_site_role_required`, `duplicate_collection`, `duplicate_member_in_request`, `duplicate_site_in_request`, `duplicate_user_email`, `ecommerce_not_enabled`, `end_time_too_recent`, `enterprise_provisioning_cloud_app_not_supported`, `enterprise_provisioning_upstream_error`, `enterprise_self_provisioning_not_entitled`, `forbidden`, `forms_require_republish`, `incompatible_webhook_filter`, `insufficient_permissions`, `insufficient_seats`, `internal_error`, `invalid_auth_version`, `invalid_credentials`, `invalid_domain`, `invalid_resolution`, `invalid_site_role`, `invalid_time_range`, `invalid_user_email`, `invalid_workspace_role`, `invite_expired`, `invite_role_conflict`, `item_not_found`, `managed_by_scim`, `member_already_has_access`, `member_has_no_site_access`, `member_is_paying_client`, `member_not_found`, `member_not_removable`, `member_role_conflict`, `missing_scopes`, `no_domains`, `no_members_or_invites`, `not_authorized`, `not_enterprise_plan_site`, `not_enterprise_plan_workspace`, `optimize_before_historical_floor`, `optimize_input_validation`, `optimize_invalid_interval`, `optimize_unknown_dimension`, `optimize_unknown_goal`, `optimize_unknown_optimization`, `optimize_unsupported_group_by`, `order_not_found`, `page_cannot_branch`, `resource_not_found`, `service_unavailable`, `site_access_not_applicable_to_member`, `site_access_not_scopable_for_role`, `site_access_roles_must_match`, `site_not_in_workspace`, `site_role_id_invalid`, `site_role_id_not_allowed`, `site_role_id_required`, `site_specific_access_disabled`, `site_specific_access_not_entitled`, `time_range_too_wide`, `too_many_requests`, `unsupported_bot_provider`, `unsupported_version`, `unsupported_webhook_trigger_type`, `user_limit_reached`, `user_not_found`, `users_not_enabled`, `validation_error`, `workspace_invite_not_found`, `workspace_member_managed_by_scim`, `workspace_member_not_found`, `workspace_member_not_removable`, `workspace_role_not_grantable`
- `message` (string, optional) — Error message
- `externalReference` (string, optional) — Link to more information
- `details` (list of CollectionsCollectionIdItemsInsertPostResponsesContentApplicationJsonSchemaDetailsItems, optional) — Array of errors

### 404 Not Found Error

An entry names an item that does not exist

- `code` (enum, optional) — Error code
  - Allowed values: `aeo_input_validation`, `analyze_filter_conflict`, `analyze_input_validation`, `analyze_unsupported_filter`, `bad_request`, `batch_too_large`, `before_historical_floor`, `billing_provider_unavailable`, `branch_merge_conflict`, `branch_merge_in_progress`, `branch_not_found`, `branch_publish_failed`, `branch_sync_pending`, `branch_task_not_found`, `branch_update_in_progress`, `brand_not_configured`, `cannot_invite_self`, `cannot_remove_self`, `cannot_update_user_role`, `client_seats_unavailable`, `collection_not_found`, `competitors_not_configured`, `conflict`, `conflicting_scope_filters`, `default_site_role_required`, `duplicate_collection`, `duplicate_member_in_request`, `duplicate_site_in_request`, `duplicate_user_email`, `ecommerce_not_enabled`, `end_time_too_recent`, `enterprise_provisioning_cloud_app_not_supported`, `enterprise_provisioning_upstream_error`, `enterprise_self_provisioning_not_entitled`, `forbidden`, `forms_require_republish`, `incompatible_webhook_filter`, `insufficient_permissions`, `insufficient_seats`, `internal_error`, `invalid_auth_version`, `invalid_credentials`, `invalid_domain`, `invalid_resolution`, `invalid_site_role`, `invalid_time_range`, `invalid_user_email`, `invalid_workspace_role`, `invite_expired`, `invite_role_conflict`, `item_not_found`, `managed_by_scim`, `member_already_has_access`, `member_has_no_site_access`, `member_is_paying_client`, `member_not_found`, `member_not_removable`, `member_role_conflict`, `missing_scopes`, `no_domains`, `no_members_or_invites`, `not_authorized`, `not_enterprise_plan_site`, `not_enterprise_plan_workspace`, `optimize_before_historical_floor`, `optimize_input_validation`, `optimize_invalid_interval`, `optimize_unknown_dimension`, `optimize_unknown_goal`, `optimize_unknown_optimization`, `optimize_unsupported_group_by`, `order_not_found`, `page_cannot_branch`, `resource_not_found`, `service_unavailable`, `site_access_not_applicable_to_member`, `site_access_not_scopable_for_role`, `site_access_roles_must_match`, `site_not_in_workspace`, `site_role_id_invalid`, `site_role_id_not_allowed`, `site_role_id_required`, `site_specific_access_disabled`, `site_specific_access_not_entitled`, `time_range_too_wide`, `too_many_requests`, `unsupported_bot_provider`, `unsupported_version`, `unsupported_webhook_trigger_type`, `user_limit_reached`, `user_not_found`, `users_not_enabled`, `validation_error`, `workspace_invite_not_found`, `workspace_member_managed_by_scim`, `workspace_member_not_found`, `workspace_member_not_removable`, `workspace_role_not_grantable`
- `message` (string, optional) — Error message
- `externalReference` (string, optional) — Link to more information
- `details` (list of CollectionsCollectionIdItemsInsertPostResponsesContentApplicationJsonSchemaDetailsItems, optional) — Array of errors

### 409 Conflict Error

The item already has a variant in the requested locale

- `code` (enum, optional) — Error code
  - Allowed values: `aeo_input_validation`, `analyze_filter_conflict`, `analyze_input_validation`, `analyze_unsupported_filter`, `bad_request`, `batch_too_large`, `before_historical_floor`, `billing_provider_unavailable`, `branch_merge_conflict`, `branch_merge_in_progress`, `branch_not_found`, `branch_publish_failed`, `branch_sync_pending`, `branch_task_not_found`, `branch_update_in_progress`, `brand_not_configured`, `cannot_invite_self`, `cannot_remove_self`, `cannot_update_user_role`, `client_seats_unavailable`, `collection_not_found`, `competitors_not_configured`, `conflict`, `conflicting_scope_filters`, `default_site_role_required`, `duplicate_collection`, `duplicate_member_in_request`, `duplicate_site_in_request`, `duplicate_user_email`, `ecommerce_not_enabled`, `end_time_too_recent`, `enterprise_provisioning_cloud_app_not_supported`, `enterprise_provisioning_upstream_error`, `enterprise_self_provisioning_not_entitled`, `forbidden`, `forms_require_republish`, `incompatible_webhook_filter`, `insufficient_permissions`, `insufficient_seats`, `internal_error`, `invalid_auth_version`, `invalid_credentials`, `invalid_domain`, `invalid_resolution`, `invalid_site_role`, `invalid_time_range`, `invalid_user_email`, `invalid_workspace_role`, `invite_expired`, `invite_role_conflict`, `item_not_found`, `managed_by_scim`, `member_already_has_access`, `member_has_no_site_access`, `member_is_paying_client`, `member_not_found`, `member_not_removable`, `member_role_conflict`, `missing_scopes`, `no_domains`, `no_members_or_invites`, `not_authorized`, `not_enterprise_plan_site`, `not_enterprise_plan_workspace`, `optimize_before_historical_floor`, `optimize_input_validation`, `optimize_invalid_interval`, `optimize_unknown_dimension`, `optimize_unknown_goal`, `optimize_unknown_optimization`, `optimize_unsupported_group_by`, `order_not_found`, `page_cannot_branch`, `resource_not_found`, `service_unavailable`, `site_access_not_applicable_to_member`, `site_access_not_scopable_for_role`, `site_access_roles_must_match`, `site_not_in_workspace`, `site_role_id_invalid`, `site_role_id_not_allowed`, `site_role_id_required`, `site_specific_access_disabled`, `site_specific_access_not_entitled`, `time_range_too_wide`, `too_many_requests`, `unsupported_bot_provider`, `unsupported_version`, `unsupported_webhook_trigger_type`, `user_limit_reached`, `user_not_found`, `users_not_enabled`, `validation_error`, `workspace_invite_not_found`, `workspace_member_managed_by_scim`, `workspace_member_not_found`, `workspace_member_not_removable`, `workspace_role_not_grantable`
- `message` (string, optional) — Error message
- `externalReference` (string, optional) — Link to more information
- `details` (list of CollectionsCollectionIdItemsInsertPostResponsesContentApplicationJsonSchemaDetailsItems, optional) — Array of errors

### 429 Too Many Requests Error

The rate limit of the provided access_token has been reached. Please have your application respect the X-RateLimit-Remaining header we include on API responses.

- `code` (enum, optional) — Error code
  - Allowed values: `aeo_input_validation`, `analyze_filter_conflict`, `analyze_input_validation`, `analyze_unsupported_filter`, `bad_request`, `batch_too_large`, `before_historical_floor`, `billing_provider_unavailable`, `branch_merge_conflict`, `branch_merge_in_progress`, `branch_not_found`, `branch_publish_failed`, `branch_sync_pending`, `branch_task_not_found`, `branch_update_in_progress`, `brand_not_configured`, `cannot_invite_self`, `cannot_remove_self`, `cannot_update_user_role`, `client_seats_unavailable`, `collection_not_found`, `competitors_not_configured`, `conflict`, `conflicting_scope_filters`, `default_site_role_required`, `duplicate_collection`, `duplicate_member_in_request`, `duplicate_site_in_request`, `duplicate_user_email`, `ecommerce_not_enabled`, `end_time_too_recent`, `enterprise_provisioning_cloud_app_not_supported`, `enterprise_provisioning_upstream_error`, `enterprise_self_provisioning_not_entitled`, `forbidden`, `forms_require_republish`, `incompatible_webhook_filter`, `insufficient_permissions`, `insufficient_seats`, `internal_error`, `invalid_auth_version`, `invalid_credentials`, `invalid_domain`, `invalid_resolution`, `invalid_site_role`, `invalid_time_range`, `invalid_user_email`, `invalid_workspace_role`, `invite_expired`, `invite_role_conflict`, `item_not_found`, `managed_by_scim`, `member_already_has_access`, `member_has_no_site_access`, `member_is_paying_client`, `member_not_found`, `member_not_removable`, `member_role_conflict`, `missing_scopes`, `no_domains`, `no_members_or_invites`, `not_authorized`, `not_enterprise_plan_site`, `not_enterprise_plan_workspace`, `optimize_before_historical_floor`, `optimize_input_validation`, `optimize_invalid_interval`, `optimize_unknown_dimension`, `optimize_unknown_goal`, `optimize_unknown_optimization`, `optimize_unsupported_group_by`, `order_not_found`, `page_cannot_branch`, `resource_not_found`, `service_unavailable`, `site_access_not_applicable_to_member`, `site_access_not_scopable_for_role`, `site_access_roles_must_match`, `site_not_in_workspace`, `site_role_id_invalid`, `site_role_id_not_allowed`, `site_role_id_required`, `site_specific_access_disabled`, `site_specific_access_not_entitled`, `time_range_too_wide`, `too_many_requests`, `unsupported_bot_provider`, `unsupported_version`, `unsupported_webhook_trigger_type`, `user_limit_reached`, `user_not_found`, `users_not_enabled`, `validation_error`, `workspace_invite_not_found`, `workspace_member_managed_by_scim`, `workspace_member_not_found`, `workspace_member_not_removable`, `workspace_role_not_grantable`
- `message` (string, optional) — Error message
- `externalReference` (string, optional) — Link to more information
- `details` (list of CollectionsCollectionIdItemsInsertPostResponsesContentApplicationJsonSchemaDetailsItems, optional) — Array of errors

### 500 Internal Server Error

We had a problem with our server. Try again later.

- `code` (enum, optional) — Error code
  - Allowed values: `aeo_input_validation`, `analyze_filter_conflict`, `analyze_input_validation`, `analyze_unsupported_filter`, `bad_request`, `batch_too_large`, `before_historical_floor`, `billing_provider_unavailable`, `branch_merge_conflict`, `branch_merge_in_progress`, `branch_not_found`, `branch_publish_failed`, `branch_sync_pending`, `branch_task_not_found`, `branch_update_in_progress`, `brand_not_configured`, `cannot_invite_self`, `cannot_remove_self`, `cannot_update_user_role`, `client_seats_unavailable`, `collection_not_found`, `competitors_not_configured`, `conflict`, `conflicting_scope_filters`, `default_site_role_required`, `duplicate_collection`, `duplicate_member_in_request`, `duplicate_site_in_request`, `duplicate_user_email`, `ecommerce_not_enabled`, `end_time_too_recent`, `enterprise_provisioning_cloud_app_not_supported`, `enterprise_provisioning_upstream_error`, `enterprise_self_provisioning_not_entitled`, `forbidden`, `forms_require_republish`, `incompatible_webhook_filter`, `insufficient_permissions`, `insufficient_seats`, `internal_error`, `invalid_auth_version`, `invalid_credentials`, `invalid_domain`, `invalid_resolution`, `invalid_site_role`, `invalid_time_range`, `invalid_user_email`, `invalid_workspace_role`, `invite_expired`, `invite_role_conflict`, `item_not_found`, `managed_by_scim`, `member_already_has_access`, `member_has_no_site_access`, `member_is_paying_client`, `member_not_found`, `member_not_removable`, `member_role_conflict`, `missing_scopes`, `no_domains`, `no_members_or_invites`, `not_authorized`, `not_enterprise_plan_site`, `not_enterprise_plan_workspace`, `optimize_before_historical_floor`, `optimize_input_validation`, `optimize_invalid_interval`, `optimize_unknown_dimension`, `optimize_unknown_goal`, `optimize_unknown_optimization`, `optimize_unsupported_group_by`, `order_not_found`, `page_cannot_branch`, `resource_not_found`, `service_unavailable`, `site_access_not_applicable_to_member`, `site_access_not_scopable_for_role`, `site_access_roles_must_match`, `site_not_in_workspace`, `site_role_id_invalid`, `site_role_id_not_allowed`, `site_role_id_required`, `site_specific_access_disabled`, `site_specific_access_not_entitled`, `time_range_too_wide`, `too_many_requests`, `unsupported_bot_provider`, `unsupported_version`, `unsupported_webhook_trigger_type`, `user_limit_reached`, `user_not_found`, `users_not_enabled`, `validation_error`, `workspace_invite_not_found`, `workspace_member_managed_by_scim`, `workspace_member_not_found`, `workspace_member_not_removable`, `workspace_role_not_grantable`
- `message` (string, optional) — Error message
- `externalReference` (string, optional) — Link to more information
- `details` (list of CollectionsCollectionIdItemsInsertPostResponsesContentApplicationJsonSchemaDetailsItems, optional) — Array of errors

## Types

### CollectionsCollectionIdItemsInsertPostRequestBodyContentApplicationJsonSchemaItemsItems

A single entry in an `items/insert` request. Each entry describes one item and the locales to create it in. - Omit `id` to create a new item. Use `cmsLocaleIds` to select locales, or `allCmsLocales: true` to select every current site locale. The variants share one new item ID and the same `fieldData`. Omit both locale selectors to create only in the primary locale. - Set `id` to an existing item's ID to add locale variants to that item. `cmsLocaleIds` is required when you send `id`, and the item must not already have a variant in those locales. - To give one item different content per locale, send several entries that share the same `id`, each with a single locale in `cmsLocaleIds`.

- `fieldData` (CollectionsCollectionIdItemsInsertPostRequestBodyContentApplicationJsonSchemaItemsItemsFieldData, required)
- `id` (string, optional) — The ID of an existing item to attach locale variants to. Omit this property to create a new item. Requires `cmsLocaleIds` and cannot be combined with `allCmsLocales`.
- `cmsLocaleIds` (list of string, optional) — The locales to create this entry in. For a new item, omit both this property and `allCmsLocales` to create only in the primary locale. Required when `id` is set. Cannot be combined with `allCmsLocales`, even as an empty array. A locale listed twice returns a `400`.
- `allCmsLocales` (boolean, optional) — Set to `true` to create a new item in every current site locale, including the primary locale, without listing locale IDs. The variants share one new item ID and the same `fieldData`. Only `true` is accepted; omit this property instead of sending `false`. Cannot be combined with `cmsLocaleIds` or an existing item `id`. Each locale variant counts toward the 100-item request limit.
- `isArchived` (boolean, optional, default: false) — Boolean determining if the Item is set to archived
- `isDraft` (boolean, optional, default: true) — Whether the item is created in a draft state. A new item has never been published, so `isDraft: true` gives it a `Draft` status. Set `isDraft: false` to queue the item to publish on the next site publish.

### CollectionsCollectionIdItemsInsertPostResponsesContentApplicationJsonSchemaItemsItems

A Collection Item returned by `items/insert`. Locale variants of the same item share an `id` and differ by `cmsLocaleId`. An entry that selects several locales with `cmsLocaleIds` or `allCmsLocales` returns one item per locale, so match a returned item to the entry that created it on `id` and `cmsLocaleId` rather than on position.

- `id` (string, required) — Unique identifier for the Item
- `lastPublished` (string, required, nullable) — The date the item was last published. `null` for the staged items this endpoint creates.
- `lastUpdated` (string, required) — The date the item was last updated
- `createdOn` (string, required) — The date the item was created
- `fieldData` (CollectionsCollectionIdItemsInsertPostResponsesContentApplicationJsonSchemaItemsItemsFieldData, required)
- `cmsLocaleId` (string, optional) — Identifier for the locale of the CMS item
- `isArchived` (boolean, optional, default: false) — Boolean determining if the Item is set to archived
- `isDraft` (boolean, optional) — Whether the item is in a draft state. `true` unless the request set `isDraft: false`.

### CollectionsCollectionIdItemsInsertPostResponsesContentApplicationJsonSchemaDetailsItems

- string
- map from string to any

### CollectionsCollectionIdItemsInsertPostRequestBodyContentApplicationJsonSchemaItemsItemsFieldData

- `name` (string, required) — Name of the Item
- `slug` (string, required) — URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug.

### CollectionsCollectionIdItemsInsertPostResponsesContentApplicationJsonSchemaItemsItemsFieldData

- `name` (string, required) — Name of the Item
- `slug` (string, required) — URL structure of the Item in your site. Note: Updates to an item slug will break all links referencing the old slug.

## Examples

### Primary locale

**Request**

```json
{
  "items": [
    {
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      }
    }
  ]
}
```

**Response**

```json
{
  "items": [
    {
      "id": "66f6ed9576ddacf3149d5eab",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca3",
      "isArchived": false,
      "isDraft": true
    }
  ]
}
```

**SDK Code**

```python Primary locale
import requests

url = "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert"

querystring = {"skipInvalidFiles":"true"}

payload = { "items": [{ "fieldData": {
                "name": "Mostly Harmless",
                "slug": "mostly-harmless"
            } }] }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers, params=querystring)

print(response.json())
```

```javascript Primary locale
const url = 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"items":[{"fieldData":{"name":"Mostly Harmless","slug":"mostly-harmless"}}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Primary locale
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true"

	payload := strings.NewReader("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      }\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Primary locale
require 'uri'
require 'net/http'

url = URI("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      }\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java Primary locale
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      }\n    }\n  ]\n}")
  .asString();
```

```php Primary locale
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true', [
  'body' => '{
  "items": [
    {
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      }
    }
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Primary locale
using RestSharp;

var client = new RestClient("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      }\n    }\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Primary locale
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["items": [["fieldData": [
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      ]]]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Selected locales

**Request**

```json
{
  "items": [
    {
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      },
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca3",
        "66f6e966c9e1dc700a857ca4"
      ]
    }
  ]
}
```

**Response**

```json
{
  "items": [
    {
      "id": "66f6ed9576ddacf3149d5eac",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca3",
      "isArchived": false,
      "isDraft": true
    },
    {
      "id": "66f6ed9576ddacf3149d5eac",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca4",
      "isArchived": false,
      "isDraft": true
    }
  ]
}
```

**SDK Code**

```python Selected locales
import requests

url = "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert"

querystring = {"skipInvalidFiles":"true"}

payload = { "items": [
        {
            "fieldData": {
                "name": "Mostly Harmless",
                "slug": "mostly-harmless"
            },
            "cmsLocaleIds": ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4"]
        }
    ] }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers, params=querystring)

print(response.json())
```

```javascript Selected locales
const url = 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"items":[{"fieldData":{"name":"Mostly Harmless","slug":"mostly-harmless"},"cmsLocaleIds":["66f6e966c9e1dc700a857ca3","66f6e966c9e1dc700a857ca4"]}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Selected locales
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true"

	payload := strings.NewReader("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      },\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca3\",\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Selected locales
require 'uri'
require 'net/http'

url = URI("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      },\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca3\",\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java Selected locales
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      },\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca3\",\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    }\n  ]\n}")
  .asString();
```

```php Selected locales
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true', [
  'body' => '{
  "items": [
    {
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      },
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca3",
        "66f6e966c9e1dc700a857ca4"
      ]
    }
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Selected locales
using RestSharp;

var client = new RestClient("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      },\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca3\",\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    }\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Selected locales
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["items": [
    [
      "fieldData": [
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      ],
      "cmsLocaleIds": ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4"]
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### All site locales

**Request**

```json
{
  "items": [
    {
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      },
      "allCmsLocales": true
    }
  ]
}
```

**Response**

```json
{
  "items": [
    {
      "id": "66f6ed9576ddacf3149d5eae",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca3",
      "isArchived": false,
      "isDraft": true
    },
    {
      "id": "66f6ed9576ddacf3149d5eae",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca4",
      "isArchived": false,
      "isDraft": true
    },
    {
      "id": "66f6ed9576ddacf3149d5eae",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca5",
      "isArchived": false,
      "isDraft": true
    }
  ]
}
```

**SDK Code**

```python All site locales
import requests

url = "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert"

querystring = {"skipInvalidFiles":"true"}

payload = { "items": [
        {
            "fieldData": {
                "name": "Mostly Harmless",
                "slug": "mostly-harmless"
            },
            "allCmsLocales": True
        }
    ] }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers, params=querystring)

print(response.json())
```

```javascript All site locales
const url = 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"items":[{"fieldData":{"name":"Mostly Harmless","slug":"mostly-harmless"},"allCmsLocales":true}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go All site locales
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true"

	payload := strings.NewReader("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      },\n      \"allCmsLocales\": true\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby All site locales
require 'uri'
require 'net/http'

url = URI("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      },\n      \"allCmsLocales\": true\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java All site locales
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      },\n      \"allCmsLocales\": true\n    }\n  ]\n}")
  .asString();
```

```php All site locales
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true', [
  'body' => '{
  "items": [
    {
      "fieldData": {
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      },
      "allCmsLocales": true
    }
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp All site locales
using RestSharp;

var client = new RestClient("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Mostly Harmless\",\n        \"slug\": \"mostly-harmless\"\n      },\n      \"allCmsLocales\": true\n    }\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift All site locales
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["items": [
    [
      "fieldData": [
        "name": "Mostly Harmless",
        "slug": "mostly-harmless"
      ],
      "allCmsLocales": true
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Add locale variants

**Request**

```json
{
  "items": [
    {
      "fieldData": {
        "name": "Don’t Panic",
        "slug": "dont-panic"
      },
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca4",
        "66f6e966c9e1dc700a857ca5"
      ]
    }
  ]
}
```

**Response**

```json
{
  "items": [
    {
      "id": "66f6ed9576ddacf3149d5ea6",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Don’t Panic",
        "slug": "dont-panic"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca4",
      "isArchived": false,
      "isDraft": true
    },
    {
      "id": "66f6ed9576ddacf3149d5ea6",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Don’t Panic",
        "slug": "dont-panic"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca5",
      "isArchived": false,
      "isDraft": true
    }
  ]
}
```

**SDK Code**

```python Add locale variants
import requests

url = "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert"

querystring = {"skipInvalidFiles":"true"}

payload = { "items": [
        {
            "fieldData": {
                "name": "Don’t Panic",
                "slug": "dont-panic"
            },
            "id": "66f6ed9576ddacf3149d5ea6",
            "cmsLocaleIds": ["66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"]
        }
    ] }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers, params=querystring)

print(response.json())
```

```javascript Add locale variants
const url = 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"items":[{"fieldData":{"name":"Don’t Panic","slug":"dont-panic"},"id":"66f6ed9576ddacf3149d5ea6","cmsLocaleIds":["66f6e966c9e1dc700a857ca4","66f6e966c9e1dc700a857ca5"]}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Add locale variants
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true"

	payload := strings.NewReader("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Don’t Panic\",\n        \"slug\": \"dont-panic\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca4\",\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Add locale variants
require 'uri'
require 'net/http'

url = URI("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Don’t Panic\",\n        \"slug\": \"dont-panic\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca4\",\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java Add locale variants
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Don’t Panic\",\n        \"slug\": \"dont-panic\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca4\",\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}")
  .asString();
```

```php Add locale variants
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true', [
  'body' => '{
  "items": [
    {
      "fieldData": {
        "name": "Don’t Panic",
        "slug": "dont-panic"
      },
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca4",
        "66f6e966c9e1dc700a857ca5"
      ]
    }
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Add locale variants
using RestSharp;

var client = new RestClient("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Don’t Panic\",\n        \"slug\": \"dont-panic\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca4\",\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Add locale variants
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["items": [
    [
      "fieldData": [
        "name": "Don’t Panic",
        "slug": "dont-panic"
      ],
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": ["66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"]
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Different content per locale

**Request**

```json
{
  "items": [
    {
      "fieldData": {
        "name": "Pas de panique",
        "slug": "pas-de-panique"
      },
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca4"
      ]
    },
    {
      "fieldData": {
        "name": "Keine Panik",
        "slug": "keine-panik"
      },
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca5"
      ]
    }
  ]
}
```

**Response**

```json
{
  "items": [
    {
      "id": "66f6ed9576ddacf3149d5ea6",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Pas de panique",
        "slug": "pas-de-panique"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca4",
      "isArchived": false,
      "isDraft": true
    },
    {
      "id": "66f6ed9576ddacf3149d5ea6",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Keine Panik",
        "slug": "keine-panik"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca5",
      "isArchived": false,
      "isDraft": true
    }
  ]
}
```

**SDK Code**

```python Different content per locale
import requests

url = "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert"

querystring = {"skipInvalidFiles":"true"}

payload = { "items": [
        {
            "fieldData": {
                "name": "Pas de panique",
                "slug": "pas-de-panique"
            },
            "id": "66f6ed9576ddacf3149d5ea6",
            "cmsLocaleIds": ["66f6e966c9e1dc700a857ca4"]
        },
        {
            "fieldData": {
                "name": "Keine Panik",
                "slug": "keine-panik"
            },
            "id": "66f6ed9576ddacf3149d5ea6",
            "cmsLocaleIds": ["66f6e966c9e1dc700a857ca5"]
        }
    ] }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers, params=querystring)

print(response.json())
```

```javascript Different content per locale
const url = 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"items":[{"fieldData":{"name":"Pas de panique","slug":"pas-de-panique"},"id":"66f6ed9576ddacf3149d5ea6","cmsLocaleIds":["66f6e966c9e1dc700a857ca4"]},{"fieldData":{"name":"Keine Panik","slug":"keine-panik"},"id":"66f6ed9576ddacf3149d5ea6","cmsLocaleIds":["66f6e966c9e1dc700a857ca5"]}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Different content per locale
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true"

	payload := strings.NewReader("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Pas de panique\",\n        \"slug\": \"pas-de-panique\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Keine Panik\",\n        \"slug\": \"keine-panik\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Different content per locale
require 'uri'
require 'net/http'

url = URI("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Pas de panique\",\n        \"slug\": \"pas-de-panique\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Keine Panik\",\n        \"slug\": \"keine-panik\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java Different content per locale
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Pas de panique\",\n        \"slug\": \"pas-de-panique\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Keine Panik\",\n        \"slug\": \"keine-panik\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}")
  .asString();
```

```php Different content per locale
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true', [
  'body' => '{
  "items": [
    {
      "fieldData": {
        "name": "Pas de panique",
        "slug": "pas-de-panique"
      },
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca4"
      ]
    },
    {
      "fieldData": {
        "name": "Keine Panik",
        "slug": "keine-panik"
      },
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca5"
      ]
    }
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp Different content per locale
using RestSharp;

var client = new RestClient("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"Pas de panique\",\n        \"slug\": \"pas-de-panique\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Keine Panik\",\n        \"slug\": \"keine-panik\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Different content per locale
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["items": [
    [
      "fieldData": [
        "name": "Pas de panique",
        "slug": "pas-de-panique"
      ],
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": ["66f6e966c9e1dc700a857ca4"]
    ],
    [
      "fieldData": [
        "name": "Keine Panik",
        "slug": "keine-panik"
      ],
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": ["66f6e966c9e1dc700a857ca5"]
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### New items and locale variants

**Request**

```json
{
  "items": [
    {
      "fieldData": {
        "name": "So Long and Thanks for All the Fish",
        "slug": "so-long-and-thanks"
      },
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca3",
        "66f6e966c9e1dc700a857ca4"
      ]
    },
    {
      "fieldData": {
        "name": "Life, the Universe and Everything",
        "slug": "life-universe-everything"
      }
    },
    {
      "fieldData": {
        "name": "Keine Panik",
        "slug": "keine-panik"
      },
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca5"
      ]
    }
  ]
}
```

**Response**

```json
{
  "items": [
    {
      "id": "66f6ed9576ddacf3149d5eaa",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "So Long and Thanks for All the Fish",
        "slug": "so-long-and-thanks"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca3",
      "isArchived": false,
      "isDraft": true
    },
    {
      "id": "66f6ed9576ddacf3149d5eaa",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "So Long and Thanks for All the Fish",
        "slug": "so-long-and-thanks"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca4",
      "isArchived": false,
      "isDraft": true
    },
    {
      "id": "66f6ed9576ddacf3149d5ead",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Life, the Universe and Everything",
        "slug": "life-universe-everything"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca3",
      "isArchived": false,
      "isDraft": true
    },
    {
      "id": "66f6ed9576ddacf3149d5ea6",
      "lastPublished": null,
      "lastUpdated": "2026-08-28T17:38:29.066Z",
      "createdOn": "2026-08-28T17:38:29.066Z",
      "fieldData": {
        "name": "Keine Panik",
        "slug": "keine-panik"
      },
      "cmsLocaleId": "66f6e966c9e1dc700a857ca5",
      "isArchived": false,
      "isDraft": true
    }
  ]
}
```

**SDK Code**

```python New items and locale variants
import requests

url = "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert"

querystring = {"skipInvalidFiles":"true"}

payload = { "items": [
        {
            "fieldData": {
                "name": "So Long and Thanks for All the Fish",
                "slug": "so-long-and-thanks"
            },
            "cmsLocaleIds": ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4"]
        },
        { "fieldData": {
                "name": "Life, the Universe and Everything",
                "slug": "life-universe-everything"
            } },
        {
            "fieldData": {
                "name": "Keine Panik",
                "slug": "keine-panik"
            },
            "id": "66f6ed9576ddacf3149d5ea6",
            "cmsLocaleIds": ["66f6e966c9e1dc700a857ca5"]
        }
    ] }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers, params=querystring)

print(response.json())
```

```javascript New items and locale variants
const url = 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"items":[{"fieldData":{"name":"So Long and Thanks for All the Fish","slug":"so-long-and-thanks"},"cmsLocaleIds":["66f6e966c9e1dc700a857ca3","66f6e966c9e1dc700a857ca4"]},{"fieldData":{"name":"Life, the Universe and Everything","slug":"life-universe-everything"}},{"fieldData":{"name":"Keine Panik","slug":"keine-panik"},"id":"66f6ed9576ddacf3149d5ea6","cmsLocaleIds":["66f6e966c9e1dc700a857ca5"]}]}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go New items and locale variants
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true"

	payload := strings.NewReader("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"So Long and Thanks for All the Fish\",\n        \"slug\": \"so-long-and-thanks\"\n      },\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca3\",\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Life, the Universe and Everything\",\n        \"slug\": \"life-universe-everything\"\n      }\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Keine Panik\",\n        \"slug\": \"keine-panik\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby New items and locale variants
require 'uri'
require 'net/http'

url = URI("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"So Long and Thanks for All the Fish\",\n        \"slug\": \"so-long-and-thanks\"\n      },\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca3\",\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Life, the Universe and Everything\",\n        \"slug\": \"life-universe-everything\"\n      }\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Keine Panik\",\n        \"slug\": \"keine-panik\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}"

response = http.request(request)
puts response.read_body
```

```java New items and locale variants
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"So Long and Thanks for All the Fish\",\n        \"slug\": \"so-long-and-thanks\"\n      },\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca3\",\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Life, the Universe and Everything\",\n        \"slug\": \"life-universe-everything\"\n      }\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Keine Panik\",\n        \"slug\": \"keine-panik\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}")
  .asString();
```

```php New items and locale variants
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true', [
  'body' => '{
  "items": [
    {
      "fieldData": {
        "name": "So Long and Thanks for All the Fish",
        "slug": "so-long-and-thanks"
      },
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca3",
        "66f6e966c9e1dc700a857ca4"
      ]
    },
    {
      "fieldData": {
        "name": "Life, the Universe and Everything",
        "slug": "life-universe-everything"
      }
    },
    {
      "fieldData": {
        "name": "Keine Panik",
        "slug": "keine-panik"
      },
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": [
        "66f6e966c9e1dc700a857ca5"
      ]
    }
  ]
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp New items and locale variants
using RestSharp;

var client = new RestClient("https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"items\": [\n    {\n      \"fieldData\": {\n        \"name\": \"So Long and Thanks for All the Fish\",\n        \"slug\": \"so-long-and-thanks\"\n      },\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca3\",\n        \"66f6e966c9e1dc700a857ca4\"\n      ]\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Life, the Universe and Everything\",\n        \"slug\": \"life-universe-everything\"\n      }\n    },\n    {\n      \"fieldData\": {\n        \"name\": \"Keine Panik\",\n        \"slug\": \"keine-panik\"\n      },\n      \"id\": \"66f6ed9576ddacf3149d5ea6\",\n      \"cmsLocaleIds\": [\n        \"66f6e966c9e1dc700a857ca5\"\n      ]\n    }\n  ]\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift New items and locale variants
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["items": [
    [
      "fieldData": [
        "name": "So Long and Thanks for All the Fish",
        "slug": "so-long-and-thanks"
      ],
      "cmsLocaleIds": ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4"]
    ],
    ["fieldData": [
        "name": "Life, the Universe and Everything",
        "slug": "life-universe-everything"
      ]],
    [
      "fieldData": [
        "name": "Keine Panik",
        "slug": "keine-panik"
      ],
      "id": "66f6ed9576ddacf3149d5ea6",
      "cmsLocaleIds": ["66f6e966c9e1dc700a857ca5"]
    ]
  ]] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.webflow.com/v2/collections/580e63fc8c9a982ac9b8b745/items/insert?skipInvalidFiles=true")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```