v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1471501483.8 KB

Gets a list of locales for the specified bot.

post/bots/{botId}/botversions/{botVersion}/botlocales/

Path parameters

botIdstring required

The identifier of the bot to list locales for.

botVersionstring required

The version of the bot to list locales for.

Query parameters

maxResultsstring

Pagination limit

nextTokenstring

Pagination token

Request body

maxResultsinteger

The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

nextTokenstring

If the response from the <code>ListBotLocales</code> operation contains more results than specified in the <code>maxResults</code> parameter, a token is returned in the response. Use that token as the <code>nextToken</code> parameter to return the next page of results.

Response

Success

botIdstring

The identifier of the bot to list locales for.

botVersionstring

The version of the bot.

nextTokenstring

A token that indicates whether there are more results to return in a response to the <code>ListBotLocales</code> operation. If the <code>nextToken</code> field is present, you send the contents as the <code>nextToken</code> parameter of a <code>ListBotLocales</code> operation request to get the next page of results.