Skip to content

Update Preferred Language

Updates the preferred language for the authenticated tenant. The language is used for all outgoing emails (verification, and future document emails).

PATCH /v1/tenants/language

Authentication

Bearer token — API key required.

Request body

json
{
  "language": "en"
}
FieldTypeRequiredDescription
languagestringYesLanguage code. Supported values: es, en

Response

json
{
  "ok": true
}

Errors

StatusCodeWhen
400VALIDATION_ERRORlanguage is missing or not a supported value
401UNAUTHORIZEDMissing or invalid API key
403FORBIDDENAccount is suspended
429TOO_MANY_REQUESTSRate limit exceeded

Notes

  • The language set at registration (POST /v1/register) is used as the initial value (default es).
  • This endpoint allows updating the language after registration without re-registering.
  • Supported languages: es (Spanish), en (English).
  • The language preference applies to all email types — currently verification emails, and document emails in a future release.

Comprobify API Documentation