About the Translation Content API

The Translation Content API allows you to access and manage a site's translation content based on the defined translation schema.

With the Translation Content API, your app can:

  • Create, update, and delete content.
  • Get, query, and search existing content.
  • Listen to events when content is created, updated, and deleted.

This API is based on Wix Multilingual.

Steps for managing translation content

Step 1 | Add original content in the site's primary language

To begin, you need to add the base content for translation in the site's primary language. This content aligns with the schema you’ve already defined and serves as the foundation for future translations.

Depending on your app, this content can either be user-generated or default content provided by your app:

  • User-generated content: If your app collects user-generated content, prompt Wix users to provide the relevant content. Call the Create Content method to save this collected content, ensuring it aligns with the schema you defined in the previous step.
  • Default content: If your app provides boilerplate or default content, call the Create Content method with this default content initially. If at a later time users provide their own content, call the Update Content method to replace the default content with user-generated content.

Step 2 | Translate and store the content

Once the original content is added, it can be translated and stored in the following ways:

  • The Wix user can generate translations in the Translation Manager, either manually or using machine translation. When the Wix user saves the translations, the Translation Manager automatically calls the Translation Content API to store the translated content and mark it as ready to publish.
  • Your app can generate the translations or use a third party service to generate them. Wix's Machine Translation API is available for this purpose. Then, call the Translation Content API to store the translated content and flag it for publishing.

Before you begin

It's important to note the following points before starting to code:

  • You can only add translation content to entities that have an existing translation schema. Use the Translation Schema API method to create the schema.
  • The translation content is validated against the corresponding translation schema. For example, if you create a schema field with "type": "VIDEO", you can't set the create content value for that field to an "IMAGE". If you add invalid content you'll get a validation error.
  • This API stores both the original and the translated content, but doesn’t manage site locales or currency conversions.
  • You can only use this API on sites where the Wix user has installed the Wix Multilingual app.

Use cases

Terminology

  • ContentField: This represents the actual content that will be translated, mapped to a specific field in the schema. The ContentField holds the original or translated data (such as the text for a product title) and is linked to its corresponding SchemaField, ensuring it follows the schema’s validation rules.
  • Fields: A list of fields for the translation content. This property uses a string to map to a ContentField (Map<string, ContentField>). The string serves as a key, which you'll need to access each field in the content and when referencing a translation schema.
  • Published: A boolean that indicates whether translated content is ready to publish.
  • Publish status: The aggregated publish status across all content fields. Supported values:
    • UNPUBLISHED: None of the fields have been marked as ready to publish.
    • PUBLISHED: All of the fields have been marked as ready to publish.
    • PARTIALLY_PUBLISHED: Some of the fields have been marked as ready to publish.
Did this help?

Sample Use Cases and Flows

This article presents possible use cases and corresponding sample flows that your app can support. It provides a useful starting point as you plan your app's implementation.

Translate English content in your app to French

If you're developing a delivery service app, the Wix user may want to translate content from the primary language (English) into a secondary language (French). They have two schemas, one for restaurant delivery and one for catering delivery. The content they want to translate includes delivery instructions, special notes for couriers, and customer communications. Follow the flow below to get started:

  1. Prepare the content for translation
    Use the Create Schema method to create schemas for both restaurant and catering delivery. In each schema, define all the fields that will require translation.

  2. Collect the original user-generated content
    Prompt the Wix user to provide the original content in the site's primary language (English) for each schema. Call the Bulk Create Content method to save this collected content. This content will serve as the baseline for future translations.

    Example request:

    Copy
    curl -X POST \ 'https://www.wixapis.com/translation-content/v1/bulk/contents/create' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \ --data-binary '{ "contents": [ { "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Delivery-Instruction-001", "locale": "en-us", "fields": { "instructions": { "textValue": "Leave the package at the front door.", "updatedBy": "USER", "published": false, }, "special_notes": { "textValue": "Please ring the doorbell.", "updatedBy": "USER", "published": false, } } }, { "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Delivery-Instruction-002", "locale": "en-us", "fields": { "instructions": { "textValue": "For a package heavier then 20kg, please call in advance.", "updatedBy": "USER", "published": false, } } } ], "returnEntity": true }'
  3. Translate the content to French
    The Wix user can translate the content manually or using their preferred translation service. Once translated, they can add the French content through the Translation Manager. The Translation Manager automatically calls the API to store the translations and mark them as ready to publish.

  4. Update as needed
    If there are updates to the primary or secondary locale content, repeat the process to keep all content up-to-date. Call Query Contents to check for existing content, and either Bulk Update Content or Bulk Create Content to add or update the translation content.

Update default app content with user generated content

