younifyd
Menu

Create Language

Create a language

POST/v2/projects/{environment_id}/languages

Use it in a workflow

  1. Add a step and choose the Kontent.ai connector.
  2. Pick the Create Language action (under Languages).
  3. Fill in the fields below, then reference the result from later steps as {{createLanguage.response.data}}.

Request

Path parameters

environment_idstringrequired

Environment (project) ID.

Request body

Enter the body as JSON in the step's Body field.

namestringrequired
codenamestringrequired
external_idstring
fallback_languageobject
idstring
codenamestring
external_idstring
is_activeboolean
json
{
  "name": "string",
  "codename": "string",
  "external_id": "string",
  "fallback_language": {
    "id": "string",
    "codename": "string",
    "external_id": "string"
  },
  "is_active": false
}

Response

Returns 201 with an object. Read it in later steps with {{createLanguage.response.data.<field>}}.

Need more? See the Kontent.ai guide for connection setup and behaviour shared by every action.