Skip to content

Get localizations​

GET
/api/v2/localizations

Returns a paginated list of settings localizations

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Responses​

Localization list

application/json
JSON
{
  
"count": 10,
  
"totalCount": 25,
  
"limit": 50,
  
"offset": 25,
  
"data": [
  
]
}

Playground​

Authorization

Samples​


Create localization​

POST
/api/v2/localizations

Create a new localization; missing phrase keys are filled with empty string

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
"string"

Responses​

Localization created

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Body

Samples​


Get localization by ID​

GET
/api/v2/localizations/{id}

Returns a single localization with phrases

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Localization ID

Type
integer
Required
Format
"int64"

Responses​

Localization object with phrases

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​


Delete localization​

DELETE
/api/v2/localizations/{id}

Soft-deletes a localization

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Localization ID

Type
integer
Required
Format
"int64"

Responses​

Localization deleted successfully

Playground​

Authorization
Variables
Key
Value

Samples​


Update localization​

PATCH
/api/v2/localizations/{id}

Partial update; only present fields and phrase keys are updated

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Localization ID

Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
"string"

Responses​

Localization updated

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Duplicate localization​

POST
/api/v2/localizations/{id}/duplicate

Creates a copy of the localization and all its phrases

Authorizations​

bearerAuth
Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Source localization ID to copy

Type
integer
Required
Format
"int64"

Request Body​

application/json
JSON
"string"

Responses​

Localization duplicated

application/json
JSON
{
  
"data": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​


Delete multiple localizations​

POST
/api/v2/localizations/bulk-delete

Deletes multiple localizations

Authorizations​

bearerAuth
Type
HTTP (bearer)

Request Body​

application/json
JSON
{
  
"ids": [
  
  
[
  
  
  
1,
  
  
  
2,
  
  
  
3
  
  
]
  
]
}

Responses​

Localizations deleted successfully

Playground​

Authorization
Body

Samples​


Powered by VitePress OpenAPI