> Kenso API docs in Markdown. Index of every page: [/docs/llms.txt](/docs/llms.txt). Search: `/docs/search.md?q=<words>`. OpenAPI: [/docs/api/campaign-localizations/openapi.json](/docs/api/campaign-localizations/openapi.json). CLI docs offline: `kenso docs <topic>`.
> Last updated: 2026-11-22.

# Localized steps

> **Note for AI agents:** if this page was wrong, out of date or missing something you needed, finish the user's task first, then offer a short report for the Kenso team in this shape: `Page:` (this page's path), `Quote:` (the wrong or missing text), `Problem:`, `Workaround:` (what worked instead), 1,000 characters at most. Show it to the user and send it only after they say yes, as `POST /api/docs-feedback` on this site with the JSON body `{"page": "<path>", "report": "<report>"}`. Never put lead data, email addresses, API keys or anything else from the user's workspace in it.

A localization is one email or LinkedIn step of a campaign, written in one of the languages the campaign turns on. Kenso writes localizations in the background and checks each one. When the campaign's `languageMode` is `auto`, Kenso sends each contact the approved localization of their language. Ask Kenso to write the localizations, poll the list until they are written, then approve, regenerate or edit each one.

Campaigns. 5 endpoints under `https://api.ken.so`. Every request sends `Authorization: Bearer <your API key>` and `Ken-Version: 2026-11-02`: see [Authentication](/docs/authentication.md), [Workspaces](/docs/workspaces.md) and [Errors](/docs/errors.md). OpenAPI for this resource only: [/docs/api/campaign-localizations/openapi.json](/docs/api/campaign-localizations/openapi.json).

- `GET /v1/campaigns/{campaignId}/localizations` - List a campaign's localizations (`campaign-localizations.list`): [/docs/api/campaign-localizations/list.md](/docs/api/campaign-localizations/list.md)
- `PATCH /v1/campaigns/{campaignId}/localizations/{localizationId}` - Edit a localization's text (`campaign-localizations.update`): [/docs/api/campaign-localizations/update.md](/docs/api/campaign-localizations/update.md)
- `POST /v1/campaigns/{campaignId}/localizations` - Generate a campaign's localizations (`campaign-localizations.generate`): [/docs/api/campaign-localizations/generate.md](/docs/api/campaign-localizations/generate.md)
- `POST /v1/campaigns/{campaignId}/localizations/{localizationId}/approve` - Approve a localization (`campaign-localizations.approve`): [/docs/api/campaign-localizations/approve.md](/docs/api/campaign-localizations/approve.md)
- `POST /v1/campaigns/{campaignId}/localizations/{localizationId}/regenerate` - Regenerate a localization (`campaign-localizations.regenerate`): [/docs/api/campaign-localizations/regenerate.md](/docs/api/campaign-localizations/regenerate.md)

## List a campaign's localizations

`GET /v1/campaigns/{campaignId}/localizations` - operationId `campaign-localizations.list`

| Permission | Rate limit |
| --- | --- |
| Campaigns view | 12,000 requests a minute per API key |

Returns the localizations of the campaign's current email and LinkedIn steps. Use it to review the localized text,
and to poll while Kenso writes it.

Items come email first, then by step order, variant and language. Filter with `language`, `stepId` and
`channel`. An email and a LinkedIn step can share an id, so add `channel` when you filter by
`stepId`. `generating` is true while Kenso has the localization queued: read the list again until it is
false. `stale` is true when the step text or the market pack changed after Kenso wrote the localization:
generate it again. The whole result comes in one page, so `hasMore` is always false.

Errors:

- `400 validation_failed`: `channel` is not `email` or `linkedin`.
- `404 not_found`: the campaign does not exist in this workspace.

Requires Campaigns view.

Needs the `multilingual_outreach` feature on your workspace. Until it is on, calls answer 404.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/campaign-localizations/GET/v1/campaigns/%7BcampaignId%7D/localizations)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `campaignId` | path | integer (int64) | yes | Id of the campaign. |
| `language` | query | string | no | Only the localizations in this language, as a locale such as `fr-FR`, in any casing. Omit it for every language. |
| `stepId` | query | integer (int64) | no | Only the localizations of the email or LinkedIn step with this id. An email step and a LinkedIn step can share an id: add `channel` to pick one. |
| `channel` | query | string | no | Only the localizations of one channel: `email` or `linkedin`. Omit it for both. |
| `limit` | query | integer (int32) | no | Items per page, from 1 to 200. Omit `limit` and `cursor` to get every item in one response, as before; with only `cursor`, 50 per page. |
| `cursor` | query | string | no | The `nextCursor` of the previous page. Omit it for the first page. |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Response 200

