Skip to content
Leadtime
English
Esc
navigateopen⌘Jpreview

Update preferred language

Updates the user’s preferred language for the application interface. Supported languages: en (English) or de (German). This affects the language of UI elements, notifications, and other system messages.

POST/account/language
Authorization
AuthorizationOAuth2 access token · headerrequired
Scopes:api:write
or
AuthorizationBearer token (JWT) · headerrequired
Request body
requiredapplication/json
languagestringrequired
Preferred language code
Allowed:ende
Responses
200
successbooleanrequired
Operation success flag
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
404User not found
Request
curl -X POST "https://leadtime.app/api/public/account/language" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "language": "en"
}'
Response
{
  "success": true
}