GET

Get Content


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
Wix Multilingual - Translation API
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 } } } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?