EndpointsContent translationsLanguages
Add a content language
The API runs on your application instance. Schemas and field names come directly from the OpenAPI specification. Session-authenticated requests require a session on that instance.
POST
Requires an administrator browser session. The first language becomes the canonical default.
bearerAuthheader
AuthorizationBearer <inv_ token>X-Organization-ID?stringOrganization membership selected for this request. User-bound credentials may select any active membership; standalone tokens may only repeat their pinned organization ID.
Format
uuidapplication/json- body
code*stringLength
2 <= length <= 35label*stringLength
1 <= length <= 120isDefault?booleanDefault
falseautoTranslate?booleanDefault
trueinstructions?stringLength
length <= 5000position?integerRange
0 <= value <= 100000Language added
curl -X POST 'https://inventory.example.com/api/v1/languages' \ -H 'Content-Type: application/json' \ -d '{ "code": "de", "label": "German"}'Example Response
Empty