Skip to Content
Docs
API referenceManagement API

Localization

GET
/branding/localization

Returns the instance's locale configuration. An instance that has never configured localization gets defaults rather than a 404. enabled_locales is what the OIDC discovery document advertises as ui_locales_supported.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Response Body

OK

application/json
  1. response
created_at?string
default_locale?string

DefaultLocale is what locale negotiation falls back to, and the locale the widget markup itself is authored in.

enabled_locales?array<string>

EnabledLocales excludes the default, which is implicitly enabled.

This is what the OIDC discovery document's ui_locales_supported advertises — a public conformance claim, so it describes what the project can actually render rather than a fixed list.

object?string
updated_at?string
updated_by?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/branding/localization'
Example Response
{  "created_at": "string",  "default_locale": "string",  "enabled_locales": [    "string"  ],  "object": "string",  "updated_at": "string",  "updated_by": "string"}
PATCH
/branding/localization

Partial update of the instance's locale configuration. Omitted fields are unchanged. The default locale is implicitly enabled and is never stored in enabled_locales.

Authorization

headerx-pontive-instance-id<token>

Instance ID for the request

Header Parameters

If-Match?string

The ETag the document was read with: a stale one is refused 412 precondition_failed (D42)

Request Body

Update Localization Settings Request

application/json
  1. body

Update Localization Settings Request

default_locale?string
enabled_locales?array<string>

A pointer so that an explicit empty array ("disable every extra locale") is distinguishable from omitting the field.

Response Body

OK

application/json
  1. response
created_at?string
default_locale?string

DefaultLocale is what locale negotiation falls back to, and the locale the widget markup itself is authored in.

enabled_locales?array<string>

EnabledLocales excludes the default, which is implicitly enabled.

This is what the OIDC discovery document's ui_locales_supported advertises — a public conformance claim, so it describes what the project can actually render rather than a fixed list.

object?string
updated_at?string
updated_by?string
Example Request
curl -X PATCH 'https://api.us.pontive.com/v1/branding/localization' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "created_at": "string",  "default_locale": "string",  "enabled_locales": [    "string"  ],  "object": "string",  "updated_at": "string",  "updated_by": "string"}