POST /language/{lang}/{key}

Create a new language translation key

Create a new language translation key
KeyTypeExampleDescription
langrequiredstring
"example-string"
keyrequiredstring
"example-string"
KeyTypeExampleDescription
authorizationrequiredstring
"Bearer access_token"
Access token
KeyTypeExampleDescription
valueoptionalstring
"example-string"
{
  "_meta": {
    "created": 42,
    "entity": 42,
    "guid": "example-string",
    "update_hash": "example-string",
    "updated": 42
  },
  "key": "example-string",
  "language": "example-string",
  "translation": "example-string"
}
{
  "code": 401,
  "error": "INVALID_ACCESS_TOKEN"
}
StatusError CodeDescription
401INVALID_ACCESS_TOKENAuthentication required or invalid token
403INSUFFICIENT_PERMISSIONSInsufficient permissions for this operation
PermissionDescription
Bearer tokenAccess token required via Authorization header, x-authtoken, x-token, query param, or cookie
language_createRequired scope: language_create

Back to Languages Return to the Languages category to view other endpoints All API Categories Browse all available API categories