Let's say you're developing an app that provides original default FAQ content in English for Wix users. The Wix user may prefer to update this default content with their own original content.

  1. Your app provides English FAQs as boilerplate content. Call the Create Content method to store this default content.

  2. Prompt the Wix user to replace the default content in the Translation Manager with their own custom content.

  3. Listen for the Content Updated event to make sure the Wix user has entered their custom content.

  4. Call the Update Content method to replace the default FAQ content in your app with the Wix user's content.

Did this help?

Translation Content: Supported Filters, Sorting, and Search

This article covers field support for filtering, sorting, and searching in the Translation Content API.

Query Contents

The following table shows field support for filters and sorting for the translation content object when using Query Contents:

FieldSupported FiltersSortable
ideq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable
schemaIdeq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable
entityIdeq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable
localeeq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable
parentEntityIdeq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable
publishStatuseq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable

Search Contents

The following table shows field support for filters, sorting, and free-text searching for the translation content object when using Search Contents:

FieldSupported FiltersSortableSearchable
ideq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable
entityIdeq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable
schemaIdeq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable
localeeq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable
parentEntityIdeq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable
publishStatuseq, ne, exists, in, hasSome, startsWith, ascending, descendingSortable
previewFieldeq, ne, exists, in, hasSome, startsWith, ascending, descendingSortableSearchable
fields.textValueSortableSearchable
fields.richContentSortableSearchable
Did this help?

Translation Content API: Errors

This table outlines errors that might be issued when calling the Translation Content API. The list includes error codes, and troubleshooting guidance to help you resolve these issues.

HTTP STATUS
ERROR NAME
RULE NAME
DESCRIPTION & TROUBLESHOOTING
BAD_REQUEST (400)WixValidationRuntimeExceptionContentSizeValidationRuleThe content size exceeds 1MB (1,048,576 bytes). Reduce its size by removing unnecessary data.
BAD_REQUEST (400)WixValidationRuntimeExceptionSchemaFieldsExistValidationRuleField ID not found in the schema. Ensure all content fields match the schema. Remove or rename unmatched fields, or update the schema to include them.
BAD_REQUEST (400)WixValidationRuntimeExceptionFieldTypeValidationRuleField type doesn't match the schema. Update the content field type to align with the schema.
BAD_REQUEST (400)WixValidationRuntimeExceptionRepeaterIdSpecifiedValidationRuleInvalid repeater field ID. Ensure repeater field IDs are correctly specified and follow the required format.
BAD_REQUEST (400)WixValidationRuntimeExceptionMaxLengthValidationRuleText exceeds the maximum length. Shorten the text to fit within the specified limit.
BAD_REQUEST (400)WixValidationRuntimeExceptionMinLengthValidationRuleText is shorter than the minimum length. Extend or pad the text to meet the required length.
BAD_REQUEST (400)WixValidationRuntimeExceptionFieldFormatValidationRuleInvalid field value format. Update the field value to match the required format.
BAD_REQUEST (400)WixValidationRuntimeExceptionSchemaExistsValidationRuleSchema not found. Ensure the schema ID is correct and valid.
BAD_REQUEST (400)InvalidArgumentExceptionMissing revision value when calling the Update method. Specify a value for the revision property when updating the entity.
NOT_FOUND (404)EntityNotFoundContent not found. Verify that the ID used in the Get Content method exists in the system.

General Troubleshooting

If you encounter any of these errors:

  1. Check your content against the schema definition.
  2. Ensure all required fields are present and correctly formatted.
  3. Verify that field values meet the constraints specified in the schema such as length, format, or type.
  4. If the error persists, contact support with the specific error message and details of your operation.
Did this help?

Content Object


Properties
idstringRead-onlyformat GUID

Translation content ID.


schemaIdstringformat GUID

Translation schema ID.


entityIdstringminLength 1maxLength 100

A unique identifier defined by the app developer to differentiate translation content for various entities within the site. For example, if an app developer is creating translation content for blog posts, the entityId can be 'blog-posts-1'.


localestringformat LANGUAGE_TAG

Translation content locale.


fieldsMap <string, ContentField>minItems 0maxItems 2000format map

List of fields for the translation content. This property uses a string to map to a ContentField (Map<string, ContentField>). The string serves as a key, which you'll need to access each field in the content and when referencing a translation schema.


parentEntityIdstringminLength 1maxLength 100

A reference to the parent content. For example, if the content is a menu item, this property would contain the entityId of the menu it belongs to.


publishStatusstringRead-only

The aggregated published status across all content fields.


previewFieldstringRead-onlymaxLength 20000

Contains the value of the preview field if the schema defines one.


createdDatestringRead-onlyformat date-time

Date and time the translation content was created.


updatedDatestringRead-onlyformat date-time

