Add a language
POST https://manage.kontent.ai/v2/projects/:environment_id/languages
Create new languages in your environment. For each active language, you can create localized content using language variants.
Request Body
{"name"=>"<string>", "codename"=>"<string>", "id"=>"<string>", "external_id"=>"<string>", "is_active"=>"<boolean>", "is_default"=>"<boolean>", "fallback_language"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"2ea66788-d3b8-5ff5-b37e-258502e4fd5d","name":"German (Germany)","codename":"de-DE","external_id":"standard-german","is_active":true,"is_default":false,"fallback_language":{"id":"00000000-0000-0000-0000-000000000000"}}