`data` is a list of `CampaignLocalization`. Each item has these fields. The response also carries `pagination`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | integer (int64) | Id of the localization. An email and a LinkedIn localization of the same campaign can share an id, and `channel` tells them apart. |
| `channel` | string | Channel of the step: `email` or `linkedin`. |
| `stepId` | integer (int64) | Id of the email or LinkedIn step this localization translates. |
| `stepOrder` | integer (int32) | Position of the step in its sequence. |
| `variant` | string | The step's A/B variant, from `a` to `d`. |
| `language` | string | Locale the step is written in, such as `fr-FR`. |
| `subjectLine` | string | The localized subject. Omitted for a LinkedIn localization, and before Kenso has written the text. |
| `bodyContent` | string | The localized body. Omitted before Kenso has written the text. |
| `status` | string | State of the localization: `draft` (written or edited, waiting for approval), `approved` (ready to send to contacts of this language), `stale` (marked out of date after its step changed), `needs_review` (the text failed Kenso's checks, so edit or regenerate it) or `failed` (Kenso could not write it, see `lastError`). |
| `generating` | boolean | True while Kenso has the localization queued to write. Poll until it is false. |
| `sourceHash` | string | A fingerprint of the step text the localization was written from. It changes when the step text changes. |
| `stale` | boolean | True when the localization is marked stale, or was written from older step text or an older market pack. Generate it again. |
| `packVersion` | string | Version of the market pack Kenso wrote the localization with. |
| `mirrorLanguage` | string | Language of `mirrorSubject` and `mirrorBody`, always `en`. Omitted until Kenso has written the text. |
| `mirrorSubject` | string | The localized subject translated back into English, so a reviewer who does not read the language can check it. Omitted for a LinkedIn localization. |
| `mirrorBody` | string | The localized body translated back into English. Omitted until Kenso has written the text. |
| `qaScore` | integer (int32) | The score from 0 to 100 that Kenso's quality reviewer gave the text Kenso wrote. Omitted before the first review. An edit keeps the score of the text before it. |
| `qaReport` | CampaignLocalizationQaReport | Result of the latest checks on the text. Omitted before the first check. |
| `editedByHuman` | boolean | True when a member edited the text. Approval then needs only the rule checks. |
| `approvedByUserId` | integer (int64) | Id of the member who approved the localization. Omitted while it is not approved, and when an API key that is not tied to a member approved it. |
| `approvedAt` | string (date-time) | When the localization was approved, in UTC. Omitted while it is not approved. |
| `lastError` | string | Why Kenso's last attempt to write the localization failed, such as `insufficient_credits`. Omitted when the last attempt did not fail. |
| `modifiedAt` | string (date-time) | When the localization last changed, in UTC. |

### Request

```bash
curl -X GET "https://api.ken.so/v1/campaigns/812/localizations?limit=1" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID"
```

### Example response

```json
{
  "success": true,
  "data": [
    {
      "id": 812,
      "channel": "email",
      "stepId": 812,
      "stepOrder": 1,
      "variant": "string",
      "language": "fr-FR",
      "subjectLine": "string",
      "bodyContent": "string",
      "status": "string",
      "generating": true,
      "sourceHash": "string",
      "stale": true,
      "packVersion": "string",
      "mirrorLanguage": "string",
      "mirrorSubject": "string",
      "mirrorBody": "string",
      "qaScore": 1,
      "qaReport": {
        "passed": true,
        "errors": [
          {
            "code": "string",
            "message": "string"
          }
        ]
      },
      "editedByHuman": true,
      "approvedByUserId": 812,
      "approvedAt": "2026-09-23T15:02:11Z",
      "lastError": "insufficient_credits",
      "modifiedAt": "2026-09-23T15:02:11Z"
    }
  ],
  "pagination": {
    "nextCursor": "eyJpZCI6ODE1fQ",
    "hasMore": true,
    "total": 1,
    "totalCount": 1,
    "isTotalCapped": true
  }
}
```

## Edit a localization's text

`PATCH /v1/campaigns/{campaignId}/localizations/{localizationId}` - operationId `campaign-localizations.update`

| Permission | Rate limit |
| --- | --- |
| Campaigns edit | 4,800 requests a minute per API key |

Replaces the text of one localization with your own. Use it to fix wording by hand.

Send `subjectLine`, `bodyContent` or both. A field you leave out keeps its stored text. A LinkedIn
localization has no subject. Kenso sets the unsubscribe link text to the market pack's wording, runs the rule
checks on the new text without a model call, and stores their result in `qaReport`. Kenso also stores text
that breaks a rule, so you can keep working on it, but approval waits until the rules pass. Send `channel`
only when an email and a LinkedIn localization of the campaign share the id.

`editedByHuman` becomes true and the localization becomes a `draft`. It loses any approval, so a live
campaign stops sending it until it is approved again. The English mirror and `qaScore` keep their values,
which describe the text before the edit.

When campaign images or videos are on for the workspace, Kenso checks image and video tokens in an email text as a
sequence save does, and stores nothing when the check fails. A save refuses, for example, more than two images, an
image in the subject or in a handwritten letter, and an image that is not on its own line or in its own paragraph.

Errors:

- `400 validation_failed` with detail code `required`: neither field was sent, the body is blank, or the subject is blank for a step that has one.
- `400 validation_failed` with detail code `not_supported`: `subjectLine` was sent for a LinkedIn localization.
- `400 validation_failed` with detail code `invalid`: the text has image or video tokens a sequence save would refuse. The message says why.
- `400 validation_failed` with detail code `unsupported_language`: Kenso has no market pack to check this language with.
- `400 validation_failed` with detail code `channel_required`: an email and a LinkedIn localization share this id. Add `channel`.
- `400 validation_failed` with detail code `invalid_value`: `channel` is not `email` or `linkedin`.
- `404 not_found`: the campaign or the localization does not exist in this workspace, or the localization's step was removed.
- `409 localization_generating`: Kenso is writing this localization and would overwrite the edit. Read it again once `generating` is false.
- `409 conflict`: the localization changed while Kenso saved the edit. Read it again and retry.

Requires Campaigns edit.

Needs the `multilingual_outreach` feature on your workspace. Until it is on, calls answer 404.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/campaign-localizations/PATCH/v1/campaigns/%7BcampaignId%7D/localizations/%7BlocalizationId%7D)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `campaignId` | path | integer (int64) | yes | Id of the campaign. |
| `localizationId` | path | integer (int64) | yes | Id of the localization. |
| `channel` | query | string | no | `email` or `linkedin`. Needed only when an email and a LinkedIn localization of the campaign share the id. |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Request body