Date and time the translation content was updated.

Content
JSON
{ "content": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "publishStatus": "UNPUBLISHED", "previewField": "This is the title in English", "fields": { "title": { "id": "title", "textValue": "This is the title in English", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 }, "description": { "id": "description", "richContent": { "nodes": [ { "type": "PARAGRAPH", "id": "qk4dj27", "nodes": [ { "type": "TEXT", "text_data": { "text": "This is the description in English." } } ] } ], "metadata": { "version": 1, "created_timestamp": "2019-10-30T17:22:10.299Z", "updated_timestamp": "2019-10-30T17:22:10.299Z", "id": "ee5c8167-31a2-4bdd-8f29-f376d1a36d11" } }, "updatedBy": "USER", "published": false, "schemaFieldKey": "description", "index": 2 }, "image(01)": { "id": "image(01)", "image": { "id": "7575-4098-a5ab-c91ad8f33c-8888bba", "url": "my-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 3 }, "image(02)": { "id": "image(02)", "image": { "id": "2295575-4098-a5ab-c91ad8f33c-32249", "url": "my-other-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 4 } } } }
Did this help?

POST

Create Content


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates a translation content item.

The content is validated based on the constraints defined in the corresponding schema.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Write Translation Content
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/translation-content/v1/contents

Body Params
contentContentRequired

Translation content to create.

Response Object
contentContent

Newly created translation content.

