SimpleLocalize · Capability
SimpleLocalize API — Translations
SimpleLocalize API — Translations. 2 operations. Lead operation: Create or Update Translation. Self-contained Naftiko capability covering one Simplelocalize business surface.
What You Can Do
POST
Createorupdatetranslation
— Create or Update Translation
/v1/api/v1/translations
GET
Listtranslations
— List Translations
/v1/api/v2/translations
MCP Tools
create-update-translation
Create or Update Translation
list-translations
List Translations
read-only
idempotent
Capability Spec
naftiko: 1.0.0-alpha2
info:
label: SimpleLocalize API — Translations
description: 'SimpleLocalize API — Translations. 2 operations. Lead operation: Create or Update Translation. Self-contained
Naftiko capability covering one Simplelocalize business surface.'
tags:
- Simplelocalize
- Translations
created: '2026-05-19'
modified: '2026-05-19'
binds:
- namespace: env
keys:
SIMPLELOCALIZE_API_KEY: SIMPLELOCALIZE_API_KEY
capability:
consumes:
- type: http
namespace: simplelocalize-translations
baseUri: https://api.simplelocalize.io
description: SimpleLocalize API — Translations business capability. Self-contained, no shared references.
resources:
- name: api-v1-translations
path: /api/v1/translations
operations:
- name: createorupdatetranslation
method: POST
description: Create or Update Translation
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: body
in: body
type: object
description: Request body (JSON).
required: true
- name: api-v2-translations
path: /api/v2/translations
operations:
- name: listtranslations
method: GET
description: List Translations
outputRawFormat: json
outputParameters:
- name: result
type: object
value: $.
inputParameters:
- name: text
in: query
type: string
description: Search translated text using case-insensitive partial matching
- name: textStatus
in: query
type: string
description: Filter by translation completeness
- name: reviewsStatus
in: query
type: string
description: Filter by review status
- name: key
in: query
type: string
description: Exact match filter for translation key
- name: namespace
in: query
type: string
description: Exact match filter for translation namespace
- name: language
in: query
type: string
description: Exact match filter for language identifier
- name: customerId
in: query
type: string
description: Filter for customer-specific translations
- name: page
in: query
type: integer
description: Pagination page number
- name: size
in: query
type: integer
description: Results per page (maximum 500)
authentication:
type: bearer
token: '{{env.SIMPLELOCALIZE_API_KEY}}'
exposes:
- type: rest
namespace: simplelocalize-translations-rest
port: 8080
description: REST adapter for SimpleLocalize API — Translations. One Spectral-compliant resource per consumed operation,
prefixed with /v1.
resources:
- path: /v1/api/v1/translations
name: api-v1-translations
description: REST surface for api-v1-translations.
operations:
- method: POST
name: createorupdatetranslation
description: Create or Update Translation
call: simplelocalize-translations.createorupdatetranslation
with:
body: rest.body
outputParameters:
- type: object
mapping: $.
- path: /v1/api/v2/translations
name: api-v2-translations
description: REST surface for api-v2-translations.
operations:
- method: GET
name: listtranslations
description: List Translations
call: simplelocalize-translations.listtranslations
with:
text: rest.text
textStatus: rest.textStatus
reviewsStatus: rest.reviewsStatus
key: rest.key
namespace: rest.namespace
language: rest.language
customerId: rest.customerId
page: rest.page
size: rest.size
outputParameters:
- type: object
mapping: $.
- type: mcp
namespace: simplelocalize-translations-mcp
port: 9090
transport: http
description: MCP adapter for SimpleLocalize API — Translations. One tool per consumed operation, routed inline through
this capability's consumes block.
tools:
- name: create-update-translation
description: Create or Update Translation
hints:
readOnly: false
destructive: false
idempotent: false
call: simplelocalize-translations.createorupdatetranslation
with:
body: tools.body
outputParameters:
- type: object
mapping: $.
- name: list-translations
description: List Translations
hints:
readOnly: true
destructive: false
idempotent: true
call: simplelocalize-translations.listtranslations
with:
text: tools.text
textStatus: tools.textStatus
reviewsStatus: tools.reviewsStatus
key: tools.key
namespace: tools.namespace
language: tools.language
customerId: tools.customerId
page: tools.page
size: tools.size
outputParameters:
- type: object
mapping: $.