Related pages

HTTP API

Content creation

Using our API to order content creation is as easy as ordering a translation or localization of an existing text. You send a content request that is largely identical to such, but there are a few things you need to keep in mind.

Source and target language

For content creation requests, it's important to specify the language in which the content is to be created in both the 'source language' and 'target language' fields. This means that if the content is intended to be written in British English, for instance, both the source and target language should be set to 'en-GB'.

Example:

{
  ...,
  "language": {
    "source": "en-GB",
    "target": "en-GB"
  },
  ...
}

Hints

Think of hints as instructions and requirements for the content to create. Hints are specified for each Field, and might include links to reference pages and images and also constraints for content length.

Example:

{
  ...,
  "hints": [
    {
      "type": "free-text",
      "text": "Summarize product description for Coffee Brewer A"
    },
    {
      "type": "word-count",
      "around": 15
    }
  ],
  ...
}

More details

More details on Content Creation might be found on the concept-page and in the examples section of the Fields page.