Skip to content
Leadtime
English
Esc
↑↓navigate↵open⌘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

401

Unauthorized - Invalid or missing authentication token

403

Forbidden - Insufficient API scopes or permissions

404

User not found

Try it
Server
Authorization
Bodyapplication/json
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
}