Create Content
Request
cURL
curl -X POST \ 'https://www.wixapis.com/translation-content/v1/contents' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \ --data-binary '{ "content": { "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "fields": { "title": { "id": "title", "textValue": "This is the title in English", "updatedBy": "USER", "published": false }, "description": { "id": "description", "richContent": { "nodes": [ { "type": "PARAGRAPH", "id": "qk4dj27", "nodes": [ { "type": "TEXT", "text_data": { "text": "This is the description in English." } } ] } ], "metadata": { "version": 1, "created_timestamp": "2019-10-30T17:22:10.299Z", "updated_timestamp": "2019-10-30T17:22:10.299Z", "id": "ee5c8167-31a2-4bdd-8f29-f376d1a36d11" } }, "updatedBy": "USER", "published": false }, "image(01)": { "id": "image(01)", "image": { "id": "7575-4098-a5ab-c91ad8f33c-8888bba", "url": "some-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false }, "image(02)": { "id": "image(02)", "image": { "id": "2295575-4098-a5ab-c91ad8f33c-32249", "url": "other-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false } } } }'
Response
JSON
{ "content": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "publishStatus": "UNPUBLISHED", "previewField": "This is the title in English.", "fields": { "title": { "id": "title", "textValue": "This is the title in English.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 }, "description": { "id": "description", "richContent": { "nodes": [ { "type": "PARAGRAPH", "id": "qk4dj27", "nodes": [ { "type": "TEXT", "text_data": { "text": "This is the description in English." } } ] } ], "metadata": { "version": 1, "created_timestamp": "2019-10-30T17:22:10.299Z", "updated_timestamp": "2019-10-30T17:22:10.299Z", "id": "ee5c8167-31a2-4bdd-8f29-f376d1a36d11" } }, "updatedBy": "USER", "published": false, "schemaFieldKey": "description", "index": 2 }, "image(01)": { "id": "image(01)", "image": { "id": "7575-4098-a5ab-c91ad8f33c-8888bba", "url": "some-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 3 }, "image(02)": { "id": "image(02)", "image": { "id": "2295575-4098-a5ab-c91ad8f33c-32249", "url": "other-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 4 } } } }
Event TriggersThis method triggers the following events:
Did this help?

GET

Get Content


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a translation content item.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Translation Content + Published Content Read
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/translation-content/v1/contents/{contentId}

Path Params
contentIdstringRequired

ID of the translation content to retrieve.

Response Object
contentContent

The requested translation content.

Get Content
Request
cURL
curl -X GET \ 'https://www.wixapis.com/translation-content/v1/contents/8046df3c-7575-4098-a5ab-c91ad8f33c47' \ -H 'Authorization: <AUTH>'
Response
JSON
{ "content": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "publishStatus": "UNPUBLISHED", "previewField": "This is the title in English.", "fields": { "title": { "id": "title", "textValue": "This is the title in English.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 }, "description": { "id": "description", "richContent": { "nodes": [ { "type": "PARAGRAPH", "id": "qk4dj27", "nodes": [ { "type": "TEXT", "text_data": { "text": "This is the description in English." } } ] } ], "metadata": { "version": 1, "created_timestamp": "2019-10-30T17:22:10.299Z", "updated_timestamp": "2019-10-30T17:22:10.299Z", "id": "ee5c8167-31a2-4bdd-8f29-f376d1a36d11" } }, "updatedBy": "USER", "published": false, "schemaFieldKey": "description", "index": 2 }, "image(01)": { "id": "image(01)", "image": { "id": "8ac220f5-ffef-413c-854f-35c9ad0b1703", "url": "some-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 3 }, "image(02)": { "id": "image(02)", "image": { "id": "44ac920f5-ffef-413c-854f-35c9ad0c1997", "url": "other-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 4 } } } }
Did this help?

DELETE

Delete Content


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Deletes a translation content item.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Write Translation Content
Learn more about app permissions.
Endpoint
DELETE
https://www.wixapis.com/translation-content/v1/contents/{contentId}

Path Params
contentIdstringRequired

ID of the translation content to delete.

Response Object
Returns an empty object.
Delete Content
Request
cURL
curl -X DELETE \ 'https://www.wixapis.com/translation-content/v1/contents/8046df3c-7575-4098-a5ab-c91ad8f33c47' \ -H 'Authorization: <AUTH>'
Response
JSON
{}
Event TriggersThis method triggers the following events:
Did this help?

PATCH

Update Content


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a translation content item by ID.

To remove a field, pass the field key with an empty object as the value. For example:

Copy
{ "fields": { "title": {} } }
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Write Translation Content
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/translation-content/v1/contents/{content.id}

Path Params
content.idstringRequired

Translation content ID.

Body Params
contentContentRequired

Translation content to update.

Response Object
contentContent

Updated translation content.

Update Content By ID
Request
cURL
curl -X PATCH \ 'https://www.wixapis.com/translation-content/v1/contents/8046df3c-7575-4098-a5ab-c91ad8f33c47' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \ --data-binary '{ "content": { "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "parentEntityId": "NewParentEntity-01" } }'
Response
JSON
{ "content": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "publishStatus": "UNPUBLISHED", "parentEntityId": "NewParentEntity-01", "previewField": "This is the title in English.", "fields": { "title": { "id": "title", "textValue": "This is the title in English.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 }, "description": { "id": "description", "richContent": { "nodes": [ { "type": "PARAGRAPH", "id": "qk4dj27", "nodes": [ { "type": "TEXT", "text_data": { "text": "This is the description in English." } } ] } ], "metadata": { "version": 1, "created_timestamp": "2019-10-30T17:22:10.299Z", "updated_timestamp": "2019-10-30T17:22:10.299Z", "id": "ee5c8167-31a2-4bdd-8f29-f376d1a36d11" } }, "updatedBy": "USER", "published": false, "schemaFieldKey": "description", "index": 2 }, "image(01)": { "id": "image(01)", "image": { "id": "2ac220f5-ffef-413c-854f-35c9ad0b1703", "url": "some-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 3 }, "image(02)": { "id": "image(02)", "image": { "id": "5bc220f5-ffef-413c-854f-35c9ad0a1492", "url": "other-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 4 } } } }
Event TriggersThis method triggers the following events:
Did this help?

PATCH

Update Content By Key


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates a translation content item using a unique key, which is a combination of content.schemaId, content.entityId, and content.locale.

To remove a field, pass the field key with an empty object as the value. For example:

Copy
{ "fields": { "title": {} } }
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Write Translation Content
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/translation-content/v1/contents/by-key

Body Params
contentContentRequired

Content to update.

Response Object
contentContent

Updated Content.

Update Content By Key
Request
cURL
curl -X PATCH \ 'https://www.wixapis.com/translation-content/v1/contents/by-key' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \ --data-binary '{ "content": { "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "parentEntityId": "NewParentEntity-01" } }'
Response
JSON
{ "content": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "publishStatus": "UNPUBLISHED", "parentEntityId": "NewParentEntity-01", "previewField": "This is the title in English.", "fields": { "title": { "id": "title", "textValue": "This is the title in English.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 }, "description": { "id": "description", "richContent": { "nodes": [ { "type": "PARAGRAPH", "id": "qk4dj27", "nodes": [ { "type": "TEXT", "text_data": { "text": "This is the description in English." } } ] } ], "metadata": { "version": 1, "created_timestamp": "2019-10-30T17:22:10.299Z", "updated_timestamp": "2019-10-30T17:22:10.299Z", "id": "ee5c8167-31a2-4bdd-8f29-f376d1a36d11" } }, "updatedBy": "USER", "published": false, "schemaFieldKey": "description", "index": 2 }, "image(01)": { "id": "image(01)", "image": { "id": "7575-4098-a5ab-c91ad8f33c-8888bba", "url": "some-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 3 }, "image(02)": { "id": "image(02)", "image": { "id": "2295575-4098-a5ab-c91ad8f33c-32249", "url": "other-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 4 } } } }
Event TriggersThis method triggers the following events:
Did this help?

POST

Query Contents


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of translation content items given the provided paging, filtering, and sorting. Up to 100 translation content items can be returned per request.

The default sort is id in ASC.

For field support for filters and sorting, see Translation Content: Supported Filters, Sorting, and Search.

To learn how to query translation consent items, see API Query Language.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Translation Content + Published Content Read
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/translation-content/v1/contents/query

Body Params
queryQuery

Query options.

Response Object
contentsArray <Content>

List of translation content.


pagingMetadataPagingMetadata

Details on the paged set of results returned.

Query Content
Request
cURL
curl -X POST \ 'https://www.wixapis.com/translation-content/v1/contents/query' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \ --data-binary '{ "query": { "filter": { "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5" } } }'
Response
JSON
{ "contents": [ { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "publishStatus": "UNPUBLISHED", "previewField": "This is the title in English.", "fields": { "title": { "id": "title", "textValue": "This is the title in English.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 }, "description": { "id": "description", "richContent": { "nodes": [ { "type": "PARAGRAPH", "id": "qk4dj27", "nodes": [ { "type": "TEXT", "text_data": { "text": "This is the description in English." } } ] } ], "metadata": { "version": 1, "created_timestamp": "2019-10-30T17:22:10.299Z", "updated_timestamp": "2019-10-30T17:22:10.299Z", "id": "ee5c8167-31a2-4bdd-8f29-f376d1a36d11" } }, "updatedBy": "USER", "published": false, "schemaFieldKey": "description", "index": 2 }, "image(01)": { "id": "image(01)", "image": { "id": "2ac220f5-ffef-413c-854f-35c9ad0b1703", "url": "some-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 3 }, "image(02)": { "id": "image(02)", "image": { "id": "5bc220f5-ffef-413c-854f-35c9ad0a1492", "url": "other-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 4 } } } ], "pagingMetadata": { "count": 1, "has_next": false } }
Did this help?

POST

Search Contents


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of all translation content associated with a site that matches the search query, with optional data aggregation.

Note that this method allows you to retrieve all translation content for a site, regardless of which app created it.

Use this method to search translation content fields on a site for a given expression, and/or to perform data aggregations on a site's translation content fields.

For field support for filters, sorting, and free-text searching see Translation Content: Supported Filters, Sorting, and Search.

To learn more about working with the search query, see API Query Language and Sorting and Paging.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Translation Content + Published Content Read
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/translation-content/v1/contents/search

Body Params
searchSearch

Search query and aggregation information.

Response Object
contentsArray <Content>

List of translation content.


pagingMetadataPagingMetadata

Details on the paged set of results returned.


aggregationDataAggregationData

Aggregation data.

Query Content
Request
cURL
curl -X POST \ 'https://www.wixapis.com/translation-content/v1/contents/search' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \ --data-binary '{ "search": { "search": { "fields": [ "fields.textValue" ], "expression": "title" } } }'
Response
JSON
{ "contents": [ { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "publishStatus": "UNPUBLISHED", "previewField": "This is the title in English.", "fields": { "title": { "id": "title", "textValue": "This is the title in English.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 }, "description": { "id": "description", "richContent": { "nodes": [ { "type": "PARAGRAPH", "id": "qk4dj27", "nodes": [ { "type": "TEXT", "text_data": { "text": "This is the description in English." } } ] } ], "metadata": { "version": 1, "created_timestamp": "2019-10-30T17:22:10.299Z", "updated_timestamp": "2019-10-30T17:22:10.299Z", "id": "ee5c8167-31a2-4bdd-8f29-f376d1a36d11" } }, "updatedBy": "USER", "published": false, "schemaFieldKey": "description", "index": 2 }, "image(01)": { "id": "image(01)", "image": { "id": "2ac220f5-ffef-413c-854f-35c9ad0b1703", "url": "some-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 3 }, "image(02)": { "id": "image(02)", "image": { "id": "5bc220f5-ffef-413c-854f-35c9ad0a1492", "url": "other-image-url.jpg", "height": 1920, "width": 1920 }, "updatedBy": "USER", "published": false, "schemaFieldKey": "image()", "index": 4 } } } ], "pagingMetadata": { "count": 1, "has_next": false } }
Did this help?

POST

Bulk Create Content


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Creates multiple translation content items.

The content items are validated based on the constraints defined in the corresponding schema.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Write Translation Content
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/translation-content/v1/bulk/contents/create

Body Params
contentsArray <Content>RequiredminItems 1maxItems 100

List of translation content.


returnEntityboolean

Whether to include the created translation content items in the response. Set to true to receive the translation content items in the response.

Response Object
resultsArray <BulkContentResult>minItems 1maxItems 100

Items created by bulk action.


bulkActionMetadataBulkActionMetadata

Bulk action metadata.

Bulk Create Content
Request
cURL
curl -X POST \ 'https://www.wixapis.com/translation-content/v1/bulk/contents/create' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \ --data-binary '{ "contents": [ { "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "fields": { "title": { "id": "title", "textValue": "This is the title in English.", "updatedBy": "USER", "published": false } } }, { "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "fr-fr", "fields": { "title": { "id": "title", "textValue": "This is the title in French.", "updatedBy": "USER", "published": false } } } ], "returnEntity": true }'
Response
JSON
{ "results": [ { "itemMetadata": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "originalIndex": 0, "success": true }, "item": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "publishStatus": "UNPUBLISHED", "previewField": "This is the title in English.", "fields": { "title": { "id": "title", "textValue": "This is the title in English.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 } } } }, { "itemMetadata": { "id": "2ac220f5-ffef-413c-854f-35c9ad0b1703", "originalIndex": 1, "success": true }, "item": { "id": "2ac220f5-ffef-413c-854f-35c9ad0b1703", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": fr-fr", "publishStatus": "UNPUBLISHED", "previewField": "This is the title in French.", "fields": { "title": { "id": "title", "textValue": "This is the title in French.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 } } } } ], "bulkActionMetadata": { "totalSuccesses": 2, "totalFailures": 0, "undetailedFailures": 0 } }
Event TriggersThis method triggers the following events:
Did this help?

POST

Bulk Update Content


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates multiple translation content items by ID.

To remove a field, pass the field key with an empty object as the value. For example:

Copy
{ "fields": { "title": {} } }
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Write Translation Content
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/translation-content/v1/bulk/contents/update

Body Params
contentsArray <MaskedContent>RequiredminItems 1maxItems 100

Translation content items to update.


returnEntityboolean

Whether to include the updated translation content items in the response. Set to true to receive the translation content items in the response.

Response Object
resultsArray <BulkContentResult>minItems 1maxItems 100

Items created by bulk action.


bulkActionMetadataBulkActionMetadata

Bulk action metadata.

Bulk Update Content By ID
Request
cURL
curl -X POST \ 'https://www.wixapis.com/translation-content/v1/bulk/contents/update' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \ --data-binary '{ "contents": [ { "content": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "fields": { "title": { "textValue": "New title in English." } } } }, { "content": { "id": "2ac220f5-ffef-413c-854f-35c9ad0b1703", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "parentEntityId": "MyParentEntity-01" } } ], "returnEntity": true }'
Response
JSON
{ "results": [ { "itemMetadata": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "originalIndex": 0, "success": true }, "item": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "publishStatus": "UNPUBLISHED", "previewField": "New title in English.", "fields": { "title": { "id": "title", "textValue": "New title in English.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 } } } }, { "itemMetadata": { "id": "2ac220f5-ffef-413c-854f-35c9ad0b1703", "originalIndex": 1, "success": true }, "item": { "id": "2ac220f5-ffef-413c-854f-35c9ad0b1703", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "fr-fr", "publishStatus": "UNPUBLISHED", "parentEntityId": "MyParentEntity-01", "previewField": "This is the title in French.", "fields": { "title": { "id": "title", "textValue": "This is the title in French.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 } } } } ], "bulkActionMetadata": { "totalSuccesses": 2, "totalFailures": 0, "undetailedFailures": 0 } }
Event TriggersThis method triggers the following events:
Did this help?

POST

Bulk Update Content By Key


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Updates multiple translation content items using a unique key, which is a combination of contents.content.schemaId, contents.content.entityId, and contents.content.locale.

To remove a field, pass the field key with an empty object as the value. For example:

Copy
{ "fields": { "title": {} } }
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Write Translation Content
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/translation-content/v1/bulk/contents/update-by-key

Body Params
contentsArray <MaskedContent>RequiredminItems 1maxItems 100

Translation content items to update.


returnEntityboolean

Whether to include the created translation content items in the response. Set to true to receive the translation content items in the response.

Response Object
resultsArray <BulkContentResult>minItems 1maxItems 100

Items created by bulk action.


bulkActionMetadataBulkActionMetadata

Bulk action metadata.

Bulk Update Content By Key
Request
cURL
curl -X POST \ 'https://www.wixapis.com/translation-content/v1/bulk/contents/update-by-key' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \ --data-binary '{ "contents": [ { "content": { "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "fields": { "title": { "textValue": "New title in English." } } } }, { "content": { "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "fr-fr", "parentEntityId": "MyParentEntity-01" } } ], "returnEntity": true }'
Response
JSON
{ "results": [ { "itemMetadata": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "originalIndex": 0, "success": true }, "item": { "id": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "en-us", "publishStatus": "UNPUBLISHED", "previewField": "New title in English.", "fields": { "title": { "id": "title", "textValue": "New title in English.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 } } } }, { "itemMetadata": { "id": "2ac220f5-ffef-413c-854f-35c9ad0b1703", "originalIndex": 1, "success": true }, "item": { "id": "2ac220f5-ffef-413c-854f-35c9ad0b1703", "createdDate": "2019-10-30T17:22:10.299Z", "updatedDate": "2019-10-30T17:22:10.299Z", "schemaId": "a4caeb4e-81ce-4921-a8d3-1f58329acfc5", "entityId": "Product-001", "locale": "fr-fr", "publishStatus": "UNPUBLISHED", "parentEntityId": "MyParentEntity-01", "previewField": "This is the title in French.", "fields": { "title": { "id": "title", "textValue": "This is the title in French.", "updatedBy": "USER", "published": false, "schemaFieldKey": "title", "index": 1 } } } } ], "bulkActionMetadata": { "totalSuccesses": 2, "totalFailures": 0, "undetailedFailures": 0 } }
Event TriggersThis method triggers the following events:
Did this help?

POST

Bulk Delete Content


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Deletes multiple translation content items.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Wix Multilingual - Write Translation Content
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/translation-content/v1/bulk/contents/delete

Body Params
contentIdsArray <string>RequiredminItems 1maxItems 100format GUID

IDs of the translation content items to delete.

Response Object
resultsArray <BulkContentResult>minItems 1maxItems 100

Items created by bulk action.


bulkActionMetadataBulkActionMetadata

Bulk action metadata.

Bulk Delete Content
Request
cURL
curl -X POST \ 'https://www.wixapis.com/translation-content/v1/bulk/contents/delete' \ -H 'Authorization: <AUTH>' \ -H 'Content-Type: application/json' \ --data-binary '{ "contentIds": [ "3fe09f99-c64d-4205-a9a3-9a112550f4de", "b0da7456-a7b0-4967-be36-d31e32ccec73", "f93c2237-b749-43d0-a043-972e8c738d02", "39636d44-ff62-4de4-8068-43efb2561bbf", "b27f10ac-b451-4fde-ae88-76b91bca69a0" ] }'
Response
JSON
{ "results": [ { "itemMetadata": { "id": "3fe09f99-c64d-4205-a9a3-9a112550f4de", "originalIndex": 0, "success": true }, { "itemMetadata": { "id": "b0da7456-a7b0-4967-be36-d31e32ccec73", "originalIndex": 1, "success": true }, "itemMetadata": { "id": "f93c2237-b749-43d0-a043-972e8c738d02", "originalIndex": 2, "success": true }, { "itemMetadata": { "id": "39636d44-ff62-4de4-8068-43efb2561bbf", "originalIndex": 3, "success": true }, "itemMetadata": { "id": "b27f10ac-b451-4fde-ae88-76b91bca69a0", "originalIndex": 4, "success": true }, ], "bulkActionMetadata": { "totalSuccesses": 5, "totalFailures": 0, "undetailedFailures": 0 } }
Event TriggersThis method triggers the following events:
Did this help?

Content Created


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Triggered when translation content is created.

Permissions
Wix Multilingual - Translation Content + Published Content Read
Learn more about app permissions.
Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
idstring

Unique event ID. Allows clients to ignore duplicate webhooks.


entityFqdnstring

Fully qualified domain name of the entity associated with the event. Expected wix.multilingual.translation.v1.content.


slugstring

Event name. Expected created.


entityIdstring

ID of the entity associated with the event.


eventTimestringformat date-time

Event timestamp.


triggeredByAnonymizeRequestboolean

Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).


originatedFromstring

If present, indicates the action that triggered the event.


createdEventCreatedEvent

Event information.

Event Body

The data payload will include the following as an encoded JWT:

JSON
{ "data": { "eventType": "wix.multilingual.translation.v1.content_created", "instanceId": "<app-instance-id>", "data": "<stringified-JSON>", // The identity field is sent as a stringified JSON "identity": { "identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP "anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR "memberId": "<memberId>", // in case of MEMBER "wixUserId": "<wixUserId>", // in case of WIX_USER "appId": "<appId>" // in case of APP } } }

ContentCreated
JSON
{ "id": "52269077-05f2-4b59-ba4f-36ef8c4c1e11", "entityFqdn": "wix.multilingual.translation.content.v1.content", "slug": "created", "entityId": "8046df3c-7575-4098-a5ab-c91ad8f33c47", "createdEvent": { "entityAsJson": "{\"content\": {\"id\": \"8046df3c-7575-4098-a5ab-c91ad8f33c47\", \"createdDate\": \"2019-10-30T17:22:10.299Z\", \"updatedDate\": \"2019-10-30T17:22:10.299Z\", \"schemaId\": \"a4caeb4e-81ce-4921-a8d3-1f58329acfc5\", \"entityId\": \"Product-001\", \"locale\": \"en-us\", \"publishStatus\": \"UNPUBLISHED\", \"previewField\": \"this is the title in english\", \"fields\": {\"title\": {\"id\": \"title\", \"textValue\": \"this is the title in english\", \"updatedBy\": \"USER\", \"published\": false, \"schemaFieldKey\": \"title\", \"index\": 1 }, \"description\": {\"id\": \"description\", \"rich_content\": {\"nodes\": [ {\"type\": \"PARAGRAPH\", \"id\": \"qk4dj27\", \"nodes\": [ {\"type\": \"TEXT\", \"text_data\": {\"text\": \"this is the description in english.\",}}]}], \"metadata\": {\"version\": 1, \"created_timestamp\": \"2019-10-30T17:22:10.299Z\", \"updated_timestamp\": \"2019-10-30T17:22:10.299Z\", \"id\": \"ee5c8167-31a2-4bdd-8f29-f376d1a36d11\" }}, \"updatedBy\": \"USER\", \"published\": false, \"schemaFieldKey\": \"description\", \"index\": 2 }, \"image(01)\": {\"id\": \"image(01)\", \"image\": {\"id\": \"some-image-id\", \"url\": \"some-image-url.jpg\", \"height\": 1920, \"width\": 1920 }, \"updatedBy\": \"USER\", \"published\": false, \"schemaFieldKey\": \"image()\", \"index\": 3 }, \"image(02)\": {\"id\": \"image(02)\", \"image\": {\"id\": \"other-image-id\", \"url\": \"other-image-url.jpg\", \"height\": 1920, \"width\": 1920 }, \"updatedBy\": \"USER\", \"published\": false, \"schemaFieldKey\": \"image()\", \"index\": 4 }}}}" }, "eventTime": "2020-10-18T13:40:58.304800Z", "triggeredByAnonymizeRequest": false }
Did this help?

Content Deleted


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Triggered when translation content is deleted.

Permissions
Wix Multilingual - Translation Content + Published Content Read
Learn more about app permissions.
Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
idstring

Unique event ID. Allows clients to ignore duplicate webhooks.


entityFqdnstring

Fully qualified domain name of the entity associated with the event. Expected wix.multilingual.translation.v1.content.


slugstring

Event name. Expected deleted.


entityIdstring

ID of the entity associated with the event.


eventTimestringformat date-time

Event timestamp.


triggeredByAnonymizeRequestboolean

Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).


originatedFromstring

If present, indicates the action that triggered the event.


deletedEventstruct

Event information.

Event Body

The data payload will include the following as an encoded JWT:

JSON
{ "data": { "eventType": "wix.multilingual.translation.v1.content_deleted", "instanceId": "<app-instance-id>", "data": "<stringified-JSON>", // The identity field is sent as a stringified JSON "identity": { "identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP "anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR "memberId": "<memberId>", // in case of MEMBER "wixUserId": "<wixUserId>", // in case of WIX_USER "appId": "<appId>" // in case of APP } } }
Did this help?

Content Updated


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Triggered when translation content is updated.

Permissions
Wix Multilingual - Translation Content + Published Content Read
Learn more about app permissions.
Event BodyEvent Body Event data is received as a JSON Web Token (JWT). It may be delayed. Be sure to verify the data was sent by Wix.
Event Data
idstring

Unique event ID. Allows clients to ignore duplicate webhooks.


entityFqdnstring

Fully qualified domain name of the entity associated with the event. Expected wix.multilingual.translation.v1.content.


slugstring

Event name. Expected updated.


entityIdstring

ID of the entity associated with the event.


eventTimestringformat date-time

Event timestamp.


triggeredByAnonymizeRequestboolean

Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).


originatedFromstring

If present, indicates the action that triggered the event.


updatedEventUpdatedEvent

Event information.

Event Body

The data payload will include the following as an encoded JWT:

JSON
{ "data": { "eventType": "wix.multilingual.translation.v1.content_updated", "instanceId": "<app-instance-id>", "data": "<stringified-JSON>", // The identity field is sent as a stringified JSON "identity": { "identityType": "<identityType>", // ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP "anonymousVisitorId": "<anonymousVisitorId>", // in case of ANONYMOUS_VISITOR "memberId": "<memberId>", // in case of MEMBER "wixUserId": "<wixUserId>", // in case of WIX_USER "appId": "<appId>" // in case of APP } } }
Did this help?