Skip to main content
POST
/
v2
/
create
Generate new Lilt Create content
curl --request POST \
  --url https://api.lilt.com/v2/create \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "language": "<string>",
  "template": "<string>",
  "templateParams": {
    "language": "<string>",
    "contentLength": 123,
    "memoryId": 123,
    "sections": [
      "<string>"
    ],
    "summary": "<string>"
  },
  "name": "<string>",
  "preferences": {
    "tone": "<string>",
    "styleguide": "<string>"
  }
}
'
This response has no body data.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Input parameters that determine what content will be generated.

Content Parameters for LiltCreate.

language
string
required

The language of the content.

template
string
required

The template of the content.

templateParams
object
required

The template parameters of the content.

name
string

A name for the request content.

preferences
object

The preferences of the content.

Response