1. Translations
Clonable API
  • URL translations
    • Resolve
      POST
    • Resolve Bulk
      POST
    • Create
      POST
    • Create Bulk
      POST
  • Translations
    • Create
      POST
  • Health
    GET
  • Ready
    GET
  • Schemas
    • URL translations
      • Translation Response
      • Create Request
  1. Translations

Create

POST
https://api.clonable.net/v2/translations
Translate a given content type for a clone. See content_type field to see which Content-Types are support by Clonable.
Content-Type
There are 2 types of content types:
The body field: content_type indicates the format of the content body field.
The request header: Content-Type indicates the format of the body itself (in most cases application/json)
translation_done indicates whether the entire translation was made. In the following cases translation_done could be false:
A large translation was partially made
You've hid the translation limit of your subscription
If a request is partially translation, you can retry the entire request, if your out of translation credits a retry will always result in a translation_done false response.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
A successfull translation of the given content
Bodyapplication/json

🟠401Unauthenticated
🟠403Unauthorized
🟠422Unprocessable Entity
🔴502Gateway Failure
🔴503Gateway Unavailable
Request Request Example
Shell
JavaScript
Java
Go
curl --location 'https://api.clonable.net/v2/translations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "clone_id": "Jzsxq2OVLk7dfb2s",
    "content_type": "text/html",
    "content": "<ul id=\"todo\" class=\"list-disc list-inside\"><li>First item</li><li class=\"highlight\">Second item</li></ul>"
}'
Response Response Example
200 - HTML translation
{
    "translation": "<ul id=\"todo\" class=\"list-disc list-inside\"><li>Eerste onderdeel</li><li class=\"highlight\">Tweede onderdeel</li></ul>",
    "translation_done": true
}
Modified at 2026-11-02 10:31:16
Previous
Translations
Next
Health
Built with