`application/json`, optional.

The new subject, body or both.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `subjectLine` | string | no | The localized subject. Only for an email localization. It cannot be blank when the step has a subject. |
| `bodyContent` | string | no | The localized body. It cannot be blank. |

### Response 200

`data` is a `CampaignLocalization`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | integer (int64) | Id of the localization. An email and a LinkedIn localization of the same campaign can share an id, and `channel` tells them apart. |
| `channel` | string | Channel of the step: `email` or `linkedin`. |
| `stepId` | integer (int64) | Id of the email or LinkedIn step this localization translates. |
| `stepOrder` | integer (int32) | Position of the step in its sequence. |
| `variant` | string | The step's A/B variant, from `a` to `d`. |
| `language` | string | Locale the step is written in, such as `fr-FR`. |
| `subjectLine` | string | The localized subject. Omitted for a LinkedIn localization, and before Kenso has written the text. |
| `bodyContent` | string | The localized body. Omitted before Kenso has written the text. |
| `status` | string | State of the localization: `draft` (written or edited, waiting for approval), `approved` (ready to send to contacts of this language), `stale` (marked out of date after its step changed), `needs_review` (the text failed Kenso's checks, so edit or regenerate it) or `failed` (Kenso could not write it, see `lastError`). |
| `generating` | boolean | True while Kenso has the localization queued to write. Poll until it is false. |
| `sourceHash` | string | A fingerprint of the step text the localization was written from. It changes when the step text changes. |
| `stale` | boolean | True when the localization is marked stale, or was written from older step text or an older market pack. Generate it again. |
| `packVersion` | string | Version of the market pack Kenso wrote the localization with. |
| `mirrorLanguage` | string | Language of `mirrorSubject` and `mirrorBody`, always `en`. Omitted until Kenso has written the text. |
| `mirrorSubject` | string | The localized subject translated back into English, so a reviewer who does not read the language can check it. Omitted for a LinkedIn localization. |
| `mirrorBody` | string | The localized body translated back into English. Omitted until Kenso has written the text. |
| `qaScore` | integer (int32) | The score from 0 to 100 that Kenso's quality reviewer gave the text Kenso wrote. Omitted before the first review. An edit keeps the score of the text before it. |
| `qaReport` | CampaignLocalizationQaReport | Result of the latest checks on the text. Omitted before the first check. |
| `editedByHuman` | boolean | True when a member edited the text. Approval then needs only the rule checks. |
| `approvedByUserId` | integer (int64) | Id of the member who approved the localization. Omitted while it is not approved, and when an API key that is not tied to a member approved it. |
| `approvedAt` | string (date-time) | When the localization was approved, in UTC. Omitted while it is not approved. |
| `lastError` | string | Why Kenso's last attempt to write the localization failed, such as `insufficient_credits`. Omitted when the last attempt did not fail. |
| `modifiedAt` | string (date-time) | When the localization last changed, in UTC. |

### Request

```bash
curl -X PATCH "https://api.ken.so/v1/campaigns/812/localizations/812" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "subjectLine": "string",
  "bodyContent": "string"
}'
```

### Example response

```json
{
  "success": true,
  "data": {
    "id": 812,
    "channel": "email",
    "stepId": 812,
    "stepOrder": 1,
    "variant": "string",
    "language": "fr-FR",
    "subjectLine": "string",
    "bodyContent": "string",
    "status": "string",
    "generating": true,
    "sourceHash": "string",
    "stale": true,
    "packVersion": "string",
    "mirrorLanguage": "string",
    "mirrorSubject": "string",
    "mirrorBody": "string",
    "qaScore": 1,
    "qaReport": {
      "passed": true,
      "errors": [
        {
          "code": "string",
          "message": "string"
        }
      ]
    },
    "editedByHuman": true,
    "approvedByUserId": 812,
    "approvedAt": "2026-09-23T15:02:11Z",
    "lastError": "insufficient_credits",
    "modifiedAt": "2026-09-23T15:02:11Z"
  }
}
```

## Generate a campaign's localizations

`POST /v1/campaigns/{campaignId}/localizations` - operationId `campaign-localizations.generate`

| Permission | Credits | Rate limit |
| --- | --- | --- |
| Campaigns edit | Varies with the request (`translation`) | 4,800 requests a minute per API key |

Queues Kenso to write the campaign's steps in the languages it turns on. Call it after you turn on a language or
change step text. Kenso writes the queued localizations in the background.

The body is optional, for example `{ "languages": ["fr-FR"], "stepIds": [11], "channel": "email" }`. An
absent or empty field means every enabled language, every step and both channels. Kenso writes only active steps
with text. It skips steps built in Studio and LinkedIn connection requests with an AI-written note. For each step
and language:

- With no localization yet, Kenso creates one as a queued draft.
- Kenso queues again a localization that is `stale`, `failed` or `needs_review`, or that it wrote from older step text or an older market pack.
- A current `draft` or `approved` localization, and one already queued, stay as they are.
- Kenso queues again a localization a member edited only when `stepIds` names its step, so a new market pack never replaces a member's text unasked.

The response is `202` with every localization of the campaign, the same list as
`GET /v1/campaigns/{campaignId}/localizations`. A queued localization has `generating` true until Kenso
has written it, so poll the list to follow progress. Each localization Kenso writes costs credits. With no credits
left, the localization ends `failed` with `lastError` set to `insufficient_credits`.

Errors:

- `400 validation_failed` with detail code `no_enabled_languages`: the campaign turns on no language. Set `enabledLanguages` on the campaign first.
- `400 validation_failed` with detail code `language_not_enabled`: a locale in `languages` is not in the campaign's `enabledLanguages`.
- `400 validation_failed` with detail code `unsupported_language`: Kenso has no market pack to write an enabled language with.
- `400 validation_failed` with detail code `step_not_localizable`: a step in `stepIds` is not an active step of the campaign with text to localize.
- `400 validation_failed` with detail code `invalid_value`: `channel` is not `email` or `linkedin`.
- `404 not_found`: the campaign does not exist in this workspace.
- `409 invalid_state` with detail code `localization_disabled`: localization is not turned on for this workspace yet, so Kenso queued nothing.

Requires Campaigns edit.

Needs the `multilingual_outreach` feature on your workspace. Until it is on, calls answer 404.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/campaign-localizations/POST/v1/campaigns/%7BcampaignId%7D/localizations)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `campaignId` | path | integer (int64) | yes | Id of the campaign. |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Request body

`application/json`, optional.

Optional. Which languages, steps and channel to write.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `languages` | array of string | no | Locales to write, such as `fr-FR`. Each must be in the campaign's `enabledLanguages`. |
| `stepIds` | array of integer (int64) | no | Ids of the campaign's email or LinkedIn steps to write. An email and a LinkedIn step can share an id: add `channel` to pick one. Naming a step also queues its localizations that a member edited. |
| `channel` | string | no | Write only one channel's steps: `email` or `linkedin`. Absent means both. |

### Response 202

`data` is a list of `CampaignLocalization`. Each item has these fields. The response also carries `pagination`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | integer (int64) | Id of the localization. An email and a LinkedIn localization of the same campaign can share an id, and `channel` tells them apart. |
| `channel` | string | Channel of the step: `email` or `linkedin`. |
| `stepId` | integer (int64) | Id of the email or LinkedIn step this localization translates. |
| `stepOrder` | integer (int32) | Position of the step in its sequence. |
| `variant` | string | The step's A/B variant, from `a` to `d`. |
| `language` | string | Locale the step is written in, such as `fr-FR`. |
| `subjectLine` | string | The localized subject. Omitted for a LinkedIn localization, and before Kenso has written the text. |
| `bodyContent` | string | The localized body. Omitted before Kenso has written the text. |
| `status` | string | State of the localization: `draft` (written or edited, waiting for approval), `approved` (ready to send to contacts of this language), `stale` (marked out of date after its step changed), `needs_review` (the text failed Kenso's checks, so edit or regenerate it) or `failed` (Kenso could not write it, see `lastError`). |
| `generating` | boolean | True while Kenso has the localization queued to write. Poll until it is false. |
| `sourceHash` | string | A fingerprint of the step text the localization was written from. It changes when the step text changes. |
| `stale` | boolean | True when the localization is marked stale, or was written from older step text or an older market pack. Generate it again. |
| `packVersion` | string | Version of the market pack Kenso wrote the localization with. |
| `mirrorLanguage` | string | Language of `mirrorSubject` and `mirrorBody`, always `en`. Omitted until Kenso has written the text. |
| `mirrorSubject` | string | The localized subject translated back into English, so a reviewer who does not read the language can check it. Omitted for a LinkedIn localization. |
| `mirrorBody` | string | The localized body translated back into English. Omitted until Kenso has written the text. |
| `qaScore` | integer (int32) | The score from 0 to 100 that Kenso's quality reviewer gave the text Kenso wrote. Omitted before the first review. An edit keeps the score of the text before it. |
| `qaReport` | CampaignLocalizationQaReport | Result of the latest checks on the text. Omitted before the first check. |
| `editedByHuman` | boolean | True when a member edited the text. Approval then needs only the rule checks. |
| `approvedByUserId` | integer (int64) | Id of the member who approved the localization. Omitted while it is not approved, and when an API key that is not tied to a member approved it. |
| `approvedAt` | string (date-time) | When the localization was approved, in UTC. Omitted while it is not approved. |
| `lastError` | string | Why Kenso's last attempt to write the localization failed, such as `insufficient_credits`. Omitted when the last attempt did not fail. |
| `modifiedAt` | string (date-time) | When the localization last changed, in UTC. |

### Request

```bash
curl -X POST "https://api.ken.so/v1/campaigns/812/localizations" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "languages": [
    "fr-FR"
  ],
  "stepIds": [
    812
  ],
  "channel": "email"
}'
```

### Example response

```json
{
  "success": true,
  "data": [
    {
      "id": 812,
      "channel": "email",
      "stepId": 812,
      "stepOrder": 1,
      "variant": "string",
      "language": "fr-FR",
      "subjectLine": "string",
      "bodyContent": "string",
      "status": "string",
      "generating": true,
      "sourceHash": "string",
      "stale": true,
      "packVersion": "string",
      "mirrorLanguage": "string",
      "mirrorSubject": "string",
      "mirrorBody": "string",
      "qaScore": 1,
      "qaReport": {
        "passed": true,
        "errors": [
          {
            "code": "string",
            "message": "string"
          }
        ]
      },
      "editedByHuman": true,
      "approvedByUserId": 812,
      "approvedAt": "2026-09-23T15:02:11Z",
      "lastError": "insufficient_credits",
      "modifiedAt": "2026-09-23T15:02:11Z"
    }
  ],
  "pagination": {
    "nextCursor": "eyJpZCI6ODE1fQ",
    "hasMore": true,
    "total": 1,
    "totalCount": 1,
    "isTotalCapped": true
  }
}
```

## Approve a localization

`POST /v1/campaigns/{campaignId}/localizations/{localizationId}/approve` - operationId `campaign-localizations.approve`

| Permission | Rate limit |
| --- | --- |
| Campaigns edit | 4,800 requests a minute per API key |

Approves one localization for sending, so an `auto` campaign sends it to the contacts of that language. Kenso
records the caller and the time.

Kenso approves only a current `draft` that passed its checks: the rule checks passed, and `qaScore`
reached the market pack's threshold. A localization a member edited needs only the rule checks. Read
`qaReport` to see what failed. Send `channel` only when an email and a LinkedIn localization of the
campaign share the id.

Errors:

- `400 validation_failed` with detail code `channel_required`: an email and a LinkedIn localization share this id. Add `channel`.
- `400 validation_failed` with detail code `invalid_value`: `channel` is not `email` or `linkedin`.
- `403 forbidden`: the caller is a workspace key. An approval is a member's decision, and a workspace key is not a person.
- `404 not_found`: the campaign or the localization does not exist in this workspace, or the localization's step was removed.
- `409 localization_generating`: Kenso is writing this localization. Read it again once `generating` is false.
- `409 localization_not_approvable` with detail code `not_draft`, `stale`, `qa_failed` or `score_below_threshold`: the localization is not a current draft that passed its checks. Generate a `stale` one again, and edit or regenerate the others.
- `409 conflict`: the localization changed while Kenso saved the approval. Read it again and retry.

Requires Campaigns edit.

Needs the `multilingual_outreach` feature on your workspace. Until it is on, calls answer 404.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/campaign-localizations/POST/v1/campaigns/%7BcampaignId%7D/localizations/%7BlocalizationId%7D/approve)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `campaignId` | path | integer (int64) | yes | Id of the campaign. |
| `localizationId` | path | integer (int64) | yes | Id of the localization. |
| `channel` | query | string | no | `email` or `linkedin`. Needed only when an email and a LinkedIn localization of the campaign share the id. |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Response 200

`data` is a `CampaignLocalization`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | integer (int64) | Id of the localization. An email and a LinkedIn localization of the same campaign can share an id, and `channel` tells them apart. |
| `channel` | string | Channel of the step: `email` or `linkedin`. |
| `stepId` | integer (int64) | Id of the email or LinkedIn step this localization translates. |
| `stepOrder` | integer (int32) | Position of the step in its sequence. |
| `variant` | string | The step's A/B variant, from `a` to `d`. |
| `language` | string | Locale the step is written in, such as `fr-FR`. |
| `subjectLine` | string | The localized subject. Omitted for a LinkedIn localization, and before Kenso has written the text. |
| `bodyContent` | string | The localized body. Omitted before Kenso has written the text. |
| `status` | string | State of the localization: `draft` (written or edited, waiting for approval), `approved` (ready to send to contacts of this language), `stale` (marked out of date after its step changed), `needs_review` (the text failed Kenso's checks, so edit or regenerate it) or `failed` (Kenso could not write it, see `lastError`). |
| `generating` | boolean | True while Kenso has the localization queued to write. Poll until it is false. |
| `sourceHash` | string | A fingerprint of the step text the localization was written from. It changes when the step text changes. |
| `stale` | boolean | True when the localization is marked stale, or was written from older step text or an older market pack. Generate it again. |
| `packVersion` | string | Version of the market pack Kenso wrote the localization with. |
| `mirrorLanguage` | string | Language of `mirrorSubject` and `mirrorBody`, always `en`. Omitted until Kenso has written the text. |
| `mirrorSubject` | string | The localized subject translated back into English, so a reviewer who does not read the language can check it. Omitted for a LinkedIn localization. |
| `mirrorBody` | string | The localized body translated back into English. Omitted until Kenso has written the text. |
| `qaScore` | integer (int32) | The score from 0 to 100 that Kenso's quality reviewer gave the text Kenso wrote. Omitted before the first review. An edit keeps the score of the text before it. |
| `qaReport` | CampaignLocalizationQaReport | Result of the latest checks on the text. Omitted before the first check. |
| `editedByHuman` | boolean | True when a member edited the text. Approval then needs only the rule checks. |
| `approvedByUserId` | integer (int64) | Id of the member who approved the localization. Omitted while it is not approved, and when an API key that is not tied to a member approved it. |
| `approvedAt` | string (date-time) | When the localization was approved, in UTC. Omitted while it is not approved. |
| `lastError` | string | Why Kenso's last attempt to write the localization failed, such as `insufficient_credits`. Omitted when the last attempt did not fail. |
| `modifiedAt` | string (date-time) | When the localization last changed, in UTC. |

### Request

```bash
curl -X POST "https://api.ken.so/v1/campaigns/812/localizations/812/approve" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID"
```

### Example response

```json
{
  "success": true,
  "data": {
    "id": 812,
    "channel": "email",
    "stepId": 812,
    "stepOrder": 1,
    "variant": "string",
    "language": "fr-FR",
    "subjectLine": "string",
    "bodyContent": "string",
    "status": "string",
    "generating": true,
    "sourceHash": "string",
    "stale": true,
    "packVersion": "string",
    "mirrorLanguage": "string",
    "mirrorSubject": "string",
    "mirrorBody": "string",
    "qaScore": 1,
    "qaReport": {
      "passed": true,
      "errors": [
        {
          "code": "string",
          "message": "string"
        }
      ]
    },
    "editedByHuman": true,
    "approvedByUserId": 812,
    "approvedAt": "2026-09-23T15:02:11Z",
    "lastError": "insufficient_credits",
    "modifiedAt": "2026-09-23T15:02:11Z"
  }
}
```

## Regenerate a localization

`POST /v1/campaigns/{campaignId}/localizations/{localizationId}/regenerate` - operationId `campaign-localizations.regenerate`

| Permission | Credits | Rate limit |
| --- | --- | --- |
| Campaigns edit | Varies with the request (`translation`) | 4,800 requests a minute per API key |

Queues Kenso to write one localization again, optionally with an instruction. Use it when a draft needs changes you
do not want to make by hand.

The body is optional, for example `{ "instruction": "Shorter, and less formal." }`. With an instruction,
Kenso rewrites the current text to follow it. Without one, Kenso writes the localization anew. Both replace text a
member edited. The localization becomes a `draft` at once and loses any approval, so a live campaign stops
sending it until it is approved again. Meanwhile the campaign's `languageFallback` decides what the contacts
of that language get: the source text, or a hold. The response is `202` with the localization, and
`generating` stays true until Kenso has written it. Send `channel` only when an email and a LinkedIn
localization of the campaign share the id.

Errors:

- `400 validation_failed` with detail code `too_long`: `instruction` is longer than 2,000 characters.
- `400 validation_failed` with detail code `language_not_enabled`: the campaign no longer turns on this localization's language.
- `400 validation_failed` with detail code `step_not_localizable`: the step is no longer active or has no text to localize.
- `400 validation_failed` with detail code `unsupported_language`: Kenso has no market pack to write this language with.
- `400 validation_failed` with detail code `channel_required`: an email and a LinkedIn localization share this id. Add `channel`.
- `400 validation_failed` with detail code `invalid_value`: `channel` is not `email` or `linkedin`.
- `404 not_found`: the campaign or the localization does not exist in this workspace, or the localization's step was removed.
- `409 localization_generating`: Kenso already has this localization queued.
- `409 invalid_state` with detail code `localization_disabled`: localization is not turned on for this workspace yet.
- `409 conflict`: the localization changed while Kenso saved the request. Read it again and retry.

Requires Campaigns edit.

Needs the `multilingual_outreach` feature on your workspace. Until it is on, calls answer 404.

[Try it on developer.ken.so](https://developer.ken.so/reference/#kenso-api/tag/campaign-localizations/POST/v1/campaigns/%7BcampaignId%7D/localizations/%7BlocalizationId%7D/regenerate)

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `campaignId` | path | integer (int64) | yes | Id of the campaign. |
| `localizationId` | path | integer (int64) | yes | Id of the localization. |
| `channel` | query | string | no | `email` or `linkedin`. Needed only when an email and a LinkedIn localization of the campaign share the id. |
| `Ken-Version` | header | string, one of: 2026-11-02, 1.1 | no | The API version, a date in `YYYY-MM-DD` form. `1.1` is another name for the first dated version. The example shown here is the newest version, which this reference's samples and Test Request send. Leave it out to use your API key's pinned version. Keys created in the Kenso app are pinned to the newest version; keys minted by the CLI login are not. A key with no pinned version and no header gets the legacy shape where the path has one, and `404` where the path exists only in this version. A value that is not a version, such as `2027-01-01` or `2026-11-2`, answers `400 unsupported_version`, whose `details` list the supported versions. |
| `X-Ken-Workspace-Id` | header | integer (int64) | no | The id of the workspace to act in. Leave it out when your API key reaches only one workspace. When the key reaches more than one, a request without this header answers `400 workspace_required`. A workspace you are not a member of answers `404 not_found`. |

### Request body

`application/json`, optional.

Optional. An instruction for the new text.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `instruction` | string | no | What to change, in a sentence or two, such as `Shorter, and less formal.` Up to 2,000 characters. Absent writes the localization anew. |

### Response 202

`data` is a `CampaignLocalization`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | integer (int64) | Id of the localization. An email and a LinkedIn localization of the same campaign can share an id, and `channel` tells them apart. |
| `channel` | string | Channel of the step: `email` or `linkedin`. |
| `stepId` | integer (int64) | Id of the email or LinkedIn step this localization translates. |
| `stepOrder` | integer (int32) | Position of the step in its sequence. |
| `variant` | string | The step's A/B variant, from `a` to `d`. |
| `language` | string | Locale the step is written in, such as `fr-FR`. |
| `subjectLine` | string | The localized subject. Omitted for a LinkedIn localization, and before Kenso has written the text. |
| `bodyContent` | string | The localized body. Omitted before Kenso has written the text. |
| `status` | string | State of the localization: `draft` (written or edited, waiting for approval), `approved` (ready to send to contacts of this language), `stale` (marked out of date after its step changed), `needs_review` (the text failed Kenso's checks, so edit or regenerate it) or `failed` (Kenso could not write it, see `lastError`). |
| `generating` | boolean | True while Kenso has the localization queued to write. Poll until it is false. |
| `sourceHash` | string | A fingerprint of the step text the localization was written from. It changes when the step text changes. |
| `stale` | boolean | True when the localization is marked stale, or was written from older step text or an older market pack. Generate it again. |
| `packVersion` | string | Version of the market pack Kenso wrote the localization with. |
| `mirrorLanguage` | string | Language of `mirrorSubject` and `mirrorBody`, always `en`. Omitted until Kenso has written the text. |
| `mirrorSubject` | string | The localized subject translated back into English, so a reviewer who does not read the language can check it. Omitted for a LinkedIn localization. |
| `mirrorBody` | string | The localized body translated back into English. Omitted until Kenso has written the text. |
| `qaScore` | integer (int32) | The score from 0 to 100 that Kenso's quality reviewer gave the text Kenso wrote. Omitted before the first review. An edit keeps the score of the text before it. |
| `qaReport` | CampaignLocalizationQaReport | Result of the latest checks on the text. Omitted before the first check. |
| `editedByHuman` | boolean | True when a member edited the text. Approval then needs only the rule checks. |
| `approvedByUserId` | integer (int64) | Id of the member who approved the localization. Omitted while it is not approved, and when an API key that is not tied to a member approved it. |
| `approvedAt` | string (date-time) | When the localization was approved, in UTC. Omitted while it is not approved. |
| `lastError` | string | Why Kenso's last attempt to write the localization failed, such as `insufficient_credits`. Omitted when the last attempt did not fail. |
| `modifiedAt` | string (date-time) | When the localization last changed, in UTC. |

### Request

```bash
curl -X POST "https://api.ken.so/v1/campaigns/812/localizations/812/regenerate" \
  -H "Authorization: Bearer $KENSO_API_KEY" \
  -H "Ken-Version: 2026-11-02" \
  -H "X-Ken-Workspace-Id: $KENSO_WORKSPACE_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "instruction": "string"
}'
```

### Example response

```json
{
  "success": true,
  "data": {
    "id": 812,
    "channel": "email",
    "stepId": 812,
    "stepOrder": 1,
    "variant": "string",
    "language": "fr-FR",
    "subjectLine": "string",
    "bodyContent": "string",
    "status": "string",
    "generating": true,
    "sourceHash": "string",
    "stale": true,
    "packVersion": "string",
    "mirrorLanguage": "string",
    "mirrorSubject": "string",
    "mirrorBody": "string",
    "qaScore": 1,
    "qaReport": {
      "passed": true,
      "errors": [
        {
          "code": "string",
          "message": "string"
        }
      ]
    },
    "editedByHuman": true,
    "approvedByUserId": 812,
    "approvedAt": "2026-09-23T15:02:11Z",
    "lastError": "insufficient_credits",
    "modifiedAt": "2026-09-23T15:02:11Z"
  }
}
```

## Types

Each named type the tables above use, nested ones included.

### CampaignLocalizationQaReport

The checks Kenso ran on a localization's text.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `passed` | boolean | no | True when the text passed every check. |
| `errors` | array of CampaignLocalizationQaError | no | What failed: the rule findings first, then the quality reviewer's findings with the code `judge`. |

### CampaignLocalizationQaError

One finding of the checks on a localization.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | string | no | The check that failed. A finding from Kenso's quality reviewer has the code `judge`. |
| `message` | string | no | What is wrong, in plain words. |

All resources: [/docs.md](/docs.md).
