---
title: "POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/"
method: POST
path: "/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/"
---

# POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/

`POST /bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/`

Builds a bot, its intents, and its slot types into a specific locale. A bot can be built into multiple locales. At runtime the locale is used to choose a specific build of the bot.

## Path parameters

- `botId` string, required
- `botVersion` string, required
- `localeId` string, required

## Response `202`

Success

- BuildBotLocaleResponse
  - `botId` string — The identifier of the specified bot.
  - `botVersion` string — The version of the bot that was built. This is only the draft version of the bot.
  - `localeId` string — The language and locale specified of where the bot can be used.
  - `botLocaleStatus` 'Creating' | 'Building' | 'Built' | 'ReadyExpressTesting' | 'Failed' | 'Deleting' | 'NotBuilt' | 'Importing' | 'Processing' — The bot's build status. When the status is <code>ReadyExpressTesting</code> you can test the bot using the utterances defined for the intents and slot types. When the status is <code>Built</code>, the bot is ready for use and can be tested using any utterance.
  - `lastBuildSubmittedDateTime` string, date-time — A timestamp indicating the date and time that the bot was last built for this locale.

## Other responses

- `480` — ThrottlingException
- `481` — ServiceQuotaExceededException
- `482` — ValidationException
- `483` — PreconditionFailedException
- `484` — ConflictException
- `485` — InternalServerException

---

[API](https://skmtc.net/aws/apis/models-lex-v2.md) · [All operations](https://skmtc.net/aws/apis/models-lex-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/models-lex-v2/versions/4ee1a1257ae7/